<?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: SQL Notebook Tab Spacing in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/sql-notebook-tab-spacing/m-p/82413#M36641</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/115067"&gt;@KFries&lt;/a&gt;,&amp;nbsp;It sounds like you're dealing with a common issue with tab spacing in Databricks SQL notebooks. Databricks uses 2 spaces per tab by default, and while you can't change this setting globally, you can manually format your notebook via the "Edit &amp;gt; Format Notebook" option. If you're also using IntelliJ, ensure your tab and indentation settings there match your preferences for Databricks. For consistent formatting across tools, set up your `.editorconfig` file to enforce 2-space indentation in SQL files and use GitHub integration to maintain uniformity. Always format your code before committing to GitHub to keep things clean and consistent.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have any more specific issues or need further assistance, feel free to ask!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 15:14:45 GMT</pubDate>
    <dc:creator>Retired_mod</dc:creator>
    <dc:date>2024-08-08T15:14:45Z</dc:date>
    <item>
      <title>SQL Notebook Tab Spacing</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-notebook-tab-spacing/m-p/82093#M36514</link>
      <description>&lt;P&gt;My SQL notebooks in databricks suffer from having at least several different counts of spaces between tab marks.&amp;nbsp; It makes it very difficult to maintain pretty code spacing.&amp;nbsp; What sets the tab spacing in SQL language notebooks, and how is it set/adjusted?&amp;nbsp; Also, I co-edit the notebooks using git/github and intelliJ (which could be a source of the problem), but I want the indenting to be correct for my tastes as rendered in the databricks notebook because that's where I run it with data.&amp;nbsp; I am constantly adjusting spacing using the ctrl-squarebracket shortcuts.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 21:14:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-notebook-tab-spacing/m-p/82093#M36514</guid>
      <dc:creator>KFries</dc:creator>
      <dc:date>2024-08-06T21:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Notebook Tab Spacing</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-notebook-tab-spacing/m-p/82413#M36641</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/115067"&gt;@KFries&lt;/a&gt;,&amp;nbsp;It sounds like you're dealing with a common issue with tab spacing in Databricks SQL notebooks. Databricks uses 2 spaces per tab by default, and while you can't change this setting globally, you can manually format your notebook via the "Edit &amp;gt; Format Notebook" option. If you're also using IntelliJ, ensure your tab and indentation settings there match your preferences for Databricks. For consistent formatting across tools, set up your `.editorconfig` file to enforce 2-space indentation in SQL files and use GitHub integration to maintain uniformity. Always format your code before committing to GitHub to keep things clean and consistent.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have any more specific issues or need further assistance, feel free to ask!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 15:14:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-notebook-tab-spacing/m-p/82413#M36641</guid>
      <dc:creator>Retired_mod</dc:creator>
      <dc:date>2024-08-08T15:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Notebook Tab Spacing</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-notebook-tab-spacing/m-p/97788#M39547</link>
      <description>&lt;P&gt;I’m experiencing the same issue with SQL cell indentation in Databricks notebooks. While editing, I’ve noticed that the indentation level can vary from one cell to another - sometimes it’s two spaces, other times it’s four. This inconsistency makes it challenging to maintain a uniform look across SQL cells.&lt;/P&gt;&lt;P&gt;It would be helpful if there were a dedicated parameter for SQL cell indentation, similar to the existing “Indentation for Python cells in new notebooks (in spaces)” option for Python cells.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 16:09:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-notebook-tab-spacing/m-p/97788#M39547</guid>
      <dc:creator>louisv-bambaw</dc:creator>
      <dc:date>2024-11-05T16:09:36Z</dc:date>
    </item>
  </channel>
</rss>

