“Sublime Text Power User” notes
1. Preamble ¶
All comments on this (alternate link) version of the book «Sublime Text Power User», bold numbers — numbers of pages your book. Possibly, some 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.
Thanks for your 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 ¶
- Open the console by hitting the key combination Ctrl + \
Now by default Ctrl+`.
1.3. 16 ¶
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) solely for OSX users, see unofficial documentation, but in the book of 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 solely 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. Is necessary 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 ... .
1.9. 80 ¶
If you are having trouble finding the scope, an easy way to find it open your packages folder Preferences→Browse Packages...and find the folder associated with your language. Inside of that folder will be a .tmLanguagefile.
- Now use sublime-syntax files.
- Not all folders programming languages on the path Preferences → Browse Packages… .
1.10. 84 ¶
Now Ctrl+G is Goto Line… .
1.11. 92 ¶
Empty section «Moving Lines and Code Blocks»
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 press the spacebar, Sublime Text remove p tag.
1.15. 95 ¶
Ctrl+↑/↓ on Windows is jump to the beginning/end of word, not line.
1.16. 96 ¶
All hotkeys in this image is not work for me.
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 ¶
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 in 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 ¶
Wrong example, see forum thread .
1.21. 142 ¶
Sublimerge 3 — paid plugin, I believe that you need to specify it in the book.
1.22. 143 ¶
Hotkeys not work for me.
1.23. 154 ¶
Not c#badda55.3, correct is c#badda5.3. Emmet still the right color, but do not result in the book of wrong 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 ¶
Dosksend specify 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 ¶
Author of CSS3_Syntax package replaced name to CSS3.
1.33. 189 ¶
Pretty JSON does not work with files that contain comments. This is a serious drawback, it 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:
To make as at you on the picture, it necessary to add in the file MarkdownTOC → Settings - User line { "default_bracket": "round", } .
1.35. 198 ¶
SublimeTODO plugin wasn't updated long ago, TODO Review is modern plugin.
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 for Windows is Ctrl+Shift+/, Alt is not used.
1.37. 201 ¶
You have not written, how to call Fullscreen Mode; I think, you need to specify the hot keys — Shift+F11.