Skip to content

Smoke Test: Don't get cross file intellisense in JS #3509

Closed

Description

  • in the smoke test repo, add a new file bar.js:
exports.foo = 3;
  • in app.js add the following:
var bar = require('./bar');
bar.

No completions on bar

Activity

  1. alexdima commented on Feb 26, 2016

    @alexdima
    MemberAuthor

    image

  2. added
    bug
    on Feb 26, 2016
  3. egamma commented on Feb 29, 2016

    @egamma
    Member

    The smoketest repo doesn't have a jsconfig.json. When I add the following jsconfig.json

    {
        "compilerOptions": {
            "module": "commonjs"
        }
    }

    Then this works. However, this should also be the default when there is no jsconfig.json.

  4. joaomoreno commented on Feb 29, 2016

    @joaomoreno
    Contributor

    Documentation

  5. added
    upstream
    on Mar 7, 2016
  6. egamma commented on Mar 15, 2016

    @egamma
    Member

    Upstream fix merged into our code.

  7. 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

bugupstreamverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions