Giter VIP home page Giter VIP logo

Comments (26)

edarblanco avatar edarblanco commented on June 14, 2024 5

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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 2024 2

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.

from language-tools.

johnsoncodehk avatar johnsoncodehk commented on June 14, 2024 2

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?

from language-tools.

krxvv avatar krxvv commented on June 14, 2024 1

@DenisOstr the insider version of this vue extension!

from language-tools.

edarblanco avatar edarblanco commented on June 14, 2024 1

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.

from language-tools.

bosens-China avatar bosens-China commented on June 14, 2024 1

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

from language-tools.

krxvv avatar krxvv commented on June 14, 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?

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 2024

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

from language-tools.

krxvv avatar krxvv commented on June 14, 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

from language-tools.

krxvv avatar krxvv commented on June 14, 2024

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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 2024

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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 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'll try this

from language-tools.

krxvv avatar krxvv commented on June 14, 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

from language-tools.

arielkern avatar arielkern commented on June 14, 2024

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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 2024

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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 2024

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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 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

from language-tools.

edarblanco avatar edarblanco commented on June 14, 2024

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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 2024

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

from language-tools.

DenisOstr avatar DenisOstr commented on June 14, 2024

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

from language-tools.

edarblanco avatar edarblanco commented on June 14, 2024

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

from language-tools.

fullmooooon avatar fullmooooon commented on June 14, 2024

delete Vscode plugin "vetur"
use "Vue - official"

from language-tools.

okmkey45 avatar okmkey45 commented on June 14, 2024

Hello everybody. I was having the same issue and none of the versions worked for me, not even downgrading the extension to 1.8.27

I found that there's a new feature in version 2 called Hybrid mode. I found this issue and it's kind of similar (I might be wrong). So, what I did was setting this new setting to typeScriptPluginOnly. Probably this is not best fix but at least, it helped me to enable IntelliSense again. So, I hope it can help you guys while this is properly fixed

Screenshot from 2024-05-30 08-29-50

from language-tools.

abubakriz avatar abubakriz commented on June 14, 2024

I am on VSCode version v1.89.1 and Volar version v2.0.19

It doesn't seem to be able to autocomplete even basic things like auto importing ref and other components.

I don't know how I can help beyond saying what's happening to me, is there a way to get a debug log and send it here or something that will help the developers find the source of the issue?

from language-tools.

dalpii avatar dalpii commented on June 14, 2024

I'm experiencing something related to this, and I would like to provide some findings in hope that makes sense to maintainers.

I'm using Vue.JS + TypeScript, with default configs (no change regarding Vue/Volar). I'm also using Codespaces for development, so that's why I get this behavior pretty often.

Upon creation of a new Codespaces machine, after everything is installed, if I try to open a Vue file it seems everything is working, hover/IntelliSense on HTML is working fine, but once I try hover on a TypeScript variable I get nothing, and of course, not completions, etc.

Please take notice on this VSCode status:
Captura de Tela 2024-06-04 às 10 26 38

I've enabled language server tracing, and once I hover a simple const I get this:

[Trace - 1:30:44 PM] Received response 'textDocument/hover - (22)' in 3ms.
No result returned.

I've noticed that restarting language server, or even just closing and reopening Codespaces didn't work either.

But what I found is that, once I restarted VSCode itself (quit and reopen the application), and load the same Codespaces, and open the same file, everything seems to magically works.

One thing I've noticed is that now I'm getting a new row with TS version on VSCode status:
Captura de Tela 2024-06-04 às 09 59 33

I hope someone can reproduce this even on local codebases, and we get to the bottom of what's going on. Maybe something related to Hybrid Mode?

from language-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.