Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xlab-si/template-library-vscode-plugin
VS Code/Eclipse Che Theia plugin for Template Library
https://github.com/xlab-si/template-library-vscode-plugin
eclipse-che eclipse-theia library orchestration template theia-extension tosca vscode vscode-extension
Last synced: 20 days ago
JSON representation
VS Code/Eclipse Che Theia plugin for Template Library
- Host: GitHub
- URL: https://github.com/xlab-si/template-library-vscode-plugin
- Owner: xlab-si
- License: apache-2.0
- Created: 2020-09-24T07:01:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-25T13:36:57.000Z (about 3 years ago)
- Last Synced: 2024-04-21T03:18:41.891Z (8 months ago)
- Topics: eclipse-che, eclipse-theia, library, orchestration, template, theia-extension, tosca, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://template-library-xopera.xlab.si/docs/plugin.html
- Size: 879 KB
- Stars: 1
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Template Library plugin for VS Code/Eclipse Che Theia
This repository allows you to set up VS Code/Eclipse Che Theia [Template Library plugin]. If you are totally unfamiliar
with TPS you can take a look at the [Template Library documentation].| Aspect | Information |
| ------------------------------ |:-----------------------------------------:|
| Documentation | [Template Library plugin documentation] |
| Open VSX Registry | [Open VSX Registry plugin link] |
| Visual Studio Marketplace | [VS Marketplace plugin link] |
| Video | [Template Library with Eclipse Che] |## Table of Contents
- [Installation and publishing](#installation-and-publishing)
- [Visual Studio Code installation](#vs-code-installation)
- [Eclipse Che installation](#eclipse-che-theia-installation)
- [Publishing the plugin](#publishing)
- [Main features](#main-features)## Installation and publishing
This is originally a [Visual Studio Code] extension/plugin, so the best way to test it locally is to through VS Code's
extension development host. [RADON IDE] is represented by [Eclipse Che] which uses an open-source cloud and desktop IDE
framework called [Eclipse Theia] within the workspaces. [Eclipse Theia] is very similar to VS Code and therefore VS
Code extensions can be also used in Theia.### VS Code installation
The plugin can be installed through [Visual Studio Marketplace] here: [VS Marketplace plugin link].To install the plugin without the VS Marketplace to your VS Code editor you will need the latest `vsix` plugin package,
which you can download get here: [VS Marketplace plugin link] (or check [Releases]). Then you just have to import the
`vsix` file to the VS Code plugins and after that you will be able to use the plugin in any VS Code window.### Eclipse Che Theia installation
TPS plugin was primarily meant for usage in [Eclipse Theia] which is the main editor in the [Eclipse Che]/[RADON IDE].
THe plugin is available in the [Open VSX Registry] here: [Open VSX Registry plugin link].To install the plugin manually to [Eclipse Che] you will need the prepared YAML devfile (which also uses the prepared
`meta.yaml` file). The files to try this can be found in [publishing-examples](./publishing-examples).### Publishing
Here's what you need to do to test the plugin and to package/publish it:```console
# install Node JS from https://nodejs.org/en/download/
# and test it with node -v and npm -v command# install prerequisite packages
npm install# test the plugin in VS Code (this will open a new window with your extension loaded)
press F5 (Run Extension)# package and publish the extension
# if you don't have npx install it with: npm install npx
npx vsce package
```## Main features
The extension uses [Template Library REST API] and can therefore invoke various Template Library actions.Currently, supported actions are:
- setting Template Library REST API endpoint
- creating and publishing TOSCA template or CSAR and its version
- downloading a specific TOSCA template version files
- deleting saved login info (Keycloak cookies)[Template Library plugin]: https://template-library-xopera.xlab.si/docs/plugin.html
[Template Library documentation]: https://template-library-xopera.xlab.si/docs/
[Template Library plugin documentation]: https://template-library-xopera.xlab.si/docs/plugin.html
[Open VSX Registry plugin link]: https://open-vsx.org/extension/xlab/template-library
[VS Marketplace plugin link]: https://marketplace.visualstudio.com/items?itemName=xlab.template-library
[Template Library with Eclipse Che]: https://www.youtube.com/watch?v=vCjfZ4Iue0E
[RADON IDE]: https://github.com/radon-h2020/radon-ide
[Eclipse Che]: https://www.eclipse.org/che
[Eclipse Theia]: https://theia-ide.org
[Visual Studio Code]: https://code.visualstudio.com
[Visual Studio Marketplace]: https://marketplace.visualstudio.com/
[Releases]: https://github.com/xlab-si/template-library-vscode-plugin/releases
[Open VSX Registry]: https://open-vsx.org/
[Template Library REST API]: https://template-library-xopera.xlab.si/docs/api.html