I’m trying to open 3 or more tabs in a Theia IDE in a HTML file programmatically, but I’ve not succeeded. GPT3.5 helped with the code. I’ve even created a directory for this file to enable multi-root workspaces:
However, I could not get the Theia IDE to open 3 tabs programmatically. This is what I see after opening the test2.html file:
The reason why I’m opening Theia in an iframe, is because I hope to create a diff program in the HTML file, that can compare the files opened in the Theia IDE.
@maxloo thank you for the discussion, I’m not 100% sure what you’re trying to achieve or if chatgpt is the best solution code-wise but if you want to open a multi-root workspace you should try opening test.theia-workspace or test.code-workspace files. I do not believe adding the roots directly in the application’s settings.json is supported.