Skip to content

jacogasp/intellij-qml

 
 

Repository files navigation

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!

About

QML support for IntelliJ-based IDEs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 89.6%
  • Lex 8.0%
  • Java 2.4%