diff options
author | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-02-19 12:41:37 +0100 |
---|---|---|
committer | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-02-19 12:43:15 +0100 |
commit | 756a48023f59bbdb78601ec7f506848eb547e022 (patch) | |
tree | 25d864710af4f5d5add29b18ee4592cf06c76498 /modules/mono | |
parent | 9ad8dfa6cc1ce55adaabe5336fa2c52fdc74ed0f (diff) |
C#: Fix line position when opening file in VSCode
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs b/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs index 060c01b3f9..c267d32f5a 100644 --- a/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs +++ b/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs @@ -279,7 +279,7 @@ namespace GodotTools if (line >= 0) { args.Add("-g"); - args.Add($"{scriptPath}:{line}:{col}"); + args.Add($"{scriptPath}:{line + 1}:{col + 1}"); } else { |