How to add a button on the left bar of theia? thx!

[original thread by howareyou lihoma]

Do you mean a new widget? Or you just want to have a button? For a button you will need to customize ApplicationShell. Please study the code, there is no clear contribution point right now.

[howareyou lihoma]

I want to create a button, when I click a button, it can call the javac to compile the source code in the editor.

It won’t be easy. Why do you want to have a button? In Theia we have a concept of command, you can see all commands for the current context with F1. I would start by adding a command.

It also can be that you need a task. Hard to tell since i don’t know what product you are trying to build.