Hi,
Is there a shortcut to enter a new line along with an end of line character? For example in c++, is there any way to enter a new line and a ‘;’ at the same time. Or for python, ‘:’?
thanks!
Hi,
Is there a shortcut to enter a new line along with an end of line character? For example in c++, is there any way to enter a new line and a ‘;’ at the same time. Or for python, ‘:’?
thanks!
There isn’t a way to do this out of the box, although you could do it with a macro (Take a look at Packages/Default/Add Line.sublime-macro for example, which is bound to command+enter or ctrl+enter depending on platform).
Figured I could do a macro, but thought it would be built in. Amazing how much I got used to it from textmate and slickedit. I’ll take a look. thanks!