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

Settings: Get directory of VSCode for Portable Setup #111983

Closed
lon91ong opened this issue Dec 7, 2020 · 7 comments
Closed

Settings: Get directory of VSCode for Portable Setup #111983

lon91ong opened this issue Dec 7, 2020 · 7 comments
Assignees
Labels
config VS Code configuration, set up issues *duplicate Issue identified as a duplicate of another issue(s)

Comments

@lon91ong
Copy link

lon91ong commented Dec 7, 2020

I know the topic is exactly same as #82602 , more #11918
I'm struggled in the same problem
I want share vscode and python (lite version) with people,
if ${execPath} present the DIRECTORY where Code.exe located, not the full path like now...

forgive my poor English

@joaomoreno
Copy link
Member

if ${execPath} present the DIRECTORY where Code.exe located, not the full path like now...

Why exactly can't you use execPath? Seems to give you exactly what you need.

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Dec 8, 2020
@lon91ong
Copy link
Author

lon91ong commented Dec 9, 2020

@joaomoreno what I need is exactly same as #82602
instead of Arduino,I need to share PYTHON lite pack with other fellow

@joaomoreno
Copy link
Member

And you want this in your debug launch configs?

@lon91ong
Copy link
Author

lon91ong commented Dec 10, 2020

@joaomoreno I placed the lite PYTHON pack in the VS Code DIRECTORY, like:

VSCode
 |-Code.exe
 |-Python
     |-python.exe
     |-...
 |-...

I want set the "python.pythonPath": "${execPath}\Python\python.exe"
so Python and VS code are all portalbe

@joaomoreno
Copy link
Member

So in your settings, I see.

@joaomoreno joaomoreno assigned sandy081 and unassigned joaomoreno Dec 10, 2020
@joaomoreno joaomoreno changed the title Get directory of VSCode for Portable Setup Settings: Get directory of VSCode for Portable Setup Dec 10, 2020
@sandy081 sandy081 added config VS Code configuration, set up issues and removed info-needed Issue requires more information from poster labels Dec 11, 2020
@sandy081
Copy link
Member

/duplicate

#2809

Variables in the settings are not supported out of the box. Right now extensions are resolving this by themselves.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
config VS Code configuration, set up issues *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants
@joaomoreno @sandy081 @lon91ong and others