Comments (26)
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.
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.
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.
@DenisOstr the insider version of this vue extension!
from language-tools.
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.
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.
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.
I tried all the versions that are available on the marketplace. Did not help.
from language-tools.
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.
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.
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.
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.
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.
Same issue here. Seems related to vscode april's update (v1.89.0). Downgrading vscode worked for me.
from language-tools.
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.
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.
@arielkern Which version did you install? I tried 1.88.1 but that didn't work either
from language-tools.
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.
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.
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.
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.
I can exactly use autocomplete and so on, without any other changes, but I use Archlinux, I don't know if this could influence
from language-tools.
delete Vscode plugin "vetur"
use "Vue - official"
from language-tools.
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
from language-tools.
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.
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:
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:
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)
- Nvim, can not jump file. HOT 1
- 默默的问一句,这个插件不会自动导入vue3的composition api是正常的吗 HOT 4
- hope have autosuggest props feature when press space on children component tag
- 代码提示变少了
- When use `Self-reference` in SFC, throw `Unable to resolve path to module`.
- `vue-tsc` tries to analyze non-ts blocks
- VSCode `Rename Symbol` does not propagate to the template HOT 1
- Double suggestions HOT 1
- [performance]:Increasing dependencies in package.json causes performance issues. HOT 1
- v2.0.17+版本 nvue支持异常,不显示组件,且无法cmd+左键跳转 HOT 7
- [bug] The behavior of 'slotName' typescript is inconsistent between Vue 2.7 and Vue 3 when use generic
- [bug] the autocomplete functionality does not seem to be working properly in newly created Vue files. HOT 2
- Can't add in Vscode 1.79.0 HOT 2
- 在.vue文件中写composition没有提示 HOT 5
- slot name type will lose in a specific dom structure.
- Auto import doesn't work at first attempt, I need to delete and re-type component name, also doesn't add to `components`
- svg embedded in svg gets marked red
- Incorrect code highlight in vue after :model-value HOT 2
- 启用之后,ts 提示慢了有10个数量级吧 HOT 1
- Major issues in type checking in VSC extension since today (v2.0.20 is broken) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-tools.