Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

eclipsesource/cdtcloud-alpha

Repository files navigation

This repository moved to https://github.com/eclipse-cdt-cloud/cdt-cloud-blueprint


Eclipse Theia Blueprint is a template for building desktop-based products based on the Eclipse Theia platform.

Building and using cdt.cloud blueprint:

  • use node 12
  • run yarn in root folder
  • go to cpp-extensions/theia-cpp-extensions run yarn
  • go to example extract trace-compass-server.tar.gz
  • go to example/trace-compass-server start tracecompass-server
  • go to applications/c-development/electron run npm start
  • open the workspace in example/workspace as your workspace
  • run build task
  • you can now debug
  • for trace compass right click on the car-kernel folder -> open with -> Trace Viewer

The steps above are also available as two scripts: run.sh and build.sh

Installers

Main Theia Repository

Visit the Theia website for more documentation.

License

Trademark

"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia

What is this?

Eclipse Theia Blueprint is a template for building desktop-based products based on the Eclipse Theia platform, as well as to showcase Eclipse Theia capabilities. It is made up of a subset of existing Eclipse Theia features and extensions and can be easily downloaded and installed on all major operating system platforms (see below). Documentation is available to help you customize and build your own Eclipse Theia-based product.

What is it not?

Eclipse Theia Blueprint is not a production-ready product. Therefore, it is also not meant to be a replacement for Visual Studio Code or any other IDE.

Development

Documentation

Documentation on how to package Theia as a Desktop Product may be found here

Repository structure

  • Root level configures mono-repo build with lerna
  • applications groups the different app targets
    • electron contains app to package, packaging configuration, and E2E tests for the electron target.
  • theia-extensions groups the various custom theia extensions for Blueprint
    • theia-blueprint-product contains a Theia extension contributing the product branding (about dialogue and welcome page).
    • theia-blueprint-updater contains a Theia extension contributing the update mechanism and corresponding UI elements (based on the electron updater).

Build

yarn

Package the application

yarn electron package

The packaged application is located in applications/electron/dist.

Create a preview application (without packaging it)

yarn electron package:preview

The packaged application is located in applications/electron/dist.

Running E2E Tests

The E2E tests basic UI tests of the actual application. This is done based on the preview of the packaged application.

yarn electron package:preview
yarn electron test

Troubleshooting

Reporting feature requests and bugs

The features in Eclipse Theia Blueprint are based on Theia and the included extensions/plugins. For bugs in Theia please consider opening an issue in the Theia project on Github. Eclipse Theia Blueprint only packages existing functionality into a product and installers for the product. If you believe there is a mistake in packaging, something needs to be added to the packaging or the installers do not work properly, please open an issue on Github to let us know.