Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open files with Ctrl-click? #7

Open
mquinson opened this issue May 10, 2023 · 1 comment
Open

Open files with Ctrl-click? #7

mquinson opened this issue May 10, 2023 · 1 comment

Comments

@mquinson
Copy link

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.

@JakeSays
Copy link
Owner

JakeSays commented May 10, 2023

@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:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants