markusmo3 / intellij-gdscript

Godot Engine and GDScript support plugin for IntelliJ based IDEs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GDScript plugin for IntelliJ IDEA Build Plugin

Screenshot

Features

  • Syntax highlighting
  • Code completion
  • res:// completion
  • Syntax-aware code selection
  • Run scene

Installation

  1. Download the latest build artifact from the "Build Plugin" Github Action
  2. Start IntelliJ, navigate to Settings | Plugins | ⚙️ | Install plugin from disk....
  3. Find the downloaded zip file and restart IDE.

Alternatively, download latest version from official plugins repository. Release might be outdated so it's not recommended.

Plugin works with all IntelliJ-based IDEs starting from v2019.2.

Usage & Development

  • ./gradlew buildPlugin - builds the plugin distribution to build/distributions/intellij-gdscript.zip
  • ./gradlew runIde - run sandbox with installed plugin. First run may take a while.
  • ./gradlew test - run all tests.
  • ./gradlew generateGrammarSource - generate ANTLR lexer and parser Java class.
  • ./gradlew generateCompletion - update Godot Engine API completion file.
  • ./gradlew generateLexer - update ANTLR lexer rules with language-level functions, constants and types.
  • ./gradlew downloadDocumentation - scrape & download documentation XML files from Godot Engine GitHub repository (used for completion).
  • ./gradlew publishPlugin - publish plugin to official JetBrains repository. Requires token located in gradle.properties.

Issues and pull requests are welcome. 👋

About

Godot Engine and GDScript support plugin for IntelliJ based IDEs

License:MIT License


Languages

Language:Kotlin 79.5%Language:ANTLR 20.5%