microsoft / vscode

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

It is not automatically changing file paths or changing folders #171741

Closed lipecss closed 1 year ago

lipecss commented 1 year ago

Type: Bug

It is not automatically changing file paths or changing folders. If I have a file in the components folder and set to components -> here (for example) it sends it, but the option to update the path does not appear

    "javascript.updateImportsOnFileMove.enabled": "always",
    "typescript.updateImportsOnFileMove.enabled": "always",

My project is using vue and I have the Vetur tool installed, but the prompt does not appear warning or changing automatically

VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z) OS version: Windows_NT x64 10.0.25272 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 3600 6-Core Processor (12 x 3593)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|15.95GB (3.39GB free)| |Process Argv|--crash-reporter-id b76b8ab9-6cd3-43e7-adc5-61e6c60dae27| |Screen Reader|no| |VM|0%|
Extensions (43) Extension|Author (truncated)|Version ---|---|--- codesnap|adp|1.3.4 vscode-color|ans|0.4.5 icons-carbon|ant|0.2.6 turbo-console-log|Cha|2.6.2 path-intellisense|chr|2.8.4 vscode-svgviewer|css|2.0.0 windows-terminal-opener|cyr|1.1.0 githistory|don|0.6.19 gitlens|eam|13.2.0 EditorConfig|Edi|0.16.4 vscode-great-icons|emm|2.1.90 prettier-vscode|esb|9.10.4 auto-close-tag|for|0.5.14 auto-rename-tag|for|0.1.10 todo-tree|Gru|0.0.220 vue-snippets|hol|1.0.4 path-autocomplete|ion|1.22.1 vue|jcb|0.1.5 vscode-nuget-package-manager|jmr|1.1.6 unity-code-snippets|kle|1.3.0 csharpextensions|kre|1.7.3 vscode-eslint-ts-fix|lyn|2.2.2 git-graph|mhu|1.30.0 vscode-docker|ms-|1.23.3 csharp|ms-|1.25.2 remote-containers|ms-|0.266.1 vsliveshare|ms-|1.0.5808 color-highlight|nau|2.5.0 vetur|oct|0.36.1 errorlens|Phi|1.1.3 LiveServer|rit|5.7.9 text-marker|ryu|1.11.0 markdown-preview-enhanced|shd|0.6.7 mdx|sil|0.1.1 vue-preview|Sim|1.7.3 unity-tools|Tob|1.2.12 vscode-mdx|uni|1.1.0 unity-debug|Uni|3.0.2 vscode-icons|vsc|12.0.1 gitblame|wad|10.1.0 JavaScriptSnippets|xab|1.8.0 vscode-mdx-preview|xyc|0.3.3 unity-snippets|Ycl|0.1.2
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vscaat:30438848 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyonecf:30548226 pyindex848cf:30577861 nodejswelcome1:30587005 2e4cg342:30602488 89544117:30613380 2i9eh265:30646982 ```
mjbvz commented 1 year ago

Please file this against the Vue extension. These settings are only for JS and TypeScript files

lipecss commented 1 year ago

Please file this against the Vue extension. These settings are only for JS and TypeScript files

And what should I do? Sorry I didn't understand very well, even without these settings it doesn't work

vscodenpa commented 1 year ago

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.

Happy Coding!

lipecss commented 1 year ago

Help: Start extension bisect

image

I ran the process and did the test, throwing a file to another folder and it didn't show the option to change the path.

lipecss commented 1 year ago

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.

Happy Coding!

any other solution?