Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text: prevent new line comment

I am not completely sure if this not a plugin, but after starting a line comment in .js file, for example, when I hit enter the next line starts with "//" as well. This is kind of annoying. Is there a simple way to remove this?

like image 897
samuel.molinski Avatar asked Feb 10 '14 17:02

samuel.molinski


1 Answers

In "Preferences -> Package Settings -> Doc Blockr -> Settings Default" you can find lines:

// If true, then pressing enter while in a double-slash comment (like this one) // will automatically add two slashes to the next line as well

"jsdocs_extend_double_slash": true,

If you want to disable this behavior go to "Preferences -> Package Settings -> Doc Blockr -> Settings Default" and add

{
  "jsdocs_extend_double_slash": false
}
like image 65
dmpol18 Avatar answered Sep 28 '22 00:09

dmpol18