anthraxx/intellij-awesome-console

Highlight only on hover option

konstpeppas opened this issue · 3 comments

Feature: I would like an option in which the links only highlight on hover with ctrl pressed like
ubuntu terminal or vscode.

It is also a bit frustrating when you try to copy part of some highlighted path because the left click opens the file and it doesn't open the menu.

would appreciate a pull request to iterate over

Do you have any idea how to start?

							startPoint + match.start,
							startPoint + match.end,
							new OpenUrlHyperlinkInfo(match.match))

This seems to be what's causing file links to become "links". However, it happens when text is added to the console.

What we need to do instead is:

  1. If CTRL is not pressed, don't do anything
  2. On CTRL, take X last lines of the console, and replace them with the files linked.
  3. On CTRL released, restore the last X lines.

I couldn't find anything related in the SDK, so far. Would be great if you had some ideas.