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 is not working #4338

Open
DenisOstr opened this issue May 3, 2024 · 22 comments
Open

IntelliSense is not working #4338

DenisOstr opened this issue May 3, 2024 · 22 comments

Comments

@DenisOstr
Copy link

IntelliSense doesn't work. Doesn't show what's in the component, nor does it suggest component names in autocomplete (Nuxt UI installed)

2024-05-03_135051223
2024-05-03_135612245
2024-05-03_135639474

What I've already tried (Did not help):

  • Change extension version (tried all versions)
  • Reinstall the extension
  • Install a different version of VSCode (1.88)
  • Reinstall VSCode
  • Disable all extensions and enable only vue - official

Possibly related things:

By TypeScript
image

By Vue Language Server
image

Extension: v2.0.16
VSCode: v1.89.0
OS: Windows 11
Framework: Nuxt 3

@krxvv
Copy link

krxvv commented May 3, 2024

Same here after the extension update I'm getting no linting at all, no suggestions/IntelliSense for autocomplete it doesn't recognize anything.

  • Extension: v2.0.16
  • VSCode: v1.89.0
  • OS: Windows 11
  • Framework: Quasar

Is there any temporary workaround? maybe reinstalling previous version and prevent it from updating?

@edarblanco
Copy link

I have the same problem, just going back to version 2.0.14 solves it, version 2.0.15 is also compromised

@DenisOstr
Copy link
Author

I tried all the versions that are available on the marketplace. Did not help.

@krxvv
Copy link

krxvv commented May 4, 2024

Yo this is so weird I want to say something but first, did you try using any VPN or proxy to another network?
Like I mean to fix it. try and tell me.

Because I'm guessing something like all three of us who are talking about this here are from certain countries, using VPN worked for me the ts-plugin or the vue plugin loads the IntelliSense like insiders also wont be loaded if I don't use VPN

@DenisOstr
Copy link
Author

This sounds very strange. How changing the network helps the extension, which in theory works offline.
Actually, as expected, VPN didn’t help at all.

@krxvv
Copy link

krxvv commented May 4, 2024

Yeah you are right, I know this is nonsense, but for me choosing insider versions also wont work without changing my ip addr.

@DenisOstr
Copy link
Author

Are you talking about the insider version of the extension or VSCode?
I'm just not really sure what the problem is in the editor or in the extension

@johnsoncodehk
Copy link
Member

Can you clone https://github.com/johnsoncodehk/volar-starter and reproduce the problem locally?

If yes, can you reproduce this problem for https://github.com/johnsoncodehk/volar-starter in GitHub Codespaces?
If no, can you reproduce this problem for you project in GitHub Codespaces?

@krxvv
Copy link

krxvv commented May 4, 2024

@DenisOstr the insider version of this vue extension!

@DenisOstr
Copy link
Author

Can you clone https://github.com/johnsoncodehk/volar-starter and reproduce the problem locally?

If yes, can you reproduce this problem for https://github.com/johnsoncodehk/volar-starter in GitHub Codespaces? If no, can you reproduce this problem for you project in GitHub Codespaces?

I'll try this

@krxvv
Copy link

krxvv commented May 4, 2024

Can you clone https://github.com/johnsoncodehk/volar-starter and reproduce the problem locally?

If yes, can you reproduce this problem for https://github.com/johnsoncodehk/volar-starter in GitHub Codespaces? If no, can you reproduce this problem for you project in GitHub Codespaces?

Sure, can't right now but I'll also try later

@arielkern
Copy link

Same issue here. Seems related to vscode april's update (v1.89.0). Downgrading vscode worked for me.

@DenisOstr
Copy link
Author

DenisOstr commented May 4, 2024

Can you clone https://github.com/johnsoncodehk/volar-starter and reproduce the problem locally?

If yes, can you reproduce this problem for https://github.com/johnsoncodehk/volar-starter in GitHub Codespaces? If no, can you reproduce this problem for you project in GitHub Codespaces?

I tried and got the following result:

  • Locally, it doesn't work either.
  • I can’t check it in codespaces, but I tried it in VSCode Web (with only two extensions (Vue - Official and TypeScript IntelliSense for Web)), and it doesn’t work there either

@DenisOstr
Copy link
Author

Same issue here. Seems related to vscode april's update (v1.89.0). Downgrading vscode worked for me.

I tried, but I'll try again

@DenisOstr
Copy link
Author

@arielkern Which version did you install? I tried 1.88.1 but that didn't work either

@DenisOstr
Copy link
Author

DenisOstr commented May 4, 2024

I tried VSCode version 1.88.1, it didn't work.
I tried VSCode version 1.87.2, it didn't work.
I uninstalled VSCode and everything related with it, installed both versions, it didn’t work

UPD: It seems to have been fixed, but only when I start typing does autocomplete work. If I just press ctrl + space, nothing is offered, not even what is in the component.

VSCode Version: v1.87.2
Vue - Official version: v1.8.27

@edarblanco
Copy link

Update VSCode version 1.89.1, it didn't work.
Vue - Official version: v2.0.16

But, VSCode version 1.89.1 and Vue - Official version: v2.0.14 work

@DenisOstr
Copy link
Author

What exactly works and how?

For me, with versions 1.87.2 and 1.8.27 (VSCode and Vue - Official), only autocomplete worked, and sometimes it doesn’t find certain things. Intellisense also doesn't work for me (when I'm just trying to call something without starting to type. Press CTRL + Space)

On version 1.89.1 I tried all versions of Vue - Official, none worked

@DenisOstr
Copy link
Author

I've checked it now. It seems like autocomplete works on versions 1.89.1 and 2.0.16, but Intellisense doesn’t show me anything

@edarblanco
Copy link

I can exactly use autocomplete and so on, without any other changes, but I use Archlinux, I don't know if this could influence
image

@edarblanco
Copy link

Hello, a few minutes ago I updated to the latest version of Vue Official v2.0.17 with VS Code 1.89.1 and everything is fine.

@bosens-China
Copy link

Update to the latest version and set the tsconfig.json file to the following format

{
"CompilerOptions":{
"BaseUrl": "./",
"AllowJs": true,
"ResolveJsonModule": true,
//"Target": "ES2022",
"IsolatedModules": true,
"Strict": true,
"Paths":{
"~/*": [./*]
},
"OutDir": "./dist"
}
}

It seems that the target will cause an exception to occur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants