Reputation: 1
When I put a variable in const, I simply don't get much code assist from IntelliJ with nodejs plugin. But if I change it to var, I instantly get it. As a newbie nodejs player, the course I take, he uses const almost always, and in his Visual Studio IDE, he gets code assist just fine.
The question about it is not precise, as I don't know if he is using const wrong, and IntelliJ is being smart about hiding methods in code assist, or if it's the other way around.
And yes, I've made sure IntelliJ is set up as it should, using Node.js core as library in files, and packages are listed under 'Languages & Frameworks -> Node.js and NPM'. Even installed WebStorm just to check, was just sheer luck I stumbled upon changing const to var, don't remember how I thought about that after a weeks struggle.
EDIT: Attached pictures as requested:
When code assist works with lowercase letters
When code assist is not showing up
Upvotes: 0
Views: 46