Description
Shift+Enter on the last notebook cell runs it and inserts a new cell below. By default the new cell is a Python cell regardless of the previous cell’s type.
Suggested solution
That’s usually fine after a Markdown cell, as I think users rarely add multiple Markdown cells in a row. But for SQL cells, it’s reasonable to expect the next cell to match the previous one.
I know that the shortcut F4 can change the cell type, but I think it's more useful when inserting via "create cell before/after" shortcut, and Shift + Enter is more about "momentum", when running and creating cells in sequence, and this change could improve the flow.
Are you willing to submit a PR?
Alternatives
No response
Additional context
No response