-
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
Native REPL should start on the project folder #23821
Comments
Looks like the |
As mentioned in #23656 (comment), working to set proper directory for when REPL launches. |
Resolves: #23727 Allow users to launch Native REPL via command palette. Will also be handling #23821 in this PR. -- setting proper workspace directory. Related: #23656 Covering scenarios: - Provide selection option if user is in multi-workspace scenario (already included in PR) - Automatically pick workspace as directory for context of REPL if user is in single-workspace scenario (already included in PR) - Handle case where user does not open any workspace and attempt to launch native REPL from plain/empty VS Code instance via command palette option (already included in PR)
This should be resolved as #23912 got merged. Feel free to give this a try in latest pre-release version of Python extension! @heliosdrm |
Moving this to a dedicated TPI since we want to make sure to cover all different scenario of: empty workspace, single workspace, multiple workspace scenario. |
After starting the native REPL:
does not return the project folder as expected, but the folder that contains the VS Code executable.
The text was updated successfully, but these errors were encountered: