How to get syntax highlighting on Kivy, .kv, file in Pycharm on OSX?

Question:

What are the steps needed to get syntax highlighting on .kv files in PyCharm on OSX?

Asked By: Phil Andrews

||

Answers:

The import settings for PyCharm can be found here:
https://github.com/Zen-CODE/kivybits/tree/master/IDE

KV Lang File Type Support

  • Download this file
  • On Pycharm’s main menu, click “File”-> “Import” (or Import Settings)
  • Select this file and PyCharm will present a dialog with filetypes ticked. Click OK.
  • You are done. Restart PyCharm.
Answered By: Phil Andrews