You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// x.jsclassX{/** * Ctor * * @return {void} Nothing */constructor(){this.e=1;}/** * Test * * @param {int} a Number * * @return {int} Returned number */x(a){return2*a;}}module.exports=X;
If doc_comment plugin is disabled, the completions work correctly.
If I enable it (either by setting "doc_comment": {} or by removing it completely), however, the completions stop working for x variable. They still work correctly for static functions, classes, and so on; just not for classes' member functions.
There are no errors in the console, and I'm not quite sure how to debug it.
I'm using an up-to-date Arch Linux and ST nightly build 3142.
I'm not quite sure if this is tern or tern_for_sublime issue, but I haven't used tern outside of sublime at all.
The text was updated successfully, but these errors were encountered:
My
~/.tern-project
:My sublime tern config:
Consider the following code:
And
If
doc_comment
plugin is disabled, the completions work correctly.If I enable it (either by setting
"doc_comment": {}
or by removing it completely), however, the completions stop working forx
variable. They still work correctly for static functions, classes, and so on; just not for classes' member functions.There are no errors in the console, and I'm not quite sure how to debug it.
I'm using an up-to-date Arch Linux and ST nightly build 3142.
I'm not quite sure if this is
tern
ortern_for_sublime
issue, but I haven't used tern outside of sublime at all.The text was updated successfully, but these errors were encountered: