[Github-comments] [geany/geany-plugins] Geany: Let 'Open Selected File' context action jump to :line number (when specified) (#1034)

nomadbyte notifications at xxxxx
Thu Nov 19 15:07:52 UTC 2020


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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1034
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201119/d28b6769/attachment.htm>


More information about the Github-comments mailing list