Skip to content

Go to next line #14695

Closed
Closed

Description

@scenapp

(Using Terminal)

Currently, executing a line - stays on the current line.

Is it possible to have the same behavior as Pycharm (or many other REPLs - even Visual studio + PTVS), where by the cursor moves to the next line.

This saves a considerable amount of time.

Other issue is that executing a code block like a function, does not finish entry in the to the terminal. This require, either to select two additional lines after the function ends or to manually add enter in the terminal. Toggling between terminal and editor is a killer.

Activity

  1. added
    triage-neededNeeds assignment to the proper sub-team
    feature-requestRequest for new features or functionality
    on Nov 11, 2020
  2. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Nov 12, 2020
  3. karthiknadig commented on Nov 12, 2020

    @karthiknadig
    Member

    Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

  4. added
    help wantedIssues identified as good community contribution opportunities
    and removed on Dec 16, 2020
  5. ghost added
    triage-neededNeeds assignment to the proper sub-team
    on Dec 16, 2020
  6. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Dec 16, 2020
  7. andycraig commented on Dec 22, 2020

    @andycraig

    This would be great! There is some discussion of this feature at microsoft/vscode-jupyter#1471. It seems like the conclusion was to add a new command that executes and moves to the next line, to which users could add a keybinding if they wanted.

    This feature would ideally exist for both Python: Run Selection/Line in Python Terminal and Jupyter: Run Selection/Line in Interactive Window.

  8. Poduval commented on Mar 30, 2023

    @Poduval

    This would be very useful, a must need feature.

  9. starball5 commented on Nov 21, 2023

    @starball5

    Related on Stack Overflow: VS Code Python move to next line on run ctrl + enter.

    Also, it's interesting to me that this is going forward when #13495 was declined. Or was it only declined because it would be changing default behaviour of an established keybinding? ... But is this feature-request not also requesting to change default behaviour?

  10. starball5 commented on Nov 23, 2023

    @starball5

    weirdness: people on Stack Overflow have reported twice recently that they are now observing this behaviour by default...

    I'm assuming that's a bug, but I can't reproduce it on my end, so I can't be of much use raising an issue ticket. If anyone ends up raising an issue ticket about that, please ping me in it so I can follow along.

  11. anthonykim1 commented on Dec 13, 2023

    @anthonykim1

    Hi everyone, cursor moving to the next executable code block (#21838) with shift+enter is default behavior with new feature "Smart Send". I do realize not everyone enjoys using this feature so there is a setting to turn this off if you search 'repl' in extension setting, there is a toggle on/off for REPL smart send.
    Screenshot 2023-12-13 at 3 57 46 PM

  12. locked as resolved and limited conversation to collaborators on Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-editor-*User-facing catch-allfeature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunities

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions