matthiasblaesing commented on PR #8996: URL: https://github.com/apache/netbeans/pull/8996#issuecomment-3523363142
`ideopen` is provided by the NetBeans terminal. It is a function installed into the running shell, which in turn yields an escape sequence, which is caught by the NetBeans Infrastructure. From my understanding the magic starts in `org.netbeans.lib.terminalemulator.InterpProtoANSIX`. The dispatch happens in `org.netbeans.lib.terminalemulator.InterpProtoANSIX.InterpTypeProtoANSIX.ACT_DONE_COLLECT_BEL`. From my understanding this is a statemachine, that reacts to the characters pushed from the application to the terminal and that state machine has a special case for "external commands". Modules can register external commands and will then be called. The only implementation of this, I'm aware of is `ideopen`. I learned this recently, but the idea is nice as there is no need to mess with path or JAVA_HOME and there is even a code path to support remote files, if the `rfs` modules from CND is present. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [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
