GitHub user Yser2025 created a discussion: Open file from console
Hello!
I have urls in web project like: `ide:///var/www/web/index.php:25`
I want this link to open Netbeans IDE with the specified file on the desired
line when clicking on it.
I found a solution, make script: `/usr/bin/netbeans-openide`:
```
#!/bin/bash
prefix="ide://"
string=$1
/usr/bin/netbeans ${string#"$prefix"}
```
This works, but only when the editor is closed. If it's open, nothing happens.
Perhaps I need to specify some option to open in an existing editor window? Or
is there something else going on?
GitHub link: https://github.com/apache/netbeans/discussions/8983
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists