cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Run selected text shortcut not working

597581
New Contributor III

The keyboard shortcut to run selected text (ctrl + shift + enter) has not been working for me since yesterday (10/31/24). Instead of running the selected text, databricks notebooks are treating it like shift + enter and running the entire cell. I have tested this on multiple keyboards, as well as having a colleague test it on their own machine and notebook, so I don't believe this is a local issue. Any one with similar experiences, or a solution for this problem?

1 ACCEPTED SOLUTION

Accepted Solutions

Alberto_Umana
Databricks Employee
Databricks Employee

Folks, could you please double-check now, issue should be fixed now.

Thanks!

View solution in original post

22 REPLIES 22

Alberto_Umana
Databricks Employee
Databricks Employee

Hello @597581,

Greetings from Databricks. I just tried to replicate the same behavior in different environments and it is working as expected. I will dig internally and get back to you.

597581
New Contributor III

As another user mentioned below, this error is seen in python notebooks. Not sure if it exists in the other languages.

Sean_dbx
New Contributor II

I have the same issue.

Paulius
New Contributor III

Same issue here

CharP
New Contributor III

I have the same issue! it runs all the cell instead of the selected area...

Paulius
New Contributor III

@Alberto_Umana just wandering if there is any update on this? I've noticed that the issue only persists exclusively in Databricks Python notebook environment. In comparison, within SQL, Control+Shift+Enter works as usual, running single line of code.

Same here.

Rafael Sousa

To work in Python, I was only able to get it to run by clicking on the palette options in the notebook cell and selecting the option to execute the selected text.

Rafael Sousa

Kenan_
New Contributor II

Hi Everyone, I have exactly the same issue. Friday 31st I was running with Ctrl + Shift + Enter, today 11/04 i cannot do it anymore

hrushi_chavan_8
New Contributor II

I have an same issue 

 

dylanours
New Contributor II

Same issue here.

LLL1
New Contributor II

Same issue

DC
New Contributor II

same here please fix this issue DB

100databricks
New Contributor III

I have the same issue. This makes developing very inconvenient. Please fix.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group