DONE: Shift+F2 to find a function or subroutine automatically

Make a request or discuss new features.
Post Reply
User avatar
yereverluvinuncleber
Posts: 249
Joined: 20 Apr 2018 09:49

DONE: Shift+F2 to find a function or subroutine automatically

Post by yereverluvinuncleber » 24 Apr 2019 18:50

Forgive me as always if I am asking for something that already exists somewhere with RJTextEd.

I am currently finishing one major part of my VB6 project and then dropping out on occasion to use RJTextEd when I have a bug to resolve in one of my other projects. One useful facility that the VB6 IDE provides is the ability to double-click on a function or subroutine's name

Image

then use the key combination Shift + F2, this takes you to the function or sub routine immediately. It does it regardless of the location of the routine as long as it is in a file that is open as part of the project.

Image

I have looked for something similar in RJTextEd but have not found something that works for me. When I double-click upon a function name I have the right click choice of:

Find Declaration,
Find Implementation
Find in Project.

The top two seem to do nothing when javascript is the default language, the only one that comes close to the functionality I am looking for is the "Find in Project" that does at least perform a global search for all such string occurrences.

In the VB6 IDE a simple Shift + F2 is enough to take you straight to the highlighted function. It would be extremely useful to have such a working facility in RJTextEd and the utility of the key combination would make transition between the two code editors seamless. It would also enhance RJTextEd.
Noli pati a scelestis opprimi...

You can find me on Deviantart https://www.deviantart.com/yereverluvinuncleber/gallery/

User avatar
yereverluvinuncleber
Posts: 249
Joined: 20 Apr 2018 09:49

Re: REQUEST: Shift+F2 to find a function or subroutine automatically

Post by yereverluvinuncleber » 27 May 2019 12:09

Gentle bump!
Noli pati a scelestis opprimi...

You can find me on Deviantart https://www.deviantart.com/yereverluvinuncleber/gallery/

User avatar
Rickard Johansson
Site Admin
Posts: 5821
Joined: 19 Jul 2006 14:29

Re: REQUEST: Shift+F2 to find a function or subroutine automatically

Post by Rickard Johansson » 31 May 2019 11:25

Renamed the context menu item "Find implementation" and made some improvements. "Find declaration" is only visible in Cpp and Pascal files.

C++ or Pascal
Two menu items.
* "Find declaration"
* "Find function, method or implementation"

Otherwise
One menu item.
* "Find function or method"

Done in v14.0. Thanks!

User avatar
yereverluvinuncleber
Posts: 249
Joined: 20 Apr 2018 09:49

Re: DONE: Shift+F2 to find a function or subroutine automatically

Post by yereverluvinuncleber » 31 May 2019 23:24

Will test!
Noli pati a scelestis opprimi...

You can find me on Deviantart https://www.deviantart.com/yereverluvinuncleber/gallery/

Post Reply