Sublime Forum

Comment inserted automatically on new line

#1

// some comment | (<cursor)

If I press enter there, it will prefix // on the next line, I don’t like this behavior, I mostly comment then add code, and now I always have to remove the //

0 Likes

#2

Sublime does not do this IIRC, but the package DocBlockr does. Configure it to not do it, or press ctrl+enter.

    { "keys": ["ctrl+enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"} },
2 Likes

#3

Good point, I still had DocBlockr

0 Likes