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

Cross-platform baseFolders options #131

Closed
vkbansal opened this issue Jul 22, 2017 · 4 comments
Closed

Cross-platform baseFolders options #131

vkbansal opened this issue Jul 22, 2017 · 4 comments
Labels

Comments

@vkbansal
Copy link

First of all thanks for the amazing plugin.

I have a feature request.

As I work on on both MacOS and Windows and use Settings Sync plugin to keep my settings in sync, it would be nice to have an option in project manager for platform specific baseFolders.

Something like projectManager.git.baseFolders.windows for Windows
and projectManager.git.baseFolders.macos for MacOS. This can be extended for linux too.

Integrated terminal settings are already present in similar manner.

@alefragnani
Copy link
Owner

Thanks @vkbansal 👍 .

Integrated Terminal settings aren't exactly cross-platform. It's just a setting to you to choose the proper Shell for specific platform. I think you are asking something like microsoft/vscode#17619..

Do you need different settings for each platform because you have your projects in different folders? I mean, something like C:\MyGitProjects\ in Windows and ~/projects/ in MacOS? If yes, the problem is not related to the platform itself, but the machine that you use.

Please, fill more info so I could understand better your needs.

Hope this helps.

@vkbansal
Copy link
Author

vkbansal commented Jul 25, 2017

Yes I have E:\Projects on Windows and ~/Projects on MacOS.
How do I specify this in settings?

if I do

[
  "E:/Projects",
  "~/Projects"
]

will this work?

Update: I tried this but it does not work. It shows No projects saved yet! on Windows. I even tired refresh projects list option,

@vkbansal
Copy link
Author

vkbansal commented Jul 25, 2017

My bad this works correctly. I changed the settings to

[
 "E:\\Projects",
  "~/Projects"
]

and it works.

Thanks.

@alefragnani
Copy link
Owner

That's great! 🎉

You can have as many folders as you want, even if they don't exist in all computers. Doing so, the invalid folders will be ignored for that specific computer, but will work for the valid computers.

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

No branches or pull requests

2 participants