Skip to content

Intellisense on nodejs app files with no extension #7446

@davidmcl

Description

@davidmcl
  • 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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugjavascriptJavaScript support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions