Skip to content

QML syntax highlighting - #4263

Open
roundedrectangle wants to merge 6 commits into
micro-editor:masterfrom
roundedrectangle:patch-1
Open

roundedrectangle wants to merge 6 commits into
micro-editor:masterfrom
roundedrectangle:patch-1

Conversation

@roundedrectangle

Copy link
Copy Markdown

Add QML and qmldir syntax highlighting. QML syntax highlighting file is based on the JavaScript one. It's not ideal, but it works.

@Andriamanitra Andriamanitra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When trying this out on some of my own QML files I noticed that keywords readonly and required are not being highlighted. Comparing to qml.vim and QML.sublime-syntax it seems to be missing a lot more too.

Comment thread runtime/syntax/qml.yaml Resolved
Comment thread runtime/syntax/qml.yaml Resolved
Comment thread runtime/syntax/qml.yaml Resolved
@roundedrectangle

roundedrectangle commented Oct 16, 2026 •

Copy link
Copy Markdown
Author

When trying this out on some of my own QML files I noticed that keywords readonly and required are not being highlighted. Comparing to qml.vim and QML.sublime-syntax it seems to be missing a lot more too.

Yeah, added those and a few others now. Thanks!

Comment thread runtime/syntax/qml.yaml Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants