Socket
Book a DemoInstallSign in
Socket

Template Library

Package Overview
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Template Library

Template Library VS Code/Eclipse Che Theia extension

OpenVSX
Version
0.0.9
Version published
Maintainers
0
Source

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.

AspectInformation
DocumentationTemplate Library plugin documentation
Open VSX RegistryOpen VSX Registry plugin link
Visual Studio MarketplaceVS Marketplace plugin link
VideoTemplate Library with Eclipse Che

Table of Contents

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

Here's what you need to do to test the plugin and to package/publish it:

# 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)

Keywords

Ansible

FAQs

Package last updated on 25 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts