Visual Studio 2013 with:
From what I gather from the node.js tools site, I should be getting intellisense.
However when editing javascript in a node.js project I get strange intellisense which suggests all sort of irrelevant stuff. It doesn't have any useful intellisense for node, and does things like autocompletes require
as required
which is extremely annoying as I have to hit escape to stop it from changing it, I sometimes miss it and this causes a runtime error.
It gives me intellisense for my own code within the project, but very little else.
I read this, with some hope:
https://nodejstools.codeplex.com/workitem/562
However, if I disable Resharper intellisense for js files, rather than it deferring to Visual Studio/node.js tools I get no intellisense at all. I'm doing this at the moment because nothing is better than having the require
-> required
issue.
Have been unable to find anything useful in Google or on StackOverflow.
Starting in Visual Studio 2017, JavaScript IntelliSense displays a lot more information on parameter and member lists. This new information is provided by the TypeScript language service, which uses static analysis behind the scenes to better understand your code. TypeScript uses several sources to build up this information:
JavaScript IntelliSense. Visual Studio provides a powerful JavaScript editing experience right out of the box. Powered by a TypeScript based language service, Visual Studio delivers richer IntelliSense, support for modern JavaScript features, and improved productivity features such as Go to Definition, refactoring, and more.
What's new in the JavaScript language service in Visual Studio 2017. Starting in Visual Studio 2017, JavaScript IntelliSense displays a lot more information on parameter and member lists. This new information is provided by the TypeScript language service, which uses static analysis behind the scenes to better understand your code.
Pressing Tab or Enter will insert the selected member. You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.) in JavaScript).
If you disable ReSharper's code completion, you also need to make sure Visual Studio's is enabled. Go to Tools -> Options -> Text Editor -> Node.js and look for the "Statement completion" check boxes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With