Skip to content

likianta/pycharm-qml-keywords-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCharm QML Enhancement

Enable QML (Qt Modeling Language) syntax highlight and code completion in PyCharm.

Screenshots

Syntax highlight

Code completion

How To Use

  1. Download pycharm-qml-keywords-highlight.md

  2. Open PyCharm settings - Editor - File Types, click the 'add' button. You will see the dialog pane

  3. Enable options like below

  4. Open the downloaded file, copy its content, paste to PyCharm dialog pane like below

  5. And add *.qml file types

  6. Now you can see the code highlighted in .qml ^_^

Notice

  1. The source keywords are extracted from Qt 5.15. Be notice that some modules and properties are not available in Qt 6.0. You may find the difference by checking Qt offical documentation.
  2. The code completion is not perfect, since it always dumps all matched keywords as you typed, regardless which module or which component you're using.

Compile From Source

See Developer Guide.