- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 05:56 AM
Is it possible to get syntax linting in a DB notebook? Say with flake8, like I do in VS code?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 07:03 AM
No linting in a DB notebook available for now.
The Notebook is currently in the process of adopting Monaco as the underlying code editor which will offer an improved code authoring experience for notebook cells.
Some of the Monaco editor features enabled in the notebook include :
- Completions as you type
- Object inspection on mouse hover
- Code folding
- Multi-cursor support
- Column (box) selection
- Bracket-matching
- Side-by-side diffs in revision history
- Improved find-and-replace
- Better accessibility support
Need to wait for linting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 06:43 AM
Hi, syntax highlighting is possible, you can refer: https://docs.databricks.com/notebooks/notebooks-code.html.
Please let us know if this helps. Also, please tag @Debayan with your next comment so that I will get notified. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 07:41 AM
Hi @Debayan Mukherjee, I don't see anything about linting in Python in that link?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 07:03 AM
No linting in a DB notebook available for now.
The Notebook is currently in the process of adopting Monaco as the underlying code editor which will offer an improved code authoring experience for notebook cells.
Some of the Monaco editor features enabled in the notebook include :
- Completions as you type
- Object inspection on mouse hover
- Code folding
- Multi-cursor support
- Column (box) selection
- Bracket-matching
- Side-by-side diffs in revision history
- Improved find-and-replace
- Better accessibility support
Need to wait for linting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 07:07 AM
Thanks @Artem Sheiko

