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

Regression: Ctrl+Enter not running current line in the editor #1875

Closed
kraigb opened this issue Jun 5, 2018 · 4 comments · Fixed by #1961
Closed

Regression: Ctrl+Enter not running current line in the editor #1875

kraigb opened this issue Jun 5, 2018 · 4 comments · Fixed by #1961
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@kraigb
Copy link

kraigb commented Jun 5, 2018

  • VS Code version: 1.23.1
  • Extension version (available under the Extensions sidebar): 2018.05.0
  • OS and version: Windows 10

n the previous release, following #1349, Ctrl+Enter worked in the editor with and without a selection.

With the May release, Ctrl+Enter works for a selection, but not without a selection, in which case it inserts a new line after the current line.

Perhaps this is a side effect of another keyboard binding interfering? It looks like the "Insert Line Below" command is taking precedence.

@brettcannon brettcannon added bug Issue identified by VS Code Team member as probable bug needs verification labels Jun 6, 2018
@brettcannon brettcannon added this to the June 2018 milestone Jun 6, 2018
@d3r3kk
Copy link

d3r3kk commented Jun 11, 2018

Verified that this is being ignored in favour of 'Insert Line Below' in VSCode:

ctrl_enter_not_working_as_expected

It works if you use the command palette to run the command, but it does not work with the stated hotkey Ctrl+Enter.

@DonJayamanne
Copy link

DonJayamanne commented Jun 11, 2018

How about going with ctrl+alt+enter?
This key binding works only for Python files (in the editor window).

@qubitron
Copy link

I'm not seeing anything for Shift+Enter: https://code.visualstudio.com/docs/getstarted/keybindings

@DonJayamanne were you seeing shift+enter taken on the mac?

@DonJayamanne
Copy link

DonJayamanne commented Jun 13, 2018

Nothing, that feels like a better option (one less key).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants