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

Import IntelliSense (path and module suggestions) completely gone in Typescript and Javascript #54267

Closed
DanielHZhang opened this issue Jul 13, 2018 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues verified Verification succeeded
Milestone

Comments

@DanielHZhang
Copy link

  • VSCode Version: 1.26.0-insider (updated July 13, 2018)
  • OS Version: Windows 10 (build 17134)
  • Typescript version: 3.0.0-insiders.20180706

Steps to Reproduce:

  1. Open any typescript file (.ts or .tsx)
  2. Type out an ES6 import statement (e.g. import {} from './ ... or import DefaultImport from './ ... or import React from 're ...)

Expected:
IntelliSense gives suggestions for a module or a local relative file path

Actual:
Intellisense displays string keywords from current file with no module or file path suggestions (e.g. ['import', 'from'] are given as suggestions when the file contains import {} from './)
This bug also occurs for JS files (.js/.jsx) in the same fashion.

Video: http://recordit.co/bCV36K4KTC

tsconfig.json:

{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "allowJs": true,
    "jsx": "react",
    "module": "commonjs",
    "moduleResolution": "node",
    "noImplicitReturns": true,
    "noImplicitThis": true,
    "noImplicitAny": true,
    "sourceMap": true,
    "strictNullChecks": true,
    "target": "es5"
  }
}

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot added the javascript JavaScript support issues label Jul 13, 2018
@mjbvz mjbvz added this to the July 2018 milestone Jul 13, 2018
@mjbvz mjbvz added the bug Issue identified by VS Code Team member as probable bug label Jul 13, 2018
@mjbvz mjbvz closed this as completed in b179dee Jul 13, 2018
@reneruiz
Copy link

I have this same issue. Path Intellisense & Path Autocomplete extensions also do not work for me.

@DanielHZhang
Copy link
Author

@reneruiz are you still having this issue? It should be fixed in the latest build, but if you haven't updated, then using TS 2.9.2 instead of 3.0-insiders is a workaround.

@JacksonKearl JacksonKearl added the verified Verification succeeded label Aug 2, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 27, 2018
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