Skip to content

appsinacup/godot-syntax-rust

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/libgodot_rust_syntax.dylib demo/addons/godot_syntax_rust/bin/libgodot_rust_syntax.macos.framework/libgodot_rust_syntax.macos.dylib

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

Releases

No releases published

Packages

No packages published