-
-
Notifications
You must be signed in to change notification settings - Fork 597
Open
Description
- I have searched through existing issues
- I have read through docs
- I have read FAQ
- I have tried restarting VS Code or running
Vetur: Restart VLS
Info
- Platform: MacOS and Linux
- Vetur version: 0.34.1
- VS Code version: 1.59.0
Problem
We have a quite large Vue 2 project, most parts in typescript. The code completion on very easy types (e.g. a simple string array) is very slow. A cpu profile is attached. Its quite a mess to view, I can't read a lot from it. In this profile I invoked code completion on an array. It took about 15s to complete.
CPU-20210816T144628.cpuprofile.zip
The vue-language-server outputs very often
[Error - 2:41:08 PM] Request textDocument/semanticTokens/range failed.
Message: Request textDocument/semanticTokens/range failed with message: Cannot read property 'flags' of undefined
Code: -32603
Please let me know if you need further information.
nyancodeid, macjuul, dorian-marchal, douglasg14b, stanley0010 and 1 more