Merge pull request #45525 from van800/rider-line
Navigating to error line number in Rider from Godot editor debugger console is off-by-one.
This commit is contained in:
commit
329d4796ae
|
@ -104,7 +104,7 @@ namespace GodotTools.Ides.Rider
|
||||||
if (line >= 0)
|
if (line >= 0)
|
||||||
{
|
{
|
||||||
args.Add("--line");
|
args.Add("--line");
|
||||||
args.Add(line.ToString());
|
args.Add((line + 1).ToString()); // https://github.com/JetBrains/godot-support/issues/61
|
||||||
}
|
}
|
||||||
args.Add(scriptPath);
|
args.Add(scriptPath);
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue