diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-01-28 23:39:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 23:39:52 +0100 |
commit | 329d4796ae59ad4823e3899cfdc2c670c7c37de2 (patch) | |
tree | cbe6c2ef590f170f94d7d6c38ebde173aaea9463 /modules/mono | |
parent | e50422d01cfc3b97ee259079d7fe88528f9dccbd (diff) | |
parent | deef9a73a55448ff0508df484cae4b7bafbf60fb (diff) |
Merge pull request #45525 from van800/rider-line
Navigating to error line number in Rider from Godot editor debugger console is off-by-one.
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools/Ides/Rider/RiderPathManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/Ides/Rider/RiderPathManager.cs b/modules/mono/editor/GodotTools/GodotTools/Ides/Rider/RiderPathManager.cs index 16f91a0925..ed25cdaa63 100644 --- a/modules/mono/editor/GodotTools/GodotTools/Ides/Rider/RiderPathManager.cs +++ b/modules/mono/editor/GodotTools/GodotTools/Ides/Rider/RiderPathManager.cs @@ -104,7 +104,7 @@ namespace GodotTools.Ides.Rider if (line >= 0) { args.Add("--line"); - args.Add(line.ToString()); + args.Add((line + 1).ToString()); // https://github.com/JetBrains/godot-support/issues/61 } args.Add(scriptPath); try |