<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to write same code in different locations in the DB notebook? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20577#M13901</link>
    <description>&lt;P&gt;Alt+click is working fine ​&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 19:13:11 GMT</pubDate>
    <dc:creator>SS2</dc:creator>
    <dc:date>2022-11-29T19:13:11Z</dc:date>
    <item>
      <title>How to write same code in different locations in the DB notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20572#M13896</link>
      <description>&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;Is there any alternative way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Old Databricks version, where you could simultaneously update the code in multiple positions like a Jupyter notebook&lt;span class="lia-inline-image-display-wrapper" image-alt="Old DataBricks version, update in multiple positions like Jupyter IDE"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1113i68FBA625A86E6C47/image-size/large?v=v2&amp;amp;px=999" role="button" title="Old DataBricks version, update in multiple positions like Jupyter IDE" alt="Old DataBricks version, update in multiple positions like Jupyter IDE" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;New Databricks version, can only update at a single position at once&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1116i45C1B10F61563E22/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 15:25:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20572#M13896</guid>
      <dc:creator>kodvakare</dc:creator>
      <dc:date>2022-11-25T15:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to write same code in different locations in the DB notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20573#M13897</link>
      <description>&lt;P&gt;Hi @Ashwath Kodvakare​&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess that is not dependent on the DBR versions. &lt;/P&gt;&lt;P&gt;However, using all the versions available till now, I'm still able to do a multi line select. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1114i567CD668D487FF80/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;But I'm still a bit interested in why you are facing this issue. Can you please paste the entire databricks window snapshot along with the cluster configuration you are using ? &lt;/P&gt;&lt;P&gt;Seeing the strings in brown color is what I want to verify once. Also verify if you are able to do a multi line select in some other application.&lt;/P&gt;&lt;P&gt;Do let me know the above status..&lt;/P&gt;&lt;P&gt;Cheers...&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 17:42:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20573#M13897</guid>
      <dc:creator>UmaMahesh1</dc:creator>
      <dc:date>2022-11-25T17:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to write same code in different locations in the DB notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20574#M13898</link>
      <description>&lt;P&gt;Hi @Ashwath Kodvakare​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies for my previous answer. I was a bit slow in using out the experimental features...lol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your issue, it is happening because you are using an &lt;B&gt;experimental feature&lt;/B&gt; where databricks is trying to use &lt;B&gt;Monaco &lt;/B&gt;editor, which is the same as VS code. &lt;/P&gt;&lt;P&gt;In this editor,&lt;B&gt; instead of Ctrl+click&lt;/B&gt;, you have to use &lt;B&gt;Alt key and click&lt;/B&gt; in each location to achieve what you are trying to do. &lt;/P&gt;&lt;P&gt;Do read the documentation for more help.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/notebooks/notebook-editor.html" target="test_blank"&gt;https://docs.databricks.com/notebooks/notebook-editor.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. Also please don't forget to mark this as an answer if you found what you are expecting.&lt;/P&gt;&lt;P&gt;Cheers..&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2022 08:20:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20574#M13898</guid>
      <dc:creator>UmaMahesh1</dc:creator>
      <dc:date>2022-11-26T08:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to write same code in different locations in the DB notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20575#M13899</link>
      <description>&lt;P&gt;Hi, @Uma Maheswara Rao Desula​,&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Alt + Click&lt;/B&gt; worked with the new editor. I will surely check out the Monaco editor.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 04:47:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20575#M13899</guid>
      <dc:creator>kodvakare</dc:creator>
      <dc:date>2022-11-28T04:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to write same code in different locations in the DB notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20576#M13900</link>
      <description>&lt;P&gt;I was looking for the same.. great thq​&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 19:12:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20576#M13900</guid>
      <dc:creator>SS2</dc:creator>
      <dc:date>2022-11-29T19:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to write same code in different locations in the DB notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20577#M13901</link>
      <description>&lt;P&gt;Alt+click is working fine ​&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 19:13:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-same-code-in-different-locations-in-the-db-notebook/m-p/20577#M13901</guid>
      <dc:creator>SS2</dc:creator>
      <dc:date>2022-11-29T19:13:11Z</dc:date>
    </item>
  </channel>
</rss>

