godotengine / godotengine/emacs-gdscript-mode

Running EditorScripts?

Open
#168 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
401
Forks
42
Avg merge
23h 23m
Merged PRs (30d)
1

Description

Is there a way to run scripts in tool mode? I am having trouble running this example:

```
@tool
extends EditorScript

func _run():
print("Hello from the Godot Editor!")
```

from https://docs.godotengine.org/en/stable/classes/class_editorscript.html

I get a `No standalone script found.` when I try to run `gdscript-godot-run-current-script` (which I assume is the equivalent of `godot -s `). Note that I don't use Hydra.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.