hm-riscv / vscode-riscv-venus

VS Code extension with the Venus RISC-V simulator
https://marketplace.visualstudio.com/items?itemName=hm.riscv-venus
MIT License
63 stars 15 forks source link

Theia IDE Compatibility #48

Open m1n1 opened 3 years ago

haerrel commented 3 years ago

Followed the following guide to integrate our VSIX into Theia: https://github.com/eclipse-theia/theia/wiki/Testing-VS-Code-extensions Remember: Theia does not support extension installation from VSC Marketplace

Theia doesnt support DebugAdapterInlineImplementation class, which we use to launch the Debugger. Though, it supports and mostly works with DebugAdapterServer class. @wallento should we file an issue in the theia project for DebugAdapterInlineImplementation support?

When using DebugAdapterServer class to make it run, there are still some bugs:

@wallento should i further investigate on these issues?

haerrel commented 3 years ago

As discussed, I will investigate the above described issues

haerrel commented 3 years ago

related to cannot open views(memory, led matrix, ...)

theia only supports around 90% of vscode API at the moment see a detailed list here: https://che-incubator.github.io/vscode-theia-comparator/status.html

unsupported, but in use by our extension:

https://github.com/eclipse-theia/theia/wiki/Testing-VS-Code-extensions https://javahacks.net/category/theia-ide/

haerrel commented 3 years ago

For future development: this gif describes how theia plugins can be debugged nicely

haerrel commented 3 years ago