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

Ensure Python Terminal Shell Integration setting is effective without reloading #24373

Closed
anthonykim1 opened this issue Nov 1, 2024 · 2 comments · Fixed by #24826
Closed
Assignees
Labels
area-repl area-terminal feature-request Request for new features or functionality linux macos verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@anthonykim1
Copy link

Perhaps there are ways we can allow user to receive expected behavior depending on their settings for Python enable shell integration.
This way they wont have to refresh/reload in order to get the updated behavior.

@anthonykim1
Copy link
Author

anthonykim1 commented Feb 24, 2025

Verification steps(Mac and Linux ONLY):

  1. Make sure you are on the latest pre-release version of Python extension.
  2. Test this on Python version smaller than 3.13 (So your_python_version < 3.13.0)
  3. Enable python.terminal.shellIntegration.enabled to true (check both user, workspace setting) and launch a new terminal.
  4. In that newly launched terminal, open Python Terminal REPL (The one with >>>), via command palette or via typing python in your terminal.
  5. Make sure you are getting shell integration in your Python REPL in Terminal (easiest giveaway is the blue,red dots)
  6. Do the reverse and go from shell integration enabled to disabled for Python REPL and see your setting is effective in new terminal without having to reload.

@karthiknadig karthiknadig changed the title Ensure Python Terminal Shell Integration setting is effective without reloading; Ensure Python Terminal Shell Integration setting is effective without reloading Feb 25, 2025
@karthiknadig karthiknadig added the verification-needed Verification of issue is requested label Feb 25, 2025
@rzhao271 rzhao271 added verified Verification succeeded and removed verified Verification succeeded labels Feb 25, 2025
@roblourens roblourens added the verified Verification succeeded label Feb 26, 2025
@roblourens
Copy link
Member

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-repl area-terminal feature-request Request for new features or functionality linux macos verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
4 participants