|Orion-Plugging into the shell [message #1815727]
||Wed, 09 October 2019 08:50
| yassine Hamza
Registered: October 2019
Hello everyone, |
I'm new with eclipse Orion web IDE and I'm developing a plugin that uses Orion shell. The problem that I have is that I cannot type more than one argument or option after the command. I'm only allowed to type one command followed by an argument. When I type a second command/option it creates a project with the same name that I typed, example:
if I type:
$ myCommand myArgument1 myArgument2
Then I will find a project in the editor with the name "myArgument2".
According to the developer guide, the "orion.shell.type" provider should return the object "arg" with the properties: name, suffix, and prefix.
In the example shown above, I should get " myArgument2" as a suffix of "arg".
However, suffix adds only the white spaces added after the first argument and becomes empty when I type the second argument.
The example plugin shown in the Developer Guide uses a command and a single argument only.
Any ideas? Thank you in advance.
Powered by FUDForum
. Page generated in 0.02264 seconds