microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.27k stars 28.56k forks source link

Visual Studio Code Syntax Check Sometimes Very Slow #207665

Closed awxiaoxian2020 closed 5 months ago

awxiaoxian2020 commented 5 months ago

Type: Bug

When I type a standalone "i" , the spell checker tells me there's an error, which is normal. However, even after I enter a full sentence, the grammar check still doesn't catch up. I understand this might be related to caching, but can you tell me how to force a refresh immediately except reload? I have auto-save enabled. It seems like this is a common issue with development tools developed by Microsoft (like Visual Studio, for example).

vscode-bug.png

VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.83GB (2.73GB free)| |Process Argv|E:\\code\\repo\\competition-community-frontend --crash-reporter-id fb7d6cb5-0547-414e-a7c5-a1455d7f1345| |Screen Reader|no| |VM|0%|
Extensions (23) Extension|Author (truncated)|Version ---|---|--- vscode-tailwindcss|bra|0.10.5 path-intellisense|chr|2.8.5 c-cpp-compile-run|dan|1.0.58 vscode-eslint|dba|2.4.4 javascript-ejs-support|Dig|1.3.3 mini-translate-tool|dyh|0.0.1 gitlens|eam|14.9.0 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.1.0 auto-close-tag|for|0.5.15 auto-rename-tag|for|0.1.10 copilot|Git|1.172.0 copilot-chat|Git|0.13.1 vscode-github-actions|git|0.26.2 vue-snippets|hol|1.0.4 xml-format|mik|1.1.3 vue-volar-extention-pack|Mis|2.0.7 cpptools|ms-|1.19.7 vsliveshare|ms-|1.0.5918 LiveServer|rit|5.7.9 vscode-scss-formatter|sib|3.0.0 sass-indented|syl|1.8.29 volar|Vue|2.0.6
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 pydisww1:30981707 cppperfnew:30979542 d34g3935:30971562 fegfb526:30981948 bg6jg535:30979843 dsvsc020:30976470 ```
IllusionMH commented 5 months ago

/needsMoreInfo

Is it reproducible with all extensions disabled? You can try this with F1 and >Developer: Reload Window With Extensions Disabled

This one looks like 3rd party ts plug in, not built-in TS extension

VSCodeTriageBot commented 5 months ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!