I didn't install any more extensions


Vue Language Server?@yoyo930021
1.The old version didn't pay attention, but the new version has this problem.
2γ3.There are no problems with the project and the extension is working properly.But it kept on initializing and using a lot of CPU.

@yoyo930021
1.The old version didn't pay attention, but the new version has this problem.
2γ3.There are no problems with the project and the extension is working properly.But it kept on initializing and using a lot of CPU.
Giving me information is a better way to determine this issue.
Is this problem in Vetur v0.29.1?
@yoyo930021
v0.30.1
vscode v1.51.1

@yoyo930021
v0.30.1
vscode v1.51.1
Can you try to use old version extension?
https://github.com/vuejs/vetur/blob/master/docs/FAQ.md#install-an-old-version-of-vetur
I need information for troubleshoot.

You can also use this method for old version extension.
You can also use this method for old version extension.
I installed V0.29.1 and it was able to complete the initialization normally.
I installed V0.30.0 again. I waited for five minutes and it was still initializing and using a lot of CPU.
You can also use this method for old version extension.I installed V0.29.1 and it was able to complete the initialization normally.
I installed V0.30.0 again. I waited for five minutes and it was still initializing and using a lot of CPU.
If you use pnpm or symlink?
Can you give me a tree diagram of your project filename?
cd project
npx -p tree-cli treee -l 100 -f -o output.txt -d
provide output.txt file.
You can decompress this file and install ext in vscode.
vetur-0.30.1.vsix.zip

Don't know if it's related, but today I found this:

I closed all VSCode instances an hour ago... but then I found one of my 28 cores was constantly on 99% - 100%
Don't know if it's related, but today I found this:
I closed all VSCode instances an hour ago... but then I found one of my 28 cores was constantly on 99% - 100%
Can you try to use it?
https://github.com/vuejs/vetur/issues/2468#issuecomment-726565206
Nope :-1: it's not working π
Still 99%-100%
I also have installed Vuetify Pug snippet that depends on vetur
Nope π it's not working π
Still 99%-100%I also have installed Vuetify Pug snippet that depends on vetur
I'm sorry about that.
vetur-0.30.1.vsix.zip
Can you try this?
If not, https://github.com/vuejs/vetur/issues/2468#issuecomment-726561376
and output panel in Vue Language Server.
Only occurs if I open a .vue file in editor-panel

https://pastebin.com/FRsNbYcD (_will explode after one week_ π)
@Shinigami92 https://github.com/vuejs/vetur/blob/master/.github/PERF_ISSUE.md
If you can follow the steps here, I'll thank you.
It's obviously not what I had in mind. =_=
Tomorrow
Hope I did anything correct
CPU-20201114T111057.cpuprofile.zip
@Shinigami92
I try to revert some change.
Can you try these two files for me?
vsix.zip
If it doesn't work, do it for me on one.
https://github.com/vuejs/vetur/blob/master/.github/PERF_ISSUE.md
even after uninstalling the versions and closing vscode, I need to kill the process
I didn't installed Vuetify Pug snippet this time, so it's not a problem with that
Is it helpful to tell that my .vue files all look like this?:
<template lang="pug" src="./Filename.pug" />
<script lang="ts" src="./Filename.ts" />
When I uninstall the vetur plugin and open a vue file, the problem is not there. So it's definitely vetur
Do you think that a profile will help here? For me it's more a missing shutdown hook or destroy on close or something else
I'm currently just interested in the fix that it don't run anymore when I close vscode completely
* full not working * path not workingeven after uninstalling the versions and closing vscode, I need to kill the process
I didn't installed
Vuetify Pug snippetthis time, so it's not a problem with thatIs it helpful to tell that my
.vuefiles all look like this?:<template lang="pug" src="./Filename.pug" /> <script lang="ts" src="./Filename.ts" />When I uninstall the vetur plugin and open a vue file, the problem is not there. So it's definitely vetur
Do you think that a profile will help here? For me it's more a missing shutdown hook or destroy on close or something else
I'm currently just interested in the fix that it don't run anymore when I close vscode completely
The profile can help me where's it stuck?
I need a specific function location for further action.
Or provide a repro project. https://github.com/vuejs/vetur/blob/master/.github/NO_REPRO_CASE.md
Otherwise I'm really just guessing.
If you can provide a repro project, we'd appreciate it.
@Shinigami92
I think I found your problem.
Can you try this vsix?
vetur-0.30.1.vsix.zip
And then your question is different from the original.
Your problem should have been there for a long time.
The old version doesn't work either.
I created an empty folder named test
There I created a test.vue file (file was empty)
The problem was not there
Then I copy-pasted
<template lang="pug" src="./Filename.pug" />
<script lang="ts" src="./Filename.ts" />
-> instant 99% core usage
-> the problem occured
IMO the problem has to do something with lang="pug" src="./xy.pug"
I created an empty folder named
test
There I created atest.vuefile (file was empty)The problem was not there
Then I copy-pasted
<template lang="pug" src="./Filename.pug" /> <script lang="ts" src="./Filename.ts" />-> instant 99% core usage
-> the problem occuredIMO the problem has to do something with
lang="pug" src="./xy.pug"
Try this.
https://github.com/vuejs/vetur/issues/2468#issuecomment-727858642
https://github.com/vuejs/vetur/issues/2468#issuecomment-727858642 WORKING :tada:
#2468 (comment) WORKING π
It's just a quick fix.
I need to study the context and provide a way to fix it.
Thanks for your work.
Most helpful comment
I installed V0.29.1 and it was able to complete the initialization normally.
I installed V0.30.0 again. I waited for five minutes and it was still initializing and using a lot of CPU.