-
Notifications
You must be signed in to change notification settings - Fork 1.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
Change public API for execution to return an object and provide a callback which is called when interpreter setting changes #12596
Comments
Tracking the issue for documenting the API microsoft/vscode-docs#3829 Code runner changes: formulahendry/vscode-code-runner#635 |
/cc @jakebailey |
Seems good. I would have maybe had the event include the new info, but maybe it's too expensive and users should just requery if needed. @erictraut For awareness. |
@jakebailey it's a possibility. It's one of those tricky things where we are trying to design for the future which means decomposing way more than we would if we were designing just for today. |
@jakebailey We can send just pythonPath for now but as Brett pointed out, as the API begins to include more details, all of the execution details won't be readily available when firing the events. |
Also, the default VSCode setting change event API do not include the new info, so we are just keeping up with the trend 🙂 |
Fine with me. |
Hi! Would be great if That can be identified using the path from
I have a use case where I need to get the conda env prefix during runtime of a conda Python process even if the conda env has not been activated. If there is a more stable way to do that, let me know, please. Cheers, |
@jamilraichouni I have opened up a new issue #13044 for you, we'll let you know our thoughts there. |
According to the announcement made by the vscode-python extension microsoft/vscode-python#12596, the new user setting python.defaultInterpreterPath can be used instead of the existing python.pythonPath
According to the announcement made by the vscode-python extension microsoft/vscode-python#12596, the new user setting `python.defaultInterpreterPath` can be used instead of the existing `python.pythonPath` Fix vscode-restructuredtext#222
According to the announcement made by the vscode-python extension, it is not posible to use the pythonPath setting anymore. Therefore, it is necessary to make use of the API provided by the vscode-python extension microsoft/vscode-python#12596 Fix vscode-restructuredtext#222
According to the announcement made by the vscode-python extension, it is not posible to use the pythonPath setting anymore. Therefore, it is necessary to make use of the API provided by the vscode-python extension microsoft/vscode-python#12596 Fix vscode-restructuredtext#222
According to the announcement made by the vscode-python extension, it is not posible to use the pythonPath setting anymore. Therefore, it is necessary to make use of the API provided by the vscode-python extension microsoft/vscode-python#12596 Fix vscode-restructuredtext#222
According to the announcement made by the vscode-python extension, it is not possible to use the pythonPath setting anymore. Therefore, it is necessary to make use of the API provided by the vscode-python extension microsoft/vscode-python#12596 Fix vscode-restructuredtext#222
Old design: #11294
Want to have a public API that returns an object which initially contains an array of strings for the command to execute a Python interpreter. The expectation is we may need to include environment variable details at some point. Update the API as follows,
The text was updated successfully, but these errors were encountered: