Friendly Jira Robot created ERT-309:
---------------------------------------
Summary: [terminal] Provide extension point to interpret command like refresh
IResource created with the local terminal [EBZ#496109]
Key: ERT-309
URL:
https://issues.jboss.org/browse/ERT-309
Project: Eclipse Release Train
Issue Type: Task
Components: Target Management
Reporter: Friendly Jira Robot
I'm studying how to provide an Angular2 console to support features of
https://github.com/angular/angular-cli
For instance you can set the command:
* ng new myproject
And angular-cli initialize an Angular2 project.
I could do that with a standard console but I would like to do that with terminal because
it supports several thing like completion wuth tab, coloration, etc
So my idea is to capture the command "ng new myproject" and wait for that this
command is finished to refresh the IProject projectname.
After debugging tm, I have noticed that it exists
ITerminalServiceOutputStreamMonitorListener that I could use it to catch typped command
like "ng new myproject".
Those listener are getted with:
-------------------------------------------
ITerminalServiceOutputStreamMonitorListener[] stdoutListeners =
(ITerminalServiceOutputStreamMonitorListener[])properties.get(ITerminalsConnectorConstants.PROP_STDOUT_LISTENERS);
-------------------------------------------
But I have not found how to contribute to this list of
ITerminalServiceOutputStreamMonitorListener?
Have you an idea how to do contribute to list of
ITerminalServiceOutputStreamMonitorListenerfor Local terminal. Must I create my own
LocalLauncherDelegate to put this list listeners in the execute
LocalLauncherDelegate#method?
Many thanks for your help!
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)