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

Running a cell (Ctrl+Enter) should put us in Control mode #6198

Closed
cipri-tom opened this issue Jun 8, 2021 · 4 comments
Closed

Running a cell (Ctrl+Enter) should put us in Control mode #6198

cipri-tom opened this issue Jun 8, 2021 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@cipri-tom
Copy link

Expected behaviour

After running a cell with Ctrl + Enter, we can type b or a to add a new cell.

Actual behaviour

b or a is typed inside the cell

Steps to reproduce:

  1. While editing a cell, press Ctrl+Enter
  2. Press a or b

Environment data

  • VS Code version: 1.57.0-insider
  • Jupyter Extension version (available under the Extensions sidebar): v2021.6.914258744
  • Python Extension version (available under the Extensions sidebar): v2021.6.908196464-dev (pylance v2021.6.1-pre.1)
  • OS (Windows | Mac | Linux distro) and version: Local Mac, Remote Ubuntu 18.04
  • Python and/or Anaconda version: N/A
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jupyter server running: Remote
@cipri-tom cipri-tom added the bug Issue identified by VS Code Team member as probable bug label Jun 8, 2021
@joyceerhl
Copy link
Contributor

@cipri-tom Does ctrl+enter execute the current cell for you, or does it insert a new line and preserve the cell in edit mode? Are you working with markdown or code cells?

Possible duplicate of #6037

@IanMatthewHuff IanMatthewHuff added the info-needed Issue requires more information from poster label Jun 8, 2021
@cipri-tom
Copy link
Author

Yes, ctrl+enter executes the cell, but doesn't put in control mode.

This is for code cells.

For markdown, I cannot get them to render with Shift/Ctrl + Enter, but this is already covered in the other issue. My workaround to get them to render is to switch it to code (y), then back to MD (m), with an esc in between since y puts us in edit mode.

@IanMatthewHuff
Copy link
Member

I took a look and I repro the same thing. Ctrl+Enter works in Control mode and in Edit mode, but if you are in edit mode it stays in edit mode.

@IanMatthewHuff IanMatthewHuff removed the info-needed Issue requires more information from poster label Jun 10, 2021
@DavidKutu
Copy link

validated

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 18, 2021
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

No branches or pull requests

4 participants