Skip to content

Shift+enter does not send selection to Python REPL #22545

Closed

Description

@joyceerhl

Testing #22533

  1. Have selection in Python file and a regular terminal open (no REPL yet)
  2. Shift+enter
  3. 🐛 a Python REPL is created, but the selection is not sent. I have to shift+enter again

Activity

  1. anthonykim1 commented on Dec 12, 2023

    @anthonykim1

    does selection wrongly goes to Terminal instead, or simply get ignored entirely?

  2. joyceerhl commented on Dec 12, 2023

    @joyceerhl
    Author

    It's completely ignored

  3. anthonykim1 commented on Dec 13, 2023

    @anthonykim1

    There was similar issue where commands would go to shell, but im not sure if they are related. #22499
    Can you try opting into "pythonTerminalEnvVarActivation" by adding

    "python.experiments.optInto": ["pythonTerminalEnvVarActivation"],
    

    in your settings.json and see if you still get the behavior? Thanks

  4. joyceerhl commented on Dec 13, 2023

    @joyceerhl
    Author

    Still doesn't work for me

  5. anthonykim1 commented on Dec 13, 2023

    @anthonykim1

    thank you for checking!

  6. added a commit that references this issue on Feb 17, 2024
    e53651d
  7. locked as resolved and limited conversation to collaborators on Mar 18, 2024
  8. added 2 commits that reference this issue on Mar 28, 2024
    d822c25
    c976f74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions