Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Godot Snippets for C#New to Visual Studio Code? Get it now.
Godot Snippets for C#

Godot Snippets for C#

altamkp

|
5,465 installs
| (1) | Free
Godot code snippets for C#
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Godot Snippets for C#

Showcase

Provides a set of code snippets for Godot in C#.

Installation

Visual Studio Marketplace

Quick start

In any .cs files, start typing a prefix such as ready.

Suggestions

Press tab to select the snippet from the suggestions.

Ready

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);
}

draw

public override void _Draw() {
    base._Draw();
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft