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

[feature] match host operating system #85

Open
Merith-TK opened this issue Dec 10, 2023 · 3 comments
Open

[feature] match host operating system #85

Merith-TK opened this issue Dec 10, 2023 · 3 comments

Comments

@Merith-TK
Copy link

So I work on the same project with both windows and linux machines, the problem is that both have different command structures (linux uses $VAR and windows uses %VAR% for example)

I was hoping to be able to define an "OS LOCK" setting, where I can say "use this command for windows, and this command for linux"

@bmingles
Copy link
Member

This is a good suggestion. Will consider how to add this in future release.

@Merith-TK
Copy link
Author

Another reason for this request is that windows uses \ in file paths, as well as the notorious C:\Path drive mounts, while in linux \ is used as an escape character to allow for characters to be parsed as raw string and not format strings (commonly used in VAR="echo \"example\"" while windows does not,

@bmingles
Copy link
Member

bmingles commented Oct 1, 2024

Yes, I think this would be a good addition. I’ve marked it as a future enhancement. Other vscode settings often include OS specific options. I’ll have to see how to best implememnt

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

No branches or pull requests

2 participants