Skip to content

Intellisense on nodejs app files with no extension #7446

Closed

Description

  • 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

Activity

  1. added
    javascript
    bug
    on Jun 9, 2016
  2. dbaeumer commented on Jun 9, 2016

    @dbaeumer
    Member

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

  3. dbaeumer commented on Jun 25, 2016

    @dbaeumer
    Member

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

  4. dbaeumer commented on Aug 23, 2016

    @dbaeumer
    Member

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

  5. dbaeumer commented on Sep 26, 2016

    @dbaeumer
    Member

    This got fixed for 1.6 release.

  6. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugjavascriptverified

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions