Sublime Features
Table of Contents
Sublime documentation: http://www.sublimetext.com/docs/3/
Settings for sublime
Remote FTP/SFTP with Sublime
Main Reference: https://medium.com/@daniwhkim/remote-ftp-sftp-with-sublime-de7d71a2b400
More information about sftp for sublime: https://codexns.io/products/sftp_for_sublime/features
How to set auto-complete sinppet
Reference: https://jdhao.github.io/2018/03/28/sublime-cpp-build-system/#code-snippet
- Go to
Tools>Developer>New Snippet
- Update the content with following
<snippet> <content><![CDATA[ std::cout << ${1} << std::endl; ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <!-- <tabTrigger>hello</tabTrigger> --> <tabTrigger>cout</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <!-- <scope>source.python</scope> --> <scope>source.c++</scope> <decription>Insert a cout with newline</decription> </snippet>
- Save this with filename as
cout_oneline.sublime-snippet
. - Now whenever you start writing
cout
the above given line will appear as one of options.
Auto-Writing DoxyGen Style comments
Reference: https://github.com/spadgos/sublime-jsdocs
Sublime Linter
Reference:
- https://sublimelinter.readthedocs.io/en/stable/installation.html
- https://github.com/SublimeLinter/SublimeLinter-pylint
Tricks for quick writing
Some shortcuts
- Jump between matching brackets:
CTRL+M
. For this you need to installEasyMotion
package. - Select text between matching brackets:
CTRL+SHIFT+M
- Select text between matching quotes:
CTRL+'
- For this to work one need to install the packege named
Expand Selection to Quotes
. link - Multi-cursor on all the lines of selected region:
COMMAND+SHIFT+L
- Select multiple occurrence of same word:
COMMANd+D
- Mark a line:
CRTL+SHIFT+R
- Sublime keyboard short-cuts: link
Select Multiple Lines, Words, & Columns
Some Important packages for Sublime
Enjoy Reading This Article?
Here are some more articles you might like to read next: