I use Sublime Text 3, Atom.io, and Bracket.io as previous editors.
I am also really enjoying the new Visual Studio Code Editor for Mac.
Are there any code commen
As of today, and release v1.1 there are not, however it is a highly voted feature. I would vote for this feature if you would find it useful, @mattferderer has posted the feature-links you should add your votes to. Until then, there are 2 plugins that work very well well used together:
Document This (ext install docthis
) will generate JsDoc style comments for many JsDoc style annotations. Use command Ctrl + Alt + D
on or inside of where you want to generate documentation.
This works well with the plugin "Complete JsDoc Tags"
Complete JsDoc Tags (ext install JSDocTagComplete
) Provides code completion for most JsDoc style annotations using Ctrl + space
.
Using these 2 plugins together works really efficiently. DocThis gives the initial generated comment with Ctrl + Alt + D
, and can then use ctrl + space
to add specific JsDoc annotations DocThis doesn't see/generate.
I didn't find the plugin "Add JsDoc Comments" @mattferderer mentions to be very useful. It only provides you with a @param
and @return
tag and nothing else...