TypeScript: Intellisense stops returning anything in js project
From @andreasgruenh on April 5, 2018 16:35
- VSCode Version: 1.21.1
- OS Version: Win 10 pro
Steps to Reproduce:
- Initiate a create-react-app project (I cannot reproduce the error in a blank project)
- Add a jsconfig.json with the content:
{} - Open src/App.js
- Hover and Intellisense (triggered by ctrl + space) should work
- Create a new file “src/x.js”
- Intellisense should still work
- Type
import React from 'react'; - Test if intellisense is still working (if not, delete the file and go back to step 5 and use another filename)
After looping 3-6 times, the error occurs and Intellisense and hover information are broken and will only come back when the tsserver is restarted.
Does this issue occur when all extensions are disabled?: Yes
I uploaded the log when this occured here: https://gist.github.com/andreasgruenh/95dfe15dd23d3dfdb547db088199fdbd
Here is a gif of the reproduction: https://gfycat.com/LavishMasculineDuckbillplatypus The Window has been reloaded directly before the start of the gif and the bug occurs after the 4th file has been created.
Copied from original issue: Microsoft/vscode#47248
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 3
- Comments: 19 (7 by maintainers)
@andreasgruenh can you please try out the next drop that gets release tonight to see if it helps with the issue. Thanks.
@andreasgruenh Thanks, I got the logs. Will take a look.
Happens for me too, really annoying…