Skip to content

Instantly share code, notes, and snippets.

@vovs03
Last active March 1, 2018 15:30
Show Gist options
  • Save vovs03/5838f386ae8d95db56482ae295048c49 to your computer and use it in GitHub Desktop.
Save vovs03/5838f386ae8d95db56482ae295048c49 to your computer and use it in GitHub Desktop.
Sublime Text 3 environment

Gets from Gambala

Настраиваем Sublime Text для работы

Стек:

  • Ruby on Rails;
  • Slim, Sass, CoffeeScript;
  • ES6, JSX, React;
  • Git;

Плагины

  • A File Icon [x]
  • All Autocomplete
  • ApplySyntax
  • AutoFileName
  • Babel
  • Better CoffeeScript
  • BracketHighlighter
  • Case Conversion
  • CoffeeComplete Plus (Autocompletion)
  • Dracula Color Scheme
  • Easy Motion
  • Emmet
  • Emmet Css Snippets
  • ERB Snippets
  • ESLint
  • GitGutter
  • Guard
  • GutterColor
  • Haml
  • HTML5
  • Increment Selection
  • INI
  • Invert Selection
  • Jump Along Indent
  • Markdown Preview
  • Package Control
  • PackageResourceViewer
  • Pug
  • SublimeLinter-contrib-pug-lint
  • PyV8
  • Sass
  • SASS Snippets
  • SassBeautify
  • SCSS
  • SCSS Snippets
  • SideBarEnhancements
  • Sublime Tutor
  • sublime-gem-browser
  • SublimeERB
  • SublimeLinter
  • SublimeLinter-coffeelint
  • SublimeLinter-rubocop
  • SublimeLinter-ruby
  • SublimeLinter-slim-lint
  • SyncedSideBar
  • SyntaxManager
  • Theme - Soda
  • TrailingSpaces

Насчет sublime-gem-browser

Гем нужен для быстрого хождения по гемам, используемым в проекте. Например так: Ctrl+Shift+P → "gemlist" → Enter → "kaminari" → Enter → Open gem in new window. Оригинал плагина с 2014-го года не поддерживается, поэтому ставим не через Package Control, а вручную:

  1. Скачиваем плагин к себе: Либо клонируем репозиторий: https://github.com/leonid-shevtsov/sublime-gem-browser Либо качаем в архиве отсюда: sublime-gem-browser.zip
  2. Открываем в саблайме Preferences → Browse Packages
  3. Кидаем туда папку из архива.

user/.config/sublime-text-3/Packages copy here: sublime-gem-browser

Конфиги

Меняем в Preferences → Settings:

{
    "always_show_minimap_viewport": true,
    "animation_enabled": true,
    "atomic_save": false,
    "bold_folder_labels": true,
    "caret_style": "phase",
    "close_windows_when_empty": true,
    "color_scheme": "Packages/User/SublimeLinter/Dracula (SL).tmTheme",
    "default_encoding": "UTF-8",
    "detect_indentation": false,
    "detect_slow_plugins": false,
    "draw_minimap_border": true,
    "enable_tab_scrolling": false,
    "ensure_newline_at_eof_on_save": true,
    "fade_fold_buttons": false,
    "fold_buttons": true,
    "folder_exclude_patterns":
    [
        ".hg",
        ".svn",
        "CVS"
    ],
    "font_options":
    [
        "subpixel_antialias",
        "gdi"
    ],
    "font_face": "Bitstream Vera Sans Mono",
    "font_size": 10,
    "highlight_line": false,
    "highlight_modified_tabs": true,
    "hot_exit": false,
    "indent_guide_options":
    [
        "draw_active",
        "draw_normal"
    ],
    "line_padding_bottom": 1,
    "line_padding_top": 0,
    "margin": 0,
    "match_brackets_angle": true,
    "move_to_limit_on_up_down": true,
    "overlay_scroll_bars": "enabled",
    "remember_open_files": false,
    "reveal-on-activate": true,
    "show_encoding": true,
    "show_line_endings": true,
    "show_tab_close_buttons": false,
    "soda_classic_tabs": true,
    "tab_size": 2,
    "theme": "Soda Dark 3.sublime-theme",
    "translate_tabs_to_spaces": true,
    "tree_animation_enabled": true,
    "trim_trailing_white_space_on_save": true,
    "update_check": false,
    "word_separators": "./\\()\"'-_:,.;<>~!@#$%^&*|+=[]{}`~?"
}
@vovs03
Copy link
Author

vovs03 commented Feb 27, 2018

Pug

Sublime Text 3 plugins

Pug

v 1.0.1
https://github.com/davidrios/pug-tmbundle

SublimeLinter-contrib-pug-lint

v 1.1.1
https://github.com/benedfit/SublimeLinter-contrib-pug-lint

Date: 2018-02-28
Time: 00:58

@vovs03
Copy link
Author

vovs03 commented Mar 1, 2018

  • HTML5
  • LiveReload (Нужно делать чётко по инструкции плагина в ридми проекта )
  • LiveStyle

Date: 2018-03-01
Time: 18:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment