Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (20 loc) · 1.09 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.09 KB

Plugin is no longer supported

QML support for IntelliJ-based IDEs

QML support plugin

Development

The plugin is built using Gradle and uses gradle-intellij-plugin to integrate with IntelliJ Platform.

To build a plugin run

$ ./gradlew buildPlugin

Plugin zip file will be created in build/distributions

To test plugin in IDE run ./gradlew runIdea

Grammar modifications

The plugin uses Grammar-Kit to generate parser and lexer. Please install Grammar-Kit plugin and refer to the documentation if you want to modify the grammar.

To regenerate parser, open qml.bnf and press Ctrl+Shift+G (Cmd+Shift+G on Mac) To regenerate lexer, open qml.flex and press Ctrl+Shift+G (Cmd+Shift+G on Mac)

Please make sure to add a test to QmlParserTest.kt for any parser changes.

Contribution

Plugin is written in Kotlin.

Pull requests are welcome!