geany-plugins
geany-plugins copied to clipboard
Geany: Let 'Open Selected File' context action jump to :line number (when specified)
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.