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

Why symlinks #5

Closed
IrishBruse opened this issue Aug 16, 2021 · 5 comments
Closed

Why symlinks #5

IrishBruse opened this issue Aug 16, 2021 · 5 comments

Comments

@IrishBruse
Copy link

I was wondering why you use symlinks for the profiles it seems like a really bad approach as if you don't have admin access to the computer you cant use this plugin also wouldn't an easier way and one that is kind of the "official" way be to disable extensions and then only enable them based on the current profile having users need to reload the editor is not so much of an issue as well the profiles are kindof ment to be related to projects so you shouldn't really need to change profiles in the same project. This is just me being curious i havent looking into how you would implement it. My main reason for annoyance is that at collage the pcs don't retain anything so i have to install vscode from the beginning and i cant run admin stuff it also would just nicer to the users if they could just install the plugin and not have to mess with cli everytime love the extension though it works exactly how i wanted

@IrishBruse
Copy link
Author

It could also make it so using vscode build in sync would work as all extensions are installed just disabled by default

@cyberbiont
Copy link
Owner

The reason is that VS Code API simply does not allow to manage enabled / disabled extensions. Don't ask me why. This was my first thought when I devised the ways to implement profiles and it didn't work.

BTW, On Windows 10, you can create symlinks without admin rights if the developer mode is enabled on the machine. Though not sure if it will be of great help in your situation.

@IrishBruse
Copy link
Author

image
image
They must have released it recently wonder if this could be of any use

@cyberbiont
Copy link
Owner

I doubt it. See this thread
It seems like disabling extension via API was never implemented.

@IrishBruse
Copy link
Author

Ah crap never mind then ah well thanks for making the extensions its great for keeping vscode clean :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants