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 no longer working? How to re-enable? #6215

Closed
MrSkinny opened this issue May 9, 2016 · 5 comments
Closed

Intellisense no longer working? How to re-enable? #6215

MrSkinny opened this issue May 9, 2016 · 5 comments
Assignees
Labels
typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) verified Verification succeeded

Comments

@MrSkinny
Copy link

MrSkinny commented May 9, 2016

  • VSCode Version: 1.0.0
  • OS Version: 10.11.4

I'm not sure exactly when this was disabled, but I used to get the Intellisense inline suggests without any special configuration. i.e. I'm in a single javascript file, I declare a function that has an unused locally scoped variable, and Intellisense underlines it.

This no longer happens and I'm not seeing an obvious way to reenable this? If I used globals that weren't defined, it also used to prompt to allow downloading of the typings file (e.g. for node), but that's also stopped.

@jrieken jrieken assigned dbaeumer and unassigned jrieken May 10, 2016
@dbaeumer
Copy link
Member

@MrSkinny we move to a unified JavaScript / TypeScript language service to better support JS. However this requires some more configuration which is documented here: https://code.visualstudio.com/docs/languages/javascript

We are also working on bringing back the prompting to download typings files.

Regarding the underlines unused: yes the new language service warns about unused locales. This can be disabled in a jsocnfig.json file.

@MrSkinny
Copy link
Author

I'm either doing something wrong or there are a lot of missing intellisense markers that used to come up. From that link you provided, it doesn't appear any setup is necessary, only recommended. I tried adding the sample jsconfig.json that just sets an ES6 target and excludes node_modules, but I'm not getting things like $ being undefined even if there's no jquery project / global var declared, etc.

@MrSkinny
Copy link
Author

For example:

screen shot 2016-05-11 at 10 51 16 pm

@dbaeumer
Copy link
Member

@MrSkinny now I see. This is a know issue with the new JS language server and is tracked in this TS issue: microsoft/TypeScript#6802.

@MrSkinny
Copy link
Author

OK good to know it's being worked on! Thanks.

@dbaeumer dbaeumer added upstream Issue identified as 'upstream' component related (exists outside of VS Code) typescript Typescript support issues verified Verification succeeded labels May 27, 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
typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants