Open Gregoor opened 4 months ago
@Gregoor What kind of errors are showing up in the Problems
tab? I had a quick look into your repo and wasn't able to build it or run tests. Please define more comprehensive instructions how others can reproduce this issue.
thanks for getting back to me! I think the problems only show up in submodule files (so one needs to clone the repo recursively), and as soon as I open one of the submodule files, the error disappears and the problem count stabilizes (does no go bananas anymore). When I switch back to the other files, it goes bananas again.
Actually I can't reproduce the problem count stabilizing, when opening a submodule file, anymore. Maybe I was just correlating some other random behavior
Alright, as someone mentioned in #3981, using VSCode Insiders does resolve it.
I'd still take an infinite loop as indicative of a deeper problem, but as I'm not a maintainer here, I can't say what has priority here. Thanks for working on this extension!
Nevermind, the problem has returned, even with VSCode Insiders
- clone varfish-org/varfish-server (needs git-lfs)
- open VSCode with the official Vue extension installed
Can you provide more complete steps to reproduce? Such as how to clone recursively, whether to execute npm/pnpm install, and problems when switching from which file to which file.
Sure! A git clone --recursive
should be enough. And then open e.g. frontend/src/cases/components/ModalPedigreeEditor.vue
and the problem(s) should appear
I enabled logging vor the Vue language server and I did see a constant stream of
[Trace - 4:08:46 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:46 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:46 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:46 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:46 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didClose'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didOpen'.
[Trace - 4:08:47 PM] Sending notification 'textDocument/didOpen'.
without me actually opening or closing documents. Not sure what it means
Can you help us investigate the issue via remote desktop? https://github.com/vuejs/language-tools/wiki/Help-Us-Investigate-Issues-Remotely
@johnsoncodehk I'd prefer not to, for security reasons. I'd be happy to do a video call and follow instructions though!
@Gregoor Video call sounds great, what is your discord ID?
@johnsoncodehk it's gregor91
Investigation record:
Vue - Official
Other informations:
Vue - Official extension or vue-tsc version
Vue - Official extension
VSCode version
1.90.2
Vue version
3.4.30
TypeScript version
5.5.2
System Info
Steps to reproduce
What is expected?
A calm editing experience that does not heat up my laptop
What is actually happening?
https://github.com/vuejs/language-tools/assets/4051932/42d3ed60-203a-4cf4-be2c-a53e4f9d7099
(the loop is not in the video but in reality)
Link to minimal reproduction
No response
Any additional comments?
This problem disappears when disabling the extension, hence it looks like the culprit