Force multi-root behaviour

Folks, I’m trying to force multi-root workspace behaviour for Theia Che. However, this is controlled by a preference. Can someone think of a way to turn the multi-root behaviour on and to remove the possibility for the user to change the setting?

[original thread by Thomas Mäder]

We need to verify whether all interal clients can handle multi-root workspaces well then we can remove it all together.

You can enabled it by default in app package.json like in https://github.com/theia-ide/theia/blob/5137616fd54183b424a43f76250305fa0d6d9e4d/examples/browser/package.json#L10-L12

thanks, very helpful.

and to remove the possibility for the user to change the setting

@vince-fugnitto recently asked if we should have a way to make a preference non-user-changeable. There is no generic way to do this ATM, IIRC. But it could be a worthwhile feature.

@marc-dumais I can live with the user being able to screw himself if he so choses :slight_smile: