QtCreatorTerminalPlugin icon indicating copy to clipboard operation
QtCreatorTerminalPlugin copied to clipboard

Open files with Ctrl-click?

Open mquinson opened this issue 2 years ago • 1 comments
trafficstars

Hello,

does this plugin allow to open a file in Qt creator by ctrl-clicking on it? If not, then this issue is here to ask this killer feature, please. If yes, then the issue is to ask to document the feature in the README.

I'm asking because rebuilding it does not seem trivial since I use a packaged / prebuilt version of Qt Creator, and I don't feel like paying the pain to then discover that it won't serve my usual workflow as I'd like.

In any case, thanks for this great plugin, Mt.

mquinson avatar May 10 '23 21:05 mquinson

@mquinson that is supported if the absolute file location can be resolved, so absolute paths should work. Relative paths are resolved based on the loaded project root. Also I attempt to look for some_file.foo:line:col paths and will open them at the line/column location.

There may be bugs in the path detection code though. It's based on the filters used by konsole and they are not the best. I do want to improve things at some point.

I will update the readme:)

JakeSays avatar May 10 '23 21:05 JakeSays