diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-02-19 20:15:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 20:15:09 +0300 |
commit | 9f68d06ec2d8dbeb237c5aa5c6f9bbcbe26bde5d (patch) | |
tree | c4b73517e81c33201048b7903e4c8fb70d306c46 /modules | |
parent | 8357ddef6cdb3ea8ea9d3a713a8c84359157cf70 (diff) | |
parent | 756a48023f59bbdb78601ec7f506848eb547e022 (diff) |
Merge pull request #73584 from RedworkDE/net-vscode-line
C#: Fix line position when opening file in VSCode
Diffstat (limited to 'modules')
-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 { |