Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio Code installer fails to register file associations for supported file types #191782

Open
skycommand opened this issue Aug 30, 2023 · 0 comments · May be fixed by #202940
Open

Visual Studio Code installer fails to register file associations for supported file types #191782

skycommand opened this issue Aug 30, 2023 · 0 comments · May be fixed by #202940
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities install-update VS Code installation and upgrade system issues windows VS Code on Windows issues
Milestone

Comments

@skycommand
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.81.1
  • OS Version: Windows 10.0.19045.3393

Steps to Reproduce:

  1. Create a virtual machine containing a clean version of Windows 10
  2. Log in with a user account with admin privileges.
  3. Download VSCodeSetup-x64-1.81.1.exe. (If enough time has passed and version 1.81.1 isn't available download the latest machine-wide installer.)
  4. Run the installer.
  5. Proceed with installation but be sure to check "Register Code as an editor for supported file types."
  6. Create a new standard user account (without administrative privileges)
  7. Log out
  8. Log in with the new standard user account
  9. Create the following blank files. You can do so on the desktop.
    • Test.cpp
    • Test.cs
    • Test.css
    • Test.html
    • Test.html
    • Test.js
    • Test.json
    • Test.markdown
    • Test.md
    • Test.ps1
    • Test.svg
    • Test.xml
    • Test.yaml

Expected results: Not all of them are associated with Visual Studio Code but the user should be able to associate them via the Settings app → Apps and Features → Default Apps → Set defaults by app.

Actual results: Not all of them are associated with Visual Studio Code and the user cannot adjust the association via the Settings app → Apps and Features → Default Apps → Set defaults by app.

Please resist the temptation to tell me "you can drag and drop files into VSCode" or "you can use the Open With command." Users can do all of those things without putting a checkmark next to "Register Code as an editor for supported file types." So, what does that checkmark even do?

@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities install-update VS Code installation and upgrade system issues windows VS Code on Windows issues labels Sep 22, 2023
@joaomoreno joaomoreno added this to the Backlog milestone Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities install-update VS Code installation and upgrade system issues windows VS Code on Windows issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants