microsoft / vscode

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

settings.json file path on VS Code start-up #204297

Closed LittleDeuce closed 3 months ago

LittleDeuce commented 7 months ago

Type: Bug

With the lastest VS Code update, the file path to the settings.json file opens? How can I stop this behavior?

VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)| |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)|11.64GB (1.81GB free)| |Process Argv|--crash-reporter-id c131d2a3-3753-4175-a1cb-d0da1e217530| |Screen Reader|no| |VM|0%|
Extensions (76) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 extendscript-debug|Ado|2.0.3 codesnap|adp|1.3.4 TabOut|alb|0.2.2 arepl|alm|2.0.5 vscode-django|bat|1.15.0 vscode-intelephense-client|bme|1.10.2 my-nbpreviewer|col|1.2.2 python-snippets|cst|0.1.2 composer-php-vscode|DEV|1.43.14858 intelli-php-vscode|DEV|0.12.14619 phptools-vscode|DEV|1.43.14858 profiler-php-vscode|DEV|1.43.14858 python-environment-manager|don|1.2.4 python-extension-pack|don|1.7.0 vscode-html-css|ecm|2.0.9 prettier-vscode|esb|10.1.0 vscode-firefox-debug|fir|2.9.10 linter|fna|0.0.19 code-runner|for|0.12.1 pythonsnippets|frh|1.0.2 vscode-better-python-extension-pack|gqu|0.0.1 vscode-test-explorer|hbe|2.21.1 jsx|Hen|1.3.0 vscode-htmlhint|HTM|1.0.5 python-coding-conventions|igr|0.0.4 vscode-edit-csv|jan|0.8.3 nbpreviewer|jit|1.2.2 vsc-python-indent|Kev|1.18.0 python-extension-pack|Leo|3.0.0 vscode-python-test-adapter|lit|0.8.2 vscode-generic-binary-preview|loc|0.0.2 kite-snippets-basic|lum|0.0.2 MagicPython|mag|1.1.0 python-path|mge|0.0.14 black-py|mik|1.0.3 vscode-docker|ms-|1.28.0 autopep8|ms-|2023.8.0 black-formatter|ms-|2024.0.0 debugpy|ms-|2024.0.0 flake8|ms-|2023.10.0 python|ms-|2024.0.0 vscode-pylance|ms-|2023.12.1 jupyter|ms-|2024.1.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 live-server|ms-|0.4.13 notepadplusplus-keybindings|ms-|1.0.7 test-adapter-converter|ms-|0.1.9 python-docs|Muk|0.8.3 php-docblocker|nei|2.7.0 jupiter|nha|1.2.6 python-coding-tools|nil|1.0.4 autodocstring|njp|0.6.1 vscode-python-typehint|njq|1.5.1 advanced-new-file|pat|1.2.2 material-icon-theme|PKi|4.33.0 binary-viewer|Qia|1.1.1 r-debugger|RDe|0.5.4 rtdbin|rea|0.2.1 r|REd|2.8.2 LiveServer|rit|5.7.9 synthwave-vscode|Rob|0.1.15 pytorch-snippets|SBS|1.0.2 pythonpack|shi|0.3.0 python-pack|Swe|0.1.15 python-extended-snippets|tus|0.0.1 indent-one-space|use|1.0.0 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 Python-extension-pack|wal|1.0.1 vscode-todo-highlight|way|1.0.5 html-css-class-completion|Zig|1.20.0 php-intellisense|zob|1.3.3 (4 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vstes627:30244334 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30951796 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 accentitlementst:30887150 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 dsvsc019bcf:30953938 3ef8e399:30949928 ```
IllusionMH commented 7 months ago

/needsMoreInfo

Can you cralify what "path opens" means? VS Code starts and has Settings editor open, or something else happens?

You can attach recording/screenshots if they can clarify problem.

VSCodeTriageBot commented 7 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!

LittleDeuce commented 7 months ago

vs_code Here is a screen shot of what I get when I open VS Code.

Thank you!

rzhao271 commented 7 months ago

I'm wondering if VS Code is showing a previously opened tab, and it just happens to be the settings.json file. Let me know if the following steps work:

  1. Open VS Code.
  2. Open another file.
  3. Close the settings.json tab.
  4. Close all VS Code windows.
  5. Open VS Code again.
LittleDeuce commented 6 months ago

Raymond,

Thank you for your response. Unfortunately, that does not solve the issue.

Sam

From: Raymond Zhao @.> Sent: Friday, February 16, 2024 2:11 PM To: microsoft/vscode @.> Cc: LittleDeuce @.>; Author @.> Subject: Re: [microsoft/vscode] settings.json file path on VS Code start-up (Issue #204297)

I'm wondering if VS Code is showing a previously opened tab, and it just happens to be the settings.json file. Let me know if the following steps work:

  1. Open VS Code.
  2. Open another file.
  3. Close the settings.json tab.
  4. Close all VS Code windows.
  5. Open VS Code again.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/204297#issuecomment-1949148183 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTJYUA37NKFAKWCRLJMV6LYT6VL5AVCNFSM6AAAAABCZBVXEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGE2DQMJYGM . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJTJYUAZZZ2TR2NCUA5M7W3YT6VL5A5CNFSM6AAAAABCZBVXEKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUFWSBO.gif Message ID: @. @.> >

rzhao271 commented 6 months ago

Does the issue occur when extensions are disabled? You can run Code from the terminal with code --disable-extensions to test. If the issue is due to an extension, you can run "Help: Start Extension Bisect" to figure out which extension is causing the issue.

If the issue still occurs when extensions are disabled, I'd try doing a clean uninstall and reinstall.

LittleDeuce commented 6 months ago

Hi Raymond,

Thanks for your assistance. I've isolated the behavior- when I create a new HTML or CSS file that is empty and open it, the file path also opens in the window.

As soon as I enter the DOCSTRING and meta data, I can open and reopen the files and the file path does not open. I've repeated this behavior many times and I'm convinced this is the issue.

The question is- is this normal expected behavior?

Regards,

Sam

From: Raymond Zhao @.> Sent: Thursday, February 22, 2024 2:44 PM To: microsoft/vscode @.> Cc: LittleDeuce @.>; Author @.> Subject: Re: [microsoft/vscode] settings.json file path on VS Code start-up (Issue #204297)

Does the issue occur when extensions are disabled? You can run Code from the terminal with code --disable-extensions to test. If the issue is due to an extension, you can run "Help: Start Extension Bisect" to figure out which extension is causing the issue.

If the issue still occurs when extensions are disabled, I'd try doing a clean uninstall https://code.visualstudio.com/docs/setup/uninstall#_clean-uninstall and reinstall.

- Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/204297#issuecomment-1960136853 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTJYUBEOZIVAOZRQW4CTXDYU 6NW5AVCNFSM6AAAAABCZBVXEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQGEZTM OBVGM . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJTJYUHYCEGSQJ5ISAUHC4TYU6NW5A5CNFS M6AAAAABCZBVXEKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT U2VIJK.gif Message ID: < @.> @.>

rzhao271 commented 6 months ago

That behaviour isn't normal, but I'm unable to reproduce the issue. Could you try the steps provided in my earlier message?

LittleDeuce commented 6 months ago

Ray,

Your previous suggestion does not solve the issue. I even tied it with a js file- same behavior, as soon as I put something in the file the behavior stops. I’m not going to loose sleep over it. Maybe something in the settings file?

Thanks again!

Sam

From: Raymond Zhao @.> Sent: Wednesday, February 28, 2024 1:49 PM To: microsoft/vscode @.> Cc: LittleDeuce @.>; Author @.> Subject: Re: [microsoft/vscode] settings.json file path on VS Code start-up (Issue #204297)

That behaviour isn't normal, but I'm unable to reproduce the issue. Could you try the steps provided in my earlier message?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/204297#issuecomment-1969621470 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTJYUHMKDL6564PVIVA6ITYV53YLAVCNFSM6AAAAABCZBVXEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZGYZDCNBXGA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJTJYUDBVPTFF3TTXQ33VOTYV53YLA5CNFSM6AAAAABCZBVXEKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTVMYE54.gif Message ID: @. @.> >

LittleDeuce commented 6 months ago

Hi Raymond,

I just wanted to follow up since you were so generous with your time trying to help me!

I don’t think I was using the Extension Bisect correctly. I re-ran it was able to isolate one extension that was the culprit!

Thanks again!

Sam Tomanio

From: Raymond Zhao @.> Sent: Thursday, February 22, 2024 2:44 PM To: microsoft/vscode @.> Cc: LittleDeuce @.>; Author @.> Subject: Re: [microsoft/vscode] settings.json file path on VS Code start-up (Issue #204297)

Does the issue occur when extensions are disabled? You can run Code from the terminal with code --disable-extensions to test. If the issue is due to an extension, you can run "Help: Start Extension Bisect" to figure out which extension is causing the issue.

If the issue still occurs when extensions are disabled, I'd try doing a clean uninstall https://code.visualstudio.com/docs/setup/uninstall#_clean-uninstall and reinstall.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/204297#issuecomment-1960136853 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTJYUBEOZIVAOZRQW4CTXDYU6NW5AVCNFSM6AAAAABCZBVXEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQGEZTMOBVGM . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJTJYUHYCEGSQJ5ISAUHC4TYU6NW5A5CNFSM6AAAAABCZBVXEKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTU2VIJK.gif Message ID: @. @.> >

VSCodeTriageBot commented 3 months ago

Hey @rzhao271, this issue might need further attention.

@LittleDeuce, you can help us out by closing this issue if the problem no longer exists, or adding more information.

VSCodeTriageBot commented 3 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!