microsoft / vscode

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

New vue files created when developing vue 3 projects have no syntax hints #210139

Closed lengxiaoyu6 closed 5 months ago

lengxiaoyu6 commented 6 months ago

Type: Bug

I have an API in the project, assuming userAPI, but there is no hint of this API in the newly created vue file (including automatic introduction)

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

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 x 2904)| |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)|31.84GB (16.28GB free)| |Process Argv|H:\\Desktop\\xiaochu_template\\academic --crash-reporter-id abd51c88-033e-4a7c-9742-442164897f44| |Screen Reader|no| |VM|0%|
Extensions (47) Extension|Author (truncated)|Version ---|---|--- GBK2UTF8|buu|0.6.2 turbo-console-log|Cha|2.10.4 path-intellisense|chr|2.8.5 vscode-eslint|dba|2.4.4 vscode-html-css|ecm|2.0.9 prettier-vscode|esb|10.4.0 auto-close-tag|for|0.5.15 auto-rename-tag|for|0.1.10 code-runner|for|0.12.2 copilot|Git|1.179.0 copilot-chat|Git|0.13.1 error-gutters|Igo|1.0.1 ftp-sync|luk|0.3.9 vscode-language-babel|mgm|0.0.40 dotenv|mik|1.0.1 vscode-filesize|mkx|3.1.0 vscode-language-pack-zh-hans|MS-|1.87.2024031309 autopep8|ms-|2024.0.0 debugpy|ms-|2024.4.0 python|ms-|2024.4.1 vscode-pylance|ms-|2024.4.1 remote-containers|ms-|0.354.0 remote-ssh|ms-|0.109.0 remote-ssh-edit|ms-|0.86.0 remote-explorer|ms-|0.4.3 vscode-typescript-next|ms-|5.5.20240410 sftp|Nat|1.16.3 nutui-vscode-extension|nut|1.0.2 nested-comments|phi|4.0.1 material-icon-theme|PKi|4.34.0 vscode-css-navigation|puc|1.14.1 LiveServer|rit|5.7.9 vs-code-prettier-eslint|rve|6.0.0 vue-helper|she|2.4.7 svg-preview|Sim|2.8.3 autoimport|ste|1.5.4 tabnine-vscode|Tab|3.87.0 open-in-browser|tec|2.0.0 pdf|tom|1.2.2 errorlens|use|3.16.0 vscode-icons|vsc|12.7.0 volar|Vue|2.0.8 vscode-import-cost|wix|3.3.0 JavaScriptSnippets|xab|1.8.0 markdown-all-in-one|yzh|3.6.2 material-theme|zhu|3.17.0 html-css-class-completion|Zig|1.20.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 d34g3935:30971562 fegfb526:30981948 bg6jg535:30979843 ccp2r3:30993541 dsvsc020:30976470 pythonait:31006305 gee8j676:31009558 dsvsc021:30996838 gd77d436:30999572 bdiig495:31013172 ```
lengxiaoyu6 commented 6 months ago

But when you reload the window, the prompt is normal.

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!

VSCodeTriageBot commented 5 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!