“Sublime Text Power User” notes

Page loading, please, little wait
Version
Posted —
Last modified —
  1. Preamble
    1. 13
    2. 14
    3. 16
    4. 45
    5. 50
    6. 52
    7. 68
    8. 77
    9. 80
    10. 84
    11. 92
    12. 94
    13. 94
    14. 95
    15. 95
    16. 96
    17. 103
    18. 104
    19. 108
    20. 128
    21. 142
    22. 143
    23. 154
    24. 155
    25. 158
    26. 161
    27. 165
    28. 175
    29. 176
    30. 180
    31. 180
    32. 183
    33. 189
    34. 197
    35. 198
    36. 200
    37. 201

1. Preamble

All comments on this (alternate link) version of the book «Sublime Text Power User», bold numbers — numbers of pages your book. I admit that many of my notes are not your mistakes and typos, and I do not understand something, or affect my poor knowledge of the English language, but I beg to review my notes. Please ask me for clarification if you do not understand the phrase in my bad English. I use Windows 10 Education, Sublime Text 3 Build 3114 and all my notes belong to Windows.

Many thanks for your huge work on writing of the book! Sincerely, leader in Sublime Text tag rating on Russian Stack Overflow, Sasha Chernykh.

1.1. 13

I think we can talk about the final transition from Sublime Text 2 to 3.

1.2. 14

  1. Open the console by hitting the key combination Ctrl + \

Now by default Ctrl+`.

1.3. 16

Alt attribute fish

If to use Portable version, it isn't necessary to specify %APPDATA% .

1.4. 45

On https://johnblackbourn.com/sublimecodeintel-st3 page now reccomend CodeComplice use, but for me CodeComplice is some bugs and undesirable behavior, example.

1.5. 50

-(std in) only for OSX users, see unofficial documentation, but in the book of it it isn't specified.

1.6. 52

-aor --add: Add the current file or folder to the active/last used sublime text window

This command is only for folders, but not for files, see unofficial documentation . subl -a ExampleFolder add folder ExampleFolder in current window, subl ExampleFolder in new window. But subl -a test.txt = subl test.txt, both of these commands open a test.txt file in a new tab of the active window. The example below is also incorrect.

1.7. 68

This method does not work for me. It is necessary, or hold down the middle mouse button or Ctrl+Alt+↓/↑ . See forum thread.

1.8. 77

go to Tools—►New snippet ...

In the Tools menu there is no point New snippet ... .

Alt attribute fish

1.9. 80

If you are having trouble finding the scope, an easy way to find it is to open your packages folder PreferencesBrowse Packages...and find the folder associated with your language. Inside of that folder will be a .tmLanguagefile.

  1. Now use sublime-syntax files.
  2. Not all folders programming languages can be found on the path PreferencesBrowse Packages... .

1.10. 84

Now Ctrl+G is Goto Line... .

1.11. 92

Empty section «Moving Lines and Code Blocks»

Alt attribute fish

1.12. 94

Using Ctrl+Kwithout the shift key will delete from the caret to the end of the current line.

Using Ctrl+K, Ctrl+K .

1.13. 94

On Windows forward delete words-by-words is Ctrl+Delete .

1.14. 95

Just press space and keep typing!

If you only press the spacebar, p tag was removed.

1.15. 95

Ctrl+↑/↓ on Windows is jump to the beginning/end of word, not line.

Alt attribute fish

1.16. 96

All hotkeys in this image is not work for me.

Alt attribute fish

1.17. 103

(Windows users use Ctrl+Shift)

Windows users use Ctrl+Shift+[ .

1.18. 104

The keyboard shortcut for this is a little different. We need to hold down (Ctrlon Windows/Linux) and then tap K. Not working on Windows.

1.19. 108

Alt attribute fish

I think that once you have a slash at the beginning. Not "path": "/Volumes/Macintosh HD/wesbos/Dropbox/0185-book", correct is "path": "Volumes/Macintosh HD/wesbos/Dropbox/0185-book" . For example, I have User folder, when is situated my sublime-project file and folder Dictionary . If I want to specify the path to the folder Dictionary, I must point "Dictionaries" or "./Dictionaries" or "../User/Dictionaries", But I do not understand how to specify the relative path with a slash at the beginning of.

1.20. 128

Incorrect example, see forum thread .

1.21. 142

Sublimerge 3 — paid plugin, I believe that it is necessary to specify in the book.

1.22. 143

Alt attribute fish

Hotkeys not work for me.

1.23. 154

Not c#badda55.3, correct is c#badda5.3 . Emmet still indicate the right color, but in my opinion, do not result in the book of incorrect examples.

1.24. 155

Now Ctrl+Shift+G, not Ctrl+W by default.

1.25. 158

Now Ctrl+', not Ctrl+Shift+D by default.

1.26. 161

Now Ctrl+Alt+J, not Ctrl+Shift+T by default.

1.27. 165

Now View in SublimeServer, not View This File in the Browser .

1.28. 175

Transmit Dosksend only for Sublime Text 2 and OSX .

1.29. 176

Bower need Git for Windows users.

1.30. 180

«mode at a language»

1.31. 180

You can also turn on Vintage mode at a langauge level by adding "ignored_packages": []to your language specific settings file — more on this in the settings section. Where is settings section?

1.32. 183

Package CSS3 Syntax has been replaced by CSS3 .

1.33. 189

Pretty JSON does not work with files that contain comments. This is a serious drawback, in my opinion it is necessary to mention in the book.

1.34. 197

By default in TOC will be [about] and [growing-up], not (#about) and (#growing-up), see gif:

Alt attribute fish

To make as at you on the picture, it is necessary to add in the file MarkdownTOCSettings - User line { "default_bracket": "round", } .

1.35. 198

SublimeTODO plugin wasn't updated long ago, TODO Review is recommended to use.

1.36. 200

If the language supports block commenting, add in option/altinto the mix to block comment multiple lines of selected code.

Multi-line comments are added to the Windows hotkey Ctrl+Shift+/, Alt is not used.

1.37. 201

You have not written, how to call Fullscreen Mode, in my opinion, you need to specify the hot keys — Shift+F11.