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
{{ message }}
Repository navigation
Intellisense on nodejs app files with no extension #7446
Use express-generator to create a nodejs app; it creates a bin/www file with no extension
When editing the bin/www file, with language mode as JavaScript, the require, process, etc. entries are indicated as errors.
If a .js extension is added to the bin/www file - the intellisense no longer shows the entries as errors
A bit strange (at least from my perspective) as one would think that intellisense would be driven from the Language Mode not the extension, or lack thereof. "Normal" javascript intellisense is active BTW, it just seems to not be picking up the nodejs references.
Really like VSCode, VS Community just seems "too heavy" for a lot of small-medium projects.
Activity
dbaeumer commentedon Jun 9, 2016
We can now send the mode kind in an open. Need to see if this fixes it.
dbaeumer commentedon Jun 25, 2016
Sending the mode kind is only available in TS 2.0. Need to wait until it is officially available.
dbaeumer commentedon Aug 23, 2016
Unfortunately this will not make the August milestone since TS is not ready yet.
dbaeumer commentedon Sep 26, 2016
This got fixed for 1.6 release.