fugazi-io / webclient

web based terminal application for executing local and remote commands
http://fugazi.io
28 stars 12 forks source link

auto complete works for first argument only #105

Closed neta-kedem closed 7 years ago

neta-kedem commented 7 years ago

for example if the syntax for the command is:

do something with (param1) and (param2)

then it will complete do some to do something with

but it will complete do something with 4 to do something with

creativeChips commented 7 years ago

test: { title: "TEST", returns: "ui.message", parametersForm: "struct", syntax: [ "do this with (p1 string) and (p2 string)" ], handler: function (context: PrivilegedModuleContext, props: LoadProperties): string { return "test done."; } },

nitzantomer commented 7 years ago

fixed here: https://github.com/fugazi-io/webclient/pull/109