Jump to content
Tommi Prami

"ctrl+click on override" Feature request (please vote if you care)

Recommended Posts

I would really love that crlt+click would behave same as on inherited keyword. so I could also jump to the palace it is overridden from in interface section as from in implementation (if inherited call is there), this would  help even more if the implementation doesn't have inherited call.

https://quality.embarcadero.com/browse/RSP-34573

 

-Tee-

  • Like 1

Share this post


Link to post

I don't completely understand what you're wanting to do. I'll expand your example from Quality Portal:

type
  TMyThingy = class(TParentWidget)
  public
    procedure Foo(AValue. string); override;
  end;

implementation

procedure TMyThingy.Foo(AValue. string);
begin
  inherited Foo(AValue)
  // other code
end;

So right now in Delphi 10.4, I can use Ctrl+Click or Alt+UpArrow on the word "inherited" and it will take me to the inherited class's implementation of Foo, namely TParentWidget.Foo in my example.

 

Your request is that those same hotkeys also work on the word "override"?

 

Share this post


Link to post
9 minutes ago, corneliusdavid said:

So right now in Delphi 10.4,

At least his profile shows 10.2 - but nevertheless, it doesn't work always in 10.4.2 either (as many LSP backed features don't). So the QP entry should rather be a bug report than a feature request.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×