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

VSCode portable mode #70

Open
devregnfo opened this issue Oct 15, 2022 · 7 comments · May be fixed by #71
Open

VSCode portable mode #70

devregnfo opened this issue Oct 15, 2022 · 7 comments · May be fixed by #71

Comments

@devregnfo
Copy link

Hi, having trouble using the extension from the start.
I use portable mode and it has trouble finding folders in profile trying to create one.
Is it looking in default %SystemDrive%\Users windows folder?
Is it enough to edit json file or something?
Thanks

@mrsauravsahu
Copy link
Owner

Ah, I've never tried portable mode. I'll have to give this a try. Honestly, it should've behaved the same way as regular install. The profiles are created in the Home directory (which is the C:\Users<your-username>)

Let me try this out on my machine and see what the issue is.

@mrsauravsahu
Copy link
Owner

I tried using the extension in a Portable install. Creating profiles worked fine.

@regnfo Can you try creating the profiles folder where all profiles are stored? C:\Users\<your-user>\.config\vscode-manager

Launching the profile failed because code executable from the portable install isn't in Path. I will raise a PR for that.

Screenshot (2)
Screenshot (4)

@devregnfo
Copy link
Author

Yes, my problem is that I want it all contained inside the portable folder, under projects, profiles etc...
I came up with that error too trying to delete the created generic profiles. Renaming is fine though.
Maybe you can work it out to read if its portable or not at first and go on from there and store the location in you code or something. Big thanks!

@mrsauravsahu
Copy link
Owner

mrsauravsahu commented Oct 16, 2022

For now, I think I'll continue keeping the vscode profiles in the same global folder. This is to prevent deleting the profiles created with the portable version by accident. I'll be adding a setting for customizing the storage location.

@devregnfo
Copy link
Author

Hi I noticed that the IDE's PROFILES option works, I'm new to VSCode, only now I found it! :(
It's kinda new for what I heard. Do yours bring anything different to it?
TIA, keep the good work!

@mrsauravsahu
Copy link
Owner

Can you point me to IDE's profiles? Not sure what that is.

@devregnfo
Copy link
Author

On the main window, lower left you have the cogwheel icon. Click/Settings Profiles/... OR File/Preferences/Settings Profiles/...
Then you can change create, etc. You assign a 2 letter alias to the profile, and see it under the cogwheel when active.
It allows for complete separation of the Extensions installed. It has been introduced not for long as I read.

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

Successfully merging a pull request may close this issue.

2 participants