Skip to content

QML support for IntelliJ-based IDEs

License

Notifications You must be signed in to change notification settings

xplwowi/intellij-qml

 
 

Repository files navigation

QML support for IntelliJ-based IDEs

Build status

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!

About

QML support for IntelliJ-based IDEs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 89.2%
  • Lex 8.4%
  • Java 2.4%