`bash
java -version
`
- Community or Ultimate Edition 2023.2 or later
./gradlew buildPlugin
The plugin will be generated in build/distributions/moxie-intellij-plugin-1.0.0.zip.
./gradlew runIde
This launches a new IntelliJ IDEA instance with the plugin loaded for testing.
./gradlew verifyPlugin
Checks the plugin for compatibility issues.
./gradlew clean
./gradlew buildPluginbuild/distributions/moxie-intellij-plugin-1.0.0.ziprunIde Gradle task.mx extensionexample.mx to test syntax highlighting - Syntax highlighting for keywords, types, functions
- Line comments (//) and block comments (/* */)
- Brace matching
- Code folding
- Comment/uncomment actions (Ctrl+/ or Cmd+/)
After installation:
moxie-intellij-plugin/
├── build.gradle.kts # Build configuration
├── settings.gradle.kts # Project settings
├── gradle.properties # Plugin properties
├── src/
│ └── main/
│ ├── kotlin/
│ │ └── com/moxie/lang/ # Plugin source code
│ └── resources/
│ ├── META-INF/
│ │ └── plugin.xml # Plugin descriptor
│ └── icons/ # File icons
├── example.mx # Example Moxie file
├── README.md # User documentation
└── BUILDING.md # This file
Ensure you're using JDK 17 or later:
export JAVA_HOME=/path/to/jdk-17
./gradlew buildPlugin
.mx.mx is associated with MoxieTo publish to the JetBrains Plugin Marketplace:
`bash
export PUBLISH_TOKEN=your-token
`
`bash
./gradlew publishPlugin
`
./gradlew runIde to test./gradlew buildPlugin