Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/exigow/intellij-gdscript

Godot Engine and GDScript support plugin for IntelliJ based IDEs
https://github.com/exigow/intellij-gdscript

gdscript godot intellij-plugin

Last synced: 26 days ago
JSON representation

Godot Engine and GDScript support plugin for IntelliJ based IDEs

Awesome Lists containing this project

README

        

# GDScript plugin for IntelliJ IDEA [![Build Plugin](https://github.com/exigow/intellij-gdscript/workflows/Build%20Plugin/badge.svg)](https://github.com/exigow/intellij-gdscript/actions?query=workflow%3A%22Build+Plugin%22) [![Download](https://img.shields.io/jetbrains/plugin/d/13107-gdscript.svg)](https://plugins.jetbrains.com/plugin/13107-gdscript)

![Screenshot](https://i.imgur.com/WLLXkf4.png)

Works with all IntelliJ-based IDEs. List of available features is [here](src/main/resources/META-INF/plugin.xml).

## Usage & Development

* `./gradlew runIde` - run sandbox with installed plugin
* `./gradlew test` - run plugin tests
* `./gradlew buildPlugin` - build plugin distribution to `build/distributions/intellij-gdscript.zip`
* `./gradlew publishPlugin` - publish plugin to official JetBrains repository
* `./update-api.sh 3.2 3.3 3.4 3.5 4.0 4.1` - update completion data for listed versions

### How to update grammars with Grammar-Kit plugin

* To update parser use *Generate Parser Code* option on `.bnf` file
* To update lexer use *Run JFlex Generator* option on `.flex` file

### How to install plugin manually

1. Build plugin from sources, download [latest stable version](https://plugins.jetbrains.com/plugin/13107-godot-gdscript/versions) or any [GitHub Actions artifact](https://github.com/exigow/intellij-gdscript/actions)
2. Navigate to: *Settings* | *Plugins* | :gear: | *Install plugin from disk...*

### How to fix `Mixed tabs and spaces in indentation` error

To prevent mixing tabs (Godot defaults) with 4-space indents (IDE defaults), add `.editorconfig` file to your project directory:

```editorconfig
[*.gd]
indent_style = tab
```