Bug 522429 - [navigation] a hyperlink provider for file path (in any context)
Summary: [navigation] a hyperlink provider for file path (in any context)
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted, usability
Depends on:
Blocks:
 
Reported: 2017-09-18 08:55 EDT by Mickael Istria CLA
Modified: 2018-06-17 14:03 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2017-09-18 08:55:39 EDT
When seeing a string that is a valid path in an editor or a view (such as console), it would be great to have those provide links (for Ctrl+click) to open this file. That would prevent from having to get into a terminal or a browser, and paste the path there.
Comment 1 Dani Megert CLA 2018-05-24 12:52:24 EDT
Removing target milestone for all bugs that are not major or above.
Comment 2 Dani Megert CLA 2018-05-25 04:06:41 EDT
> Removing target milestone for all bugs that are not major or above.

Of course I meant "major or below".

Sorry for the noise!
Comment 3 Michael Keppler CLA 2018-06-16 05:53:12 EDT
Maybe you can nudge Andrey Loskutov, he did something like that in his AnyEditTools, right?
Comment 4 Andrey Loskutov CLA 2018-06-17 03:53:04 EDT
AnyEdit Tools is a collection of (very dirty) hacks, not an example of a proper implementation :-)

One needs one or more extension points - for text editors and text consoles, and a default implementation, which can be disabled/replaced.
Comment 5 Mickael Istria CLA 2018-06-17 14:03:36 EDT
The extension point org.eclipse.ui.workbench.texteditor.hyperlinkDetectors can already be used.
For the console, I didn't investigate but it seems like JDT already manages to add links in console for stacktraces. Is it a JDT-specific behavior or does it rely mostly on Console capabilities? If the later, then a similar feature for file path should be doable inside Platform.
Why do you think new extension points are required here?