Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intellisense on nodejs app files with no extension #7446

Closed
davidmcl opened this issue Jun 9, 2016 · 4 comments
Closed

Intellisense on nodejs app files with no extension #7446

davidmcl opened this issue Jun 9, 2016 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues verified Verification succeeded

Comments

@davidmcl
Copy link

davidmcl commented Jun 9, 2016

  • VSCode Version: 1.2.0
  • OS Version: CentOS 7 -- NodeJS app

Steps to Reproduce:

  1. Use express-generator to create a nodejs app; it creates a bin/www file with no extension
  2. When editing the bin/www file, with language mode as JavaScript, the require, process, etc. entries are indicated as errors.
  3. 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.

Thanks,
David

screenshot from 2016-06-09 00-46-02
screenshot from 2016-06-09 00-46-29
screenshot from 2016-06-09 00-53-52

@dbaeumer dbaeumer added javascript JavaScript support issues bug Issue identified by VS Code Team member as probable bug labels Jun 9, 2016
@dbaeumer dbaeumer added this to the June 2016 milestone Jun 9, 2016
@dbaeumer
Copy link
Member

dbaeumer commented Jun 9, 2016

We can now send the mode kind in an open. Need to see if this fixes it.

@dbaeumer dbaeumer modified the milestones: July 2016, June 2016 Jun 25, 2016
@dbaeumer
Copy link
Member

Sending the mode kind is only available in TS 2.0. Need to wait until it is officially available.

@isidorn isidorn modified the milestones: August 2016, July 2016 Jul 26, 2016
@dbaeumer
Copy link
Member

Unfortunately this will not make the August milestone since TS is not ready yet.

@dbaeumer dbaeumer modified the milestones: September 2016, August 2016 Aug 23, 2016
@dbaeumer
Copy link
Member

This got fixed for 1.6 release.

@ramya-rao-a ramya-rao-a added the verified Verification succeeded label Sep 29, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants