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: 

toml file syntax highlighting

ChristianRRL
Valued Contributor

Hi there, I'm curious if there's a way for Databricks to support syntax highlighting for a language that is currently not supported in our DBX configuration. For example, I'm using .toml files, but Databricks doesn't understand it and displays it as simple text:

ChristianRRL_0-1743447583140.png

In contrast, if I take my file and rename it to another file extension (such as .yaml), I get the correct syntax highlighting for that language:

ChristianRRL_1-1743447614420.png

Toml has been around for quite a while already, so I'm hoping this is a "solved" problem at this point, but after some initial web searching I couldn't find anything on this.

Any help on this would be greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions

Advika
Databricks Employee
Databricks Employee

Hello @ChristianRRL!

Sorry for the delayed response. Databricks currently does not support syntax highlighting for .toml files. As a workaround, you can edit toml files in external editors like VS code (with plugins) and sync them to Databricks using Repos.

I’ll share your feedback with the team and see if we can support this in the future.

View solution in original post

3 REPLIES 3

ChristianRRL
Valued Contributor

Very small additional context, per the toml home page, this is the kind of syntaxt highlighting I would hope Databricks supports in some way/shape/form:

ChristianRRL_0-1743448016634.png

 

Advika
Databricks Employee
Databricks Employee

Hello @ChristianRRL!

Sorry for the delayed response. Databricks currently does not support syntax highlighting for .toml files. As a workaround, you can edit toml files in external editors like VS code (with plugins) and sync them to Databricks using Repos.

I’ll share your feedback with the team and see if we can support this in the future.

ChristianRRL
Valued Contributor

Ah I see. I have to admit I was hoping that I was missing something on my end, and that this would have been a simple fix somewhere in our workspace/configuration.

Thank you for listening and sharing the feedback with your team, I do hope that this is supported in the future!

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now