sublime-jsdocs
sublime-jsdocs copied to clipboard
es6 methods not working
i see that #283 was supposed to have closed this but this is still not working for me at least ..
class Foo {
constructor(){
}
/** <TAB HERE>
test(a,b){
}
creates:
class Foo {
constructor(){
}
/**
* @param {[type]}
* @param {[type]}
* @return {[type]}
*/
test(a,b){
}
This is working for me.
What is the syntax highlighting settings for that file?
+1 since I also saw this issue. It was generating:
/**
* @method test
* @param {[type]}
* @return {[type]}
*/
But then I saw @spadgos's formatting is Javascript (Babel) so I enabled that and then it worked fine. Try it, @matthiasg?
Same for me - doesn't work for JavaScript Next
, works for JavaScript (Babel)
.