Open tsmaeder opened 1 year ago
I can take a look!
It's pretty obvious why this does not work:
if (environment.electron.is()) {
command = ['yarn', 'theia', 'start'];
@tsmaeder
You mean it should be:
if (environment.electron.isDevMode()) {
@dhuebner no, yarn theia start
only ever works if a user runs from source. That will never be the case in Theia IDE. We need to start the second instance without using any dev-time resources.
@tsmaeder
We need to start the second instance without using any dev-time resources.
Is this not what the else
branch does? It seems to execute something that is runtime dir related, but I'm not sure how exactly it looks like in the bundled IDE.
How can I build Theia IDE from source to test it? I can't find corresponding documentation...
However, I think this missing functionality is really important for the Beta.
The "else" branch covers the browser case. That might or might not be the right thing to do in the electron case.
@tsmaeder That is not good. I'm afraid I have not enough insights into the launching process to contribute here. :( But I would definitely like to learn more about, I will track the corresponding PR when one is submitted.
Bug Description:
Run Extension
Launch Config Does not WorkSteps to Reproduce:
yo code
error Couldn't find a package.json file in "C:\\Users\\thomas\\software\\blueprint\\1.20.0\\TheiaBlueprint"
Additional Information