ST3 and Node.js
I'm still having problems getting Node.js auto completions to work in Sublime Text 3. From my understanding, this is supported out of the box. I could be wrong on that.
Anyway, I have tried updating my ~/.codeintel/config file to include the path to my node binary (/usr/bin/node) and this did not work either.
Am I missing something? Why is it when I try
var fs = require('fs');
fs.
nothing appears after the dot?
:+1:
I get :
INFO:codeintel:resolve 'rootRequire()' type inference for <Element 'variable' at 0x107639500>:
INFO:codeintel:find 'rootRequire' starting at (<Element 'scope' at 0x107639050>, [])
INFO:codeintel:is 'rootRequire' accessible on (<Element 'scope' at 0x107639050>, [])? no
INFO:codeintel:is 'rootRequire' accessible on (<Element 'scope' at 0x1087068c0>, [])? no
INFO:codeintel:is 'rootRequire' accessible on (<Element 'scope' at 0x1087068c0>, ['Window'])? no
INFO:codeintel:lookup 'rootRequire' in <JavaScript extradirslib>
INFO:codeintel:lookup 'rootRequire' in <JavaScript cataloglib: jQuery>
INFO:codeintel:lookup 'rootRequire' in
and I cannot see anything after the dot..
Exact same thing here
Same issue here.
Same issue here too..
I'm also seeing this :-/
duplicate of #354 in lack of Node support
The entire JavaScript language is being rewritten by the Komodo Edit team. Most likely many bugs will be fixed when it's done.
it has been nearly one year, seems that the issue have not been fixed!
Anyone has any news or work around for this? :(
Could you please check if the issue is still present in the oop version of SublimeCodeIntel (v3.0)? It is much more stable and also faster.
Installing newest (oop) SublimeCodeIntel: http://kronuz.io/using-sublimecodeintel-v30.html
+1
In windows enviroment seems work but in OXs not work.
Same issue here
same.
+1
+1
+1
+1
+1
I'm having the same issue. The configuration method i tried is different that yours though. In Sublime Text 3 menu, I went Preferences > Package Settings > SublimeCodeIntel > Settings - User.
This file was empty, I added the following content into the file:
{
"NodeJS": {
"node": "/home/aezo/.nvm/versions/node/v4.0.0/bin/node",
"nodejsExtraPaths": [ ],
}
}
The file saves sucessfully, with the message, "reloading settings Packages/User/SublimeCodeIntel.sublime-settings" being printed in the console. But still the autocomplete doesn't work for:
var fs = require('fs');
var reader = fs.
I also tried with these settings:
{
"NodeJS": {
"nodejs":"/home/aezo/.nvm/versions/node/v4.0.0/bin/node",
"nodejsExtraPaths": [],
}
}
The settings are saved successfully with the message, "reloading settings Packages/User/SublimeCodeIntel.sublime-settings". Restarted sublime, but still the autocomplete doesn't work.
+1
+1
+1
+1
I'm rewriting ECMAScript support, I'll make it available with SublimeCodeIntel 3, as part of the CodeIntel package
+1