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

Why Ctrl+Enter instead of Shift+Enter to run a cell? #29

Open
fzumstein opened this issue Sep 13, 2023 · 6 comments
Open

Why Ctrl+Enter instead of Shift+Enter to run a cell? #29

fzumstein opened this issue Sep 13, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@fzumstein
Copy link

fzumstein commented Sep 13, 2023

Jupyter notebook uses Shift+Enter so I am hitting that all the time before remembering that it is Ctrl+Enter with Python in Excel...

@fzumstein fzumstein changed the title Why Ctrl+Enter instead of Shift-Enter to run a cell? Why Ctrl+Enter instead of Shift+Enter to run a cell? Sep 13, 2023
@keyur32 keyur32 added the enhancement New feature or request label Sep 13, 2023
@keyur32
Copy link
Collaborator

keyur32 commented Sep 13, 2023

Thank you for the report. Marking as enhancement for the team to take under consideration.

@keyur32
Copy link
Collaborator

keyur32 commented Sep 13, 2023

One note is Shift+Enter was already taken by Excel formulas. It will commit the formula and move the cell up one row.

That said, we'll continue to look to see if there's folks working in Python that might be prefer Shift+enter instead of ctrl+enter while in Beta.

@ncalm
Copy link

ncalm commented Sep 13, 2023

Shift+Enter is "Run cell and create new or select cell below" in Jupyter notebooks and Ctrl+Enter is "Run cell".

For me at least, the latter and current implementation is more natural for "Run Python cell" in Excel.

@fzumstein
Copy link
Author

Fair point, so Shift+Enter should be introduced as an additional shortcut rather than replacing Ctrl-Enter to run the Excel cell and move the cursor to the next Python cell.

@SergeiStPete
Copy link

Just in case, in Power Pivot formula bar Shift+Enter means new line. For Excel data modellers it could be confusing to use it another way.

@fzumstein
Copy link
Author

One note is Shift+Enter was already taken by Excel formulas. It will commit the formula and move the cell up one row.

The counter argument to this is that Enter also reacts differently in a PY cell than with Excel formulas...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants