rename symbol

This commit is contained in:
Matt Parker
2025-10-29 19:42:13 +10:00
parent bfda5b08b8
commit da2de0ed9b
9 changed files with 146 additions and 3 deletions

View File

@@ -395,7 +395,11 @@ public partial class SharpIdeCodeEdit : CodeEdit
}
// Now we filter to only the focused tab
if (HasFocus() is false) return;
if (@event.IsActionPressed(InputStringNames.CodeFixes))
if (@event.IsActionPressed(InputStringNames.RenameSymbol))
{
_ = Task.GodotRun(async () => await RenameSymbol());
}
else if (@event.IsActionPressed(InputStringNames.CodeFixes))
{
EmitSignalCodeFixesRequested();
}
@@ -408,8 +412,6 @@ public partial class SharpIdeCodeEdit : CodeEdit
}
}
private readonly Color _breakpointLineColor = new Color("3a2323");
private readonly Color _executingLineColor = new Color("665001");
public void SetLineColour(int line)