theia-ide / theia-apps

Theia applications examples - docker images, desktop apps, packagings
Apache License 2.0
1.04k stars 346 forks source link

Feature Request: support split editor #382

Closed aglennquicket closed 4 years ago

aglennquicket commented 4 years ago

Let me start by saying I am very impressed with this project. I've made my development environment a Chromebook with a remote Linux server for the last year or so. This is less clunky than Eclipse Che.

I'm using the theia-docker (nodejs) example, with nodejs 11. I don't see any way to have 2 text edit windows open/visible at the same time. There are many use cases for this.

I assume that the feature is not implemented because when I give the vim command to split the screen, :vsp, I get the following error:

CommandLine: Error executing cmd=vsp. err=Error: Command with id 'workbench.action.splitEditorRight' is not registered..

marcdumais-work commented 4 years ago

Hi @aglennquicket ,

Thanks for the kind words.

Let me start by saying I am very impressed with this project. I've made my development environment a Chromebook with a remote Linux server for the last year or so.

Awesome!

I assume that the feature is not implemented

Indeed, this is supported yet. This is something that would be done in the main project repo, and would become available in the example applications here, after. I found this upstream issue: https://github.com/eclipse-theia/theia/issues/6665

As mentioned in there, it would be necessary first to permit opening the same file in two or more editors, which is not yet the case: https://github.com/eclipse-theia/theia/issues/3857

vince-fugnitto commented 4 years ago

@aglennquicket it is possible to have more complex layouts (thanks to drag+drop):

Screen Shot 2020-08-06 at 3 13 10 PM

The limitations are those that Marc mentioned:

If there are any feature requests for the framework they should ultimately be opened on the upstream repo 👍