`def` keyword is not syntax highlighted
See original GitHub issueBug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur
- Open a new jupyter notebook in vscode
- Type
def a(): pass
in a cell
Actual behavior
def
keyword is not highlighted
Expected behavior
Should be blue
Your Jupyter and/or Python environment
Please provide as much info as you readily know
- Jupyter server running: Local
- Extension version: 2020.1.58038
- VS Code version: 1.41.1
- Setting python.jediEnabled: false
- Python version: Python 3.6.9 64-bit
- OS: Windows, but opened vscode in wsl
- Virtual environment: none
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
`def` keyword is not syntax highlighted · Issue #2417 - GitHub
Open a new jupyter notebook in vscode · Type def a(): pass in a cell ...
Read more >Monaco-Editor Some keywords are not highlighted
I feel the same language is randomly highlighted. the version is "monaco-editor": "0.18.1", "monaco-editor-webpack-plugin": "1.7.0 ...
Read more >Syntax Highlight Guide | Visual Studio Code Extension API
Syntax highlighting determines the color and style of source code displayed in the Visual Studio Code editor. It is responsible for colorizing keywords...
Read more >How can I fix "missing" syntax highlighting for Python ...
1 Answer 1 · In syntax/<filetype>.vim the syntax rules are defined with the :syntax command. This command defines, well, syntax. · :highlight says ......
Read more >Syntax highlighting - Wikipedia
Highlighting does not affect the meaning of the text itself; it is intended only for human readers. HTML syntax highlighting. Syntax highlighting is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s the VS code feature request we need to make this work: https://github.com/microsoft/vscode/issues/32813
And that’s probably why it doesn’t work. Our secondary hack is missing some tokens.