Fix off by one error navigating to line number in Rider
Fixes https://github.com/JetBrains/godot-support/issues/61
This commit is contained in:
parent
726967f453
commit
deef9a73a5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue