docblockr: Not triggering on /** in javascript.
I just installed the docblockr plugin and restarted atom.
Creating a new file with this contents:
function hello(name) {
alert('Hello ' + name);
}
And then typing in /** on the line above the function statement only inserts the default snippet from atom.
/**
* [cursor]
*/
function hello(name) {
alert('Hello ' + name);
}
My environment:
$ apm -v
atom 1.0.7
apm 1.0.1
npm 2.5.1
node 0.10.35
python 2.7.10
git 1.9.5.github.0
visual studio 2010
Should I somehow disable the default behaviour? It seems like the plugin is working somewhat at least since pressing enter inside of a jsdoc comment autmatically inserts the leading *.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (1 by maintainers)
@dpkshrma Your problem is probably occurring because one of these reasons:
Simple ModeI don’t want to reopen this issue, because it described a problem that occurred due to new snippets in Atoms core packages and this problem is fixed. If none of the described reasons applies or you need further help, please open a new issue.
This was fixed with #189. In version 0.7.4 it shouldn’t happen anymore. @nikhilkalige can you please close this issue?