How to write same code in different locations in the DB notebook?

kodvakare
Databricks Partner

The old version of the notebook had this feature, where you could Ctrl+click on different positions in a notebook cell to bring the cursor there, and type to update the code in both the positions like in JupyterLab. The newer version is awesome but seems to lack this feature.

Is there any alternative way to do this?

  1. Old Databricks version, where you could simultaneously update the code in multiple positions like a Jupyter notebookOld DataBricks version, update in multiple positions like Jupyter IDE
  2. New Databricks version, can only update at a single position at once

imageThanks