How to build a desktop-based coffee editor? #121
-
Hi, I am trying to build a desktop-based coffee editor (only coffee-server and coffee-editor-extension extensions) using Theia blueprint (1.23.0) as template. Unfortunately, I can not get it to work so I am thinking using Theia blueprint was maybe not the right approach. Could you give me some pointers on how to build a desktop-based coffee editor please? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
The best starting point is your corresponding web-based coffee editor. On the environment side, you need Visual Studio C++ Build Tools installed to be able to generate the installer or launch. Read the license carefully, and ask yourself seriously whether you need to buy a license or not. If you have difficulties, do not hesitate to post the errors here... |
Beta Was this translation helpful? Give feedback.
-
Front-end is not starting with electron: when I try to run the coffee editor example It gets stuck at a loading screen and there is no plugin contributions to the menu bar. |
Beta Was this translation helpful? Give feedback.
The best starting point is your corresponding web-based coffee editor.
Then, you have to make an "electron-app" project which looks like the "browser-app" project, only for launching with electron.
You will have to look at electron-builder for learning the launch options. https://www.electron.build/
Personally, I relied on the example from https://github.com/theia-ide/theia-apps/tree/master/theia-electron
but that was before the Theia blueprint, so I guess the blueprint should be fine too...
You should be able to adapt the run.sh from the coffee editor to launch the electron-app workspace instead.
On the environment side, you need Visual Studio C++ Build Tools installed to be able to gene…