EGL Development User Group

 View Only

 beginning and ending tags (),{}, etc

nick leo's profile image
nick leo posted 06/05/26 11:56 AM

when in the editor, is there a way when you place your cursor on a tag, it can show the beginning or ending tag in the code? i know most editors has this functionality. Maybe i just have mine turned off. 

when i am editing egl, it does not work. if i am in js member, it works. 

Bernd van Oostrum's profile image
Bernd van Oostrum IBM Champion

Hello Nick Leo,

The feature is "matching brackets highlight" is not available for EGL-sources. It is available for Java and Javascript-editors.

Best regards,

Bernd

MAINBRIDGE

nick leo's profile image
nick leo

isn't that a critical development issue that should be addressed ASAP? I have to copy my egl code into notepad++ just to get the outline when  i have nested code. 

these are the types of issues developers deal with when IBM doesnt support a product they originally started. Very frustrating.

Bernd van Oostrum's profile image
Bernd van Oostrum IBM Champion

Hi Nick Leo,

The code formatter (<ctrl>+<shift>+F in an opened source) could be helpfull as well to get a better view on the source, as well as the outline view. 

If you really need "matching brackets highlight" for the EGL-editor you can open a support case.

nick leo's profile image
nick leo

would love to open case. can you provide URL?

Tom Baranski's profile image
Tom Baranski

Hi Nick

You can right-click on a tag (e.g. end, function, for) and select Expand Selection To -> Enclosing Element. This will select the entire block.

Regards

Tom Baranski

Senior Developer

IBM Business Developer

nick leo's profile image
nick leo

thanks tom. that is very helpful, but does not replace the need for hover-over especially when moving cursor to navigate large nested elements.