Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make URLs clickable in Eclipse console

Is there a way to turn URLs in the Eclipse console into actual links? It should work without any kind of plugin.

Most other questions and howtos just deal with links to files, which apparently works with the pattern (File.java:1). But is there a solution for URLs (e.g. http://example.org/)?

like image 423
str Avatar asked Feb 26 '13 11:02

str


1 Answers

The conversion of <filename>:<line number> in to a hyperlink happens inside the code of the console itself. It's parsing the plain text looking for the pattern, then replacing it with an IHyperlink to the file inside your workspace.

As far as I'm aware, there's no way to configure the standard Eclipse console to resolve general URLs in a similar way. There may be a plugin that does so, or you could change the pattern matcher used by default to create IHyperlink objects that would open up the internal web browser to that URL.

like image 197
sharakan Avatar answered Sep 25 '22 00:09

sharakan