You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure who's at fault here (if anyone), but learning Kivy and trying to use this extension I couldn't figure out why syntax highlighting wasn't working for me.
Uninstalling the 'Python-Kivy-snippets' addon (v1.0.7 in my case) solved this and now highlighting works as expected.
The text was updated successfully, but these errors were encountered:
Looks like the extension Python-Kivy-snippets is overriding the language configuration of this extension kivy-vscode.
To get them both working together what you can do is configure the language for ".kv" files to use "kivy" instead of the language defined in the Python-Kivy-snippets which is KvLang which doesn't have syntax highlighting. Here is a guide to change the language of the selected file: https://code.visualstudio.com/docs/languages/overview#_changing-the-language-for-the-selected-file
For syntax highlighting this is what you want:
An even better solution would be to enhance this extension with the snippets you would like to use. This extension already has some Kivy snippets defined you can use, the complete list is here: https://github.com/BattleBas/kivy-vscode/tree/master/snippets Feel free to make a pull requests if you would like to add some yourself it should just be an additional json file, or just let me know what snippets you would like to see added.
Example of the snippets this extension already includes:
Not sure who's at fault here (if anyone), but learning Kivy and trying to use this extension I couldn't figure out why syntax highlighting wasn't working for me.
Uninstalling the 'Python-Kivy-snippets' addon (v1.0.7 in my case) solved this and now highlighting works as expected.
The text was updated successfully, but these errors were encountered: