eclipse-theia / theia-ide

The Eclipse IDE is a modern and open IDE for cloud and desktop. The Theia IDE is based on the Theia platform. The Theia IDE is available as a downloadable desktop application. You can also try the latest version of the Theia IDE online. For more details, see the Readme below.
https://theia-ide.org/#theiaide
MIT License
343 stars 129 forks source link

[windows] Provide a arm64 build of the Theia installer/IDE #376

Open spouliot opened 3 months ago

spouliot commented 3 months ago

TL&DR similar to https://github.com/eclipse-theia/theia-blueprint/issues/370 but for Windows/arm64 users

Feature Description:

The current download [1] is an Intel-only binary. Still it runs, even if slower (x64 emulation), on arm64-based Windows PC for most scenarios.

However if you try to install extensions, like the C# extension [2], you get errors [3] because the extension use the version of dotnet that match the executing architecture (and not in a way that emulation can help)

[1] https://theia-ide.org/#theiaidedownload [2] https://open-vsx.org/extension/muhammad-sammy/csharp [3]

Starting OmniSharp server at 2024-07-15, 10:27:23 a.m.
    Target: c:\Users\sebas\git\uno\templates\uno\5.2.0-dev.225\unoapp\unoapp.sln

OmniSharp server started with .NET 8.0.400-preview.0.24324.5
.
    Path: C:\Users\sebas\.theia-ide\deployedPlugins\muhammad-sammy.csharp-2.34.12\extension\.omnisharp\1.39.11-net6.0\OmniSharp.dll
    PID: 11224

[STDERR] Unhandled exception.
[STDERR]  System.BadImageFormatException: Could not load file or assembly 'C:\Users\sebas\.theia-ide\deployedPlugins\muhammad-sammy.csharp-2.34.12\extension\.omnisharp\1.39.11-net6.0\OmniSharp.dll'. Format of the executable (.exe) or library (.dll) is invalid.
File name: 'C:\Users\sebas\.theia-ide\deployedPlugins\muhammad-sammy.csharp-2.34.12\extension\.omnisharp\1.39.11-net6.0\OmniSharp.dll'

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).