You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented the functionality to enable hyperlinks in the console using the IConsoleLineTracker Eclipse API. By utilizing the lineAppended(IRegion line) method, identify the hyperlink within the region and convert it into a clickable link using the IHyperlink interface and display it in console. However, some links occasionally appear as plain text, only becoming clickable hyperlinks when hovered over.
To address this, I also implemented the same hyperlink functionality using the IPatternMatchListenerDelegate API, which will return the pattern matched events and convert to hyperlink and make it as clickable using IHyperlink. But some links still appear as plain text intermittently.
This issue might be related to the timing or event handling during the console content update, possibly due to a delay in rendering the link as a clickable hyperlink. To resolve this, need to find a way to refresh the console after the hyperlinks are rendered and investigate this further.
Activity
awisniew90 commentedon Feb 13, 2025
Look to see what is being done here: https://github.com/OpenLiberty/open-liberty-tools/blob/integration/dev/com.ibm.ws.st.ui/src/com/ibm/ws/st/ui/internal/ConsoleLineTracker.java
SuparnaSuresh commentedon Mar 26, 2025
Implemented the functionality to enable hyperlinks in the console using the IConsoleLineTracker Eclipse API. By utilizing the lineAppended(IRegion line) method, identify the hyperlink within the region and convert it into a clickable link using the IHyperlink interface and display it in console. However, some links occasionally appear as plain text, only becoming clickable hyperlinks when hovered over.
To address this, I also implemented the same hyperlink functionality using the IPatternMatchListenerDelegate API, which will return the pattern matched events and convert to hyperlink and make it as clickable using IHyperlink. But some links still appear as plain text intermittently.
This issue might be related to the timing or event handling during the console content update, possibly due to a delay in rendering the link as a clickable hyperlink. To resolve this, need to find a way to refresh the console after the hyperlinks are rendered and investigate this further.