Jump to content

sublime tips & tricks


bernhard
 Share

Recommended Posts

yesterday i found out a very nice feature of sublime called "code folding". maybe it's not new for some of you, but it was for me and makes working a lot more comfortable. you can fold your code depending on levels:

CTRL + K, then CTRL + 2 will fold on level 2:

post-2137-0-45230100-1464517672_thumb.pn

when you have your cursor inside a method, it will stay expanded. you can then fold your method on level 3:

CTRL + K, then CTRL + 3:

post-2137-0-26429800-1464517673_thumb.pn

that's really nice. you can also find it in the menu under edit > code folding

another great feature of sublime is multicursor. i guess most of sublime users know that...

so i thought i start a new topic where we can share nice tipps and tricks for sublime and the work with processwire :) do you have any?

ps:

https://processwire.com/talk/topic/4203-sublime-text-2-snippets-for-processwire/

https://processwire.com/talk/topic/1888-sublime-text-2-course/

  • Like 3
Link to comment
Share on other sites

Two of my favorite keyboard shortcuts so far in Sublime Text are:

  • ⌘ + D: Select word - Repeat to select next occurrence
  • ⌃ + ⇧ + W: Wrap Selection in html tag (or ⌃ + W for choosing the html tag)

Of course there are much more.

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...