<p></p>
<p>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.</p>
<p>It'd be nice if this action were also able to parse out a specified <code>:line</code> number from the file reference, like:</p>
<pre><code>../geanyvc/src/geanyvc.c:2660
</code></pre>
<p>Then it would position the opened file onto the <code>:line</code> number.</p>
<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/issues/1034">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5A62WXOG245TZNLNTSQUYERANCNFSM4T3QS6PA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4ADHLPVX6HAHDWNKLSQUYERA5CNFSM4T3QS6PKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LEBHHYA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/issues/1034",
"url": "https://github.com/geany/geany-plugins/issues/1034",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>