-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Add OS-specific dependency PATHs #17619
Comments
Definitely, I'd like to be able to do this so I can tailor a working, cross-platform setup for a repo |
I also agree this should be a configurable setting, not always are the binaries I would like to develop with are on my PATH |
These values will be addable to the user settings or the workspace settings? I'd rather have the latter. |
It would be very useful to be able to specify the OS-specific value of any user setting and any workspace settings, including extensions settings. I've requested the very same thing for the PythonVSCode project. |
For |
Hope the workspace setting can add specific os block for os, like:
|
There hasn't been much activity on this for a while. Has there been any
|
@fredrikaverpil No plans at present. Will let you know once we planned. |
It would be much appreciated to support something like the following in a {
"windows": {
"python.pythonPath": "${workspaceRoot}\\.venv\\Scripts\\python.exe"
},
"osx": {
"python.pythonPath": "${workspaceRoot}/.venv/bin/python"
},
"python.formatting.provider": "yapf",
"other.shared.settings":"go.here"
} Thanks for considering! |
Related: #8962 |
@sandy081 Hey, sorry to bump this but I was thinking: the people using VS Code across at least two platforms are likely your most valuable users as they can uncover xplat issues and are likely very passionate so catering to them should be tiny bit higher priority then the rest, no? 😉 As for me, I use VS Code on a macOS and Windows and having per-OS settings would be very welcome. Thinking about a possible design of this feature (not looking into the source though) does not seem like too difficult a thing to do. Please consider putting this into one of the next few iterations. Thanks! |
@ddotlic Will bring it up in our next planning meeting. |
@sandy081 Great, thanks for everything. |
This would be useful for WSL since typically you'll be using tools from both Windows and Linux and you may not want to use |
This feature is highly desirable - VS Code team please implement it! |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
I develop on Ubuntu 16 and Windows 10 interchangeably, and my paths to Node, PHP, and others differ on each platform. I'd like to add OS-specific paths in my settings.json since I synchronise my user settings across each platform via Dropbox.
Something like this would be useful:
The text was updated successfully, but these errors were encountered: