vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Format Code and IntelliSense not working at all

Open digeff opened this issue 10 years ago • 10 comments

For some reason Format Code and IntelliSense stopped working in my project (IntelliSense justs shows Loading... F12 or go to definition never resolves, etc...). I'm guessing that something about my configuration makes the language service crash or something. I don't currently have any extensions installed. It happens both in the stable and latest alpha version. I don't see any errors on the output console.

Any idea how to give you more information so you can diagnose and fix this issue?

digeff avatar Mar 02 '16 22:03 digeff

@digeff What language are you working with? JavaScript, C#...

aeschli avatar Mar 03 '16 10:03 aeschli

Typescript. This is the project https://github.com/Microsoft/vscode-react-native although I wasn't on master when it happened.

digeff avatar Mar 03 '16 14:03 digeff

I am getting the same behavior, except that my project is JavaScript (nodejs and browser). I have eslint, jshint and beautify plugins loaded as well.

Usually at the beginning of a session, the TypeScript language service fails as well.

enzoaeneas avatar Mar 15 '16 11:03 enzoaeneas

I'm working on Go and having the same issue.

I always get this:

UPDATE It started to work again when I tried to debug it doing the following:

go get -u github.com/nsf/gocode
gocode close
geocode -debug -s

c4milo avatar Jun 09 '16 15:06 c4milo

@c4milo this issue is about Intellisense in TypeScript. Please file the issue against https://github.com/microsoft/vscode-go which host the go extension for VS Code.

dbaeumer avatar Jun 10 '16 09:06 dbaeumer

I'm seeing this in 1.2.1 on Windows 10 with JavaScript. JSON intellisense in my project appears to be working fine.

timfish avatar Jul 01 '16 11:07 timfish

Tried to reproduce using https://github.com/Microsoft/vscode-react-native but wasn't able to do so. I will close the issue. @digeff Please ping if this is still an issue you are seeing.

dbaeumer avatar Nov 15 '16 21:11 dbaeumer

having the same problem with javascript, format and intellisense not working for a node project.

as a workaround i installed beautify for formatting, have to find some other plugin for intellisense. it's a pitty that they closed the issue.

tavotavotavo avatar Jan 20 '17 14:01 tavotavotavo

@tavotavotavo can you provide a GitHub repository that demonstrates the problem. I tried with the one from @digeff and without steps or a test case it is hard to fix.

dbaeumer avatar Jan 23 '17 08:01 dbaeumer

I've had the same issue & managed to find the cause in this issue link: https://github.com/Microsoft/vscode/issues/26594

slender9168 avatar May 13 '17 12:05 slender9168