O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Próximos SlideShares
Sublime
Sublime
Carregando em…3
×
1 de 12

Time saving Tips for Sublime Text

12

Compartilhar

Baixar para ler offline

Some keyboard shortcuts and tips which helps every programmer to use Sublime text effectively.

Time saving Tips for Sublime Text

  1. 1. Time saving tips for Sublime Text Sudip Kafle CTO and Cofounder Phunka Technologies
  2. 2. “Know the true value of time; snatch, seize, and enjoy every moment of it. No idleness, no delay, no procrastination; never put off till tomorrow what you can do today” - Earl of Chesterfield
  3. 3. Launching sublime Text from Terminal 1. Instead of using sublime-text-2 create better alias. ○ # alias subl="sublime-text-2 &" ○ # subl 2. Opening folder from Terminal ○ # subl . &
  4. 4. Multiple Cursors / Incremental search 1. Place Multiple Cursors ○ CTRL + click - Places new cursor at the location ○ CTRL + D - Select the next instance of the word and place cursor ○ ALT + F3 - Select all instances of the word and place cursor 2. Better Replacement for CTRL + F and CTRL + H ○ CTRL + I - Makes faster replacing 3. Column Select ○ CTRL + SHIFT + RIGHT Click
  5. 5. More commands 1. Delete Line : CTRL+X 2. For UpperCase - Ctrl + K, Ctrl + U 3. For Lowercase - .... WTF??????? Better Option (Command Pallete) 1. SHIFT + CTRL + P - Opens command Pallete a. Features Fuzzy searching b. Entire Menu Bar commands available
  6. 6. Better Searching 1. CTRL + P - Search For files a. : Goto A particular line (CTRL + G) b. @ Find particular module (CTRL+R) c. # Goto particular word (CTRL+;) views.py@create_user views.py:123
  7. 7. Package Control 1. A very Powerful tool to download packages a. Goto http://wbond.net/sublime_packages/package_control b. Open Sublime Command Palette CTRL+ ~ and paste 2. Try some of the packages yourself a. PEP8 lint.
  8. 8. Snippets 1. Automatically create structure of some statements a. Particularly useful in languages you are less familiar with. b. Try creating a function for JavaScript 2. You can also create your own snippets. a. Try it yourself (Available on Video Tutorial)
  9. 9. Emmet Coding 1. Package named Emmet in Sublime 2. Great package for HTML and CSS users 3. e.g. div.main press Tab 4. Explore it yourself Other plugins ->Advanced new file Super+Alt+n / ctrl+alt+n
  10. 10. Suggestions
  11. 11. Sources: https://tutsplus.com/course/improve-workflow-in-sublime-text-2/ https://sublimetextapi.readthedocs. org/en/latest/reference/keyboard_shortcuts_win.html
  12. 12. Illam Jhapa Panchthar Taplejung Bhojpur Dhankuta Morang Sunsari Sankhuwa Terhathum Khotang Okhaldhun ga Saptari Siraha Solukhumb u

×