You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i installed Visual Studio Code as an Administrator and log in with another account afterwards, the "Open with Code" Explorer entries (in the context menu of Files and Folders) are gone.
I searched for it in the Windows Registry and it seems to me, that the Windows Setup only add the entries for the current user. In my example only for the Administrator account of my computer which is another one than that i worked with normally.
It would be nice when the Visual Studio Code setup add the "Open with Code" capability to any user of the system.
Thanks & Greetings,
Andreas
Reacted by Sushruth Sastry, Mike Boutin, Matti Pastell, DevJPM, Sasivarnan R, Tuckie, YFdyh000, Max Schmitt, Tzach Shabtay, Michael Kriese and 29 more
The Open with Code action is gone by default since 0.8.0. Code now registers itself as an editor and you can and should associate it with file extensions, like you would do any other application. If you manually install Code again, the installer will ask you if you still want the context menu actions, but you must install it as the user that you want the actions for.
Assign vscode with specified file extensions like .md works ok. But i can't set the association for folders to open a complete folder in vscode from within the explorer.
And unfortunately my working user account, which should use the actions, does not have adequate rights to install any programm on my computer (AD policy). So i can't select the options in setup for my working user.
Do you have any suggestion how i can add the context menu item manually? In regedit.exe?
I don't have Administrator access on my machine and I don't understand why I would need it in order to install a text editor. Please support the ability to install Code without requiring elevated permissions.
I'm not sure if this request matches the original description of this issue, but it matches the current title...
Reacted by Ricardo Guiraldelli, GodLesZ, mihailik, Mica Hallin, kalifa17, yan5, Lars Jonsson Baker, Todd Lindner, Matti Pastell, ナモナキヒト and 42 more
Reacted by David, Jure Skelin, Sushant Kumar, Merlin, Darrin and runako
Disappearing context menus because of different user-level installations are not related to "allow installations in different user-levels" or: I want to install VS Code without admin privilegs.
Reacted by mihailik, Dhruvan Ganesh, Todd Lindner, bmcdonnell-ionx, Kostis Anagnostopoulos, Thorsten Schöning, Merlin and Darrin
They do not disappear. They are configured in the registry under HKCU, meaning they are scoped under the user who ran the installation. Had the installer been able to be run per user, independently, you'd have these actions in any user you'd like.
There always the possibility of adding some commands to Code that would install and uninstall these shortcuts for your user, as commands in the command palette.. That might actually be a good idea. What do you think?
Tiemen Schuijbroek (@TiemenSch) Thanks for asking. No real problems now that we've made a decision on what path to follow. We will provide two separate Setup packages. The current one, as well as one which requires no admin privileges. It's just postponed to next month.
Reacted by Sámal Rasmussen, bmcdonnell-ionx, Ayush Goyal, Yukai Huang, Merlin, Abdullah-Al-Adnan, Becky Boyce and Andrew Dassonville
Wahid Shafique (@wahidshafique) The release notes says that it's not included in the june release because they want more feedback, so you'd still have to use the insider build.
Activity
joaomoreno commentedon Nov 24, 2015
The Open with Code action is gone by default since
0.8.0. Code now registers itself as an editor and you can and should associate it with file extensions, like you would do any other application. If you manually install Code again, the installer will ask you if you still want the context menu actions, but you must install it as the user that you want the actions for.anrichter commentedon Nov 24, 2015
Thanks for your reply.
Assign vscode with specified file extensions like .md works ok. But i can't set the association for folders to open a complete folder in vscode from within the explorer.
And unfortunately my working user account, which should use the actions, does not have adequate rights to install any programm on my computer (AD policy). So i can't select the options in setup for my working user.
Do you have any suggestion how i can add the context menu item manually? In regedit.exe?
tia,
Andreas
joaomoreno commentedon Nov 24, 2015
Here's what we do in the installer, hope it's not too cryptic.
I will actually reopen this and rename it according to the real issue.
[-]Missing "Open with Code" in Windows Explorer after Install[/-][+]Allow user-level installations[/+]anrichter commentedon Nov 24, 2015
Thanks. That helped. 👍
jchadwick commentedon Feb 2, 2016
+1.
I don't have Administrator access on my machine and I don't understand why I would need it in order to install a text editor. Please support the ability to install Code without requiring elevated permissions.
I'm not sure if this request matches the original description of this issue, but it matches the current title...
GodLesZ commentedon Apr 20, 2016
João Moreno (@joaomoreno) you changed the title of the issue which now matches exactly my (and Jess Chadwick (@jchadwick)) request, but missmatches the authors request.
Disappearing context menus because of different user-level installations are not related to "allow installations in different user-levels" or: I want to install VS Code without admin privilegs.
joaomoreno commentedon Apr 20, 2016
They do not disappear. They are configured in the registry under
HKCU, meaning they are scoped under the user who ran the installation. Had the installer been able to be run per user, independently, you'd have these actions in any user you'd like.There always the possibility of adding some commands to Code that would install and uninstall these shortcuts for your user, as commands in the command palette.. That might actually be a good idea. What do you think?
28 remaining items
TiemenSch commentedon Apr 26, 2018
I saw in the milestone that this was deferred, João Moreno (@joaomoreno). Do you need help? Testing or other problems holding you back?
joaomoreno commentedon Apr 26, 2018
Tiemen Schuijbroek (@TiemenSch) Thanks for asking. No real problems now that we've made a decision on what path to follow. We will provide two separate Setup packages. The current one, as well as one which requires no admin privileges. It's just postponed to next month.
TiemenSch commentedon Apr 26, 2018
OK! Good to hear that there's discussions/work behind the scenes. You're going to please a lot of people!
joaomoreno commentedon Jun 26, 2018
This was merged to
masterand will come out this June release.https://twitter.com/joaomoreno/status/1011184822570582017
nejsimon commentedon Jul 23, 2018
wahidshafique commentedon Jul 23, 2018
Simon Strandman (@nejsimon) what did you find out, for posterity? I've had the same issue.
nejsimon commentedon Jul 24, 2018
Wahid Shafique (@wahidshafique) The release notes says that it's not included in the june release because they want more feedback, so you'd still have to use the insider build.
https://code.visualstudio.com/updates/v1_25#_user-setup-for-windows