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

Geany: Let 'Open Selected File' context action jump to :line number (when specified) #1034

Open
nomadbyte opened this issue Nov 19, 2020 · 0 comments

Comments

@nomadbyte
Copy link
Contributor

Geany has a handy action in its editor context menu 'Open Selected File' which will parse text under cursor to get a file-path and then open the file in a new tab. This is very useful when opening some file references like those in include directives etc.

It'd be nice if this action were also able to parse out a specified :line number from the file reference, like:

../geanyvc/src/geanyvc.c:2660

Then it would position the opened file onto the :line number.

This is very much similar how it's often done with source-file references in compilation errors. It saves time locating the line in question. In Geany context this could be helpful also with source-file references when translating po-files.

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

No branches or pull requests

2 participants