Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display the Procedure/Function the cursor is in

Does the IDE display the current Procedure or Function that the cursor is inside of? If I search for myVariable is there any way to know (without having to scroll up) which function I landed inside of?

If it is not native are there any plugins that support this feature?

like image 920
Paul Avatar asked Sep 15 '26 10:09

Paul


2 Answers

This functionality is not available in the IDE itself.

The an open-source CNPack Wizards have this functionality. See the images below, particularly the highlighted areas of the toolbar and code editor window. (Image from Delphi 2007 IDE, but CNWizards support later versions of Delphi up to and including XE5.)

enter image description here

It works with code that contains procedural (non-OOP) code as well. Here are two captures of separate procedural functions/procedures, with the relevant portions of the toolbar and code editor highlighted:

enter image description here enter image description here

like image 144
Ken White Avatar answered Sep 18 '26 03:09

Ken White


Castalia has this feature, among other things.

like image 31
dummzeuch Avatar answered Sep 18 '26 03:09

dummzeuch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!