mirror of
https://github.com/godotengine/godot
synced 2024-09-05 00:38:26 +00:00
C#: Fix line position when opening file in VSCode
This commit is contained in:
parent
9ad8dfa6cc
commit
756a48023f
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue