Skip to content

Edit and Build Rust Code directly inside Godot Editor.

License

Notifications You must be signed in to change notification settings

appsinacup/gdrust-syntax

Repository files navigation

Rust Syntax for Godot

Note: This is still WIP

Godot Rust Syntax


Rust Syntax Support inside Godot Editor.


Godot Rust Syntax offers support to edit .rs files inside the Godot Editor. Also offers support to view warnings and errors in Rust code directly inside the Godot Editor.

Installation

  • Automatic (Recommended): Download the plugin from the official Godot Asset Store using the AssetLib tab in Godot:

    • TODO
  • Manual: Download the latest github release and move only the addons folder into your project addons folder.

Platforms

  • Windows (x86_64, x86_32)
  • macOS (x86-64 + arm64 Universal)
  • Linux (x86_64)

How to build

Requirements:

  1. Update dependencies to latest:
cargo update
  1. Build the project
cargo build --release
  1. Copy the output to bin folder of the addon:

Eg. macOS

cp target/release/librust_syntax.dylib demo/addons/rust-syntax/bin/librust_syntax.macos.framework/librust_syntax.macos.dylib

For the correct path to use inside the bin folder, look inside the demo/addons/rust-syntax.gdextension.

Releases

No releases published

Packages

No packages published