mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +03:00
10 lines
288 B
TypeScript
10 lines
288 B
TypeScript
import { workspace } from "vscode";
|
|
|
|
export function get_configuration(name: string, default_value: any = null) {
|
|
return workspace.getConfiguration("godot_tools").get(name, default_value);
|
|
}
|
|
|
|
export function is_debug_mode(): boolean {
|
|
return process.env.VSCODE_DEBUG_MODE === "true";
|
|
}
|