In any .cs files, start typing a prefix such as ready.
Press tab to select the snippet from the suggestions.
Available snippets
Node Template
Prefix
Body
node
using Godot;
public partial class CustomNode : Node {
public override void _Ready() {
base._Ready();
}
public override void _Process(double delta) {
base._Process(delta);
}
}
Utilities
Prefix
Body
print
GD.Print();
Exported properties
Prefix
Body
export
[Export] private Node _node;
exportg
[ExportGroup("")]
exportsg
[ExportSubgroup("")]
exportc
[ExportCategory("")]
Lifecycle virtual methods
Prefix
Body
entertree
public override void _EnterTree() {
base._EnterTree();
}
ready
public override void _Ready() {
base._Ready();
}
process
public override void _Process(double delta) {
base._Process(delta);
}
processp
public override void _PhysicsProcess(double delta) {
base._PhysicsProcess(delta);
}
exittree
public override void _ExitTree() {
base._ExitTree();
}
Input virtual methods
Prefix
Body
input
public override void _Input(InputEvent @event) {
base._Input(@event);
}
inputs
public override void _ShortcutInput(InputEvent @event) {
base._ShortcutInput(@event);
}
inputu
public override void _UnhandledInput(InputEvent @event) {
base._UnhandledInput(@event);
}
inputg
public override void _GuiInput(InputEvent @event) {
base._GuiInput(@event);
}
Other virtual methods
Prefix
Body
noti
public override void _Notification(int what) {
base._Notification(what);
}