How to know if a terminal had completed a command?
January 15, 2019 at 8:44amHow to know if a terminal had completed a command?
January 15, 2019 at 8:44am (Edited 4 years ago)So far I have been running commands in the terminal using the `sendText()` method. However, for some long running commands, I have been using a timeout function (estimated running time) to wait for execution to finish before issuing the next command (in the same terminal widget).
I am wondering if there is a more elegant solution in this case ?
January 16, 2019 at 11:17am
Ahh sorry, I am new here and wanted to add a new post
(reading between the lines here) Are you perhaps referring to the theia-go docker image, and wondering how to update the included golang version? If so the way to go is to do this in the corresponding Dockerfile. We have a PR under review to update to go 1.11: https://github.com/theia-ide/theia-apps/pull/117
Yes, thanks :-) I also just saw that issue. Do you know go, and if so - do you know if it is possible to use. debugger like delve for golang?
Yes, thanks :-) I also just saw that issue. Do you know go, and if so - do you know if it is possible to use. debugger like delve for golang?
January 17, 2019 at 8:07am
Not sure whether that's about IDE support for debugging. But if so: The Theia-Go-Extension wraps the Theia VSCode extension in a language server. At the time of writing, there was no debug support in Theia, so the extension doesn't wire the debug features. We hope to be able to use the VSCode extension directly soon. That should include debugin then.
Do tou know, how can I follow the progress and possible do some testing on the golang part?
January 18, 2019 at 8:27am
you can follow https://github.com/theia-ide/theia/wiki/Testing-VS-Code-extensions to test VS Code extensions with latest Theia