cancel
Showing results for 
Search instead for 
Did you mean: 
Community Articles
Dive into a collaborative space where members like YOU can exchange knowledge, tips, and best practices. Join the conversation today and unlock a wealth of collective wisdom to enhance your experience and drive success.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks VS code extension to add cell title

smpa01
Contributor

I use the databricks extension in vs code for all my work. 

Is there any way for me to add a cell title from the extension itself?. There is no point in adding in the server version of this notebook cause when I sync the local to sever, it will overwrite the cell title created in the server notebook.

smpa01_0-1750343946018.png

smpa01_1-1750344072719.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

smpa01
Contributor

One needs to use # DBTITLE 1,cell_title in a py file

 

# COMMAND ----------

# DBTITLE 1,Title 1
from pyspark.sql import SparkSession
from delta.tables import DeltaTable
from pyspark.sql.functions import *

 

 

View solution in original post

2 REPLIES 2

SP_6721
Honored Contributor

Hi @smpa01 ,

Great question! I looked into it as well but couldn’t find a solution either. It might be worth raising this as a feature request to Databricks.

smpa01
Contributor

One needs to use # DBTITLE 1,cell_title in a py file

 

# COMMAND ----------

# DBTITLE 1,Title 1
from pyspark.sql import SparkSession
from delta.tables import DeltaTable
from pyspark.sql.functions import *