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

egomobile/vscode-powertools

Repository files navigation

vscode-powertools

Share via Facebook Share via Twitter Share via Pinterest Share via Reddit Share via LinkedIn Share via Wordpress Share via Email

Latest Release Awesome

A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.

⚠️⚠️⚠️ NOTICE: If you have the legacy version of that plugin installed, please backup and uninstall it first, before you install this one. You also need to upgrade to Visual Studio Code 1.57 or later. ⚠️⚠️⚠️

Table of contents

  1. Install
  2. How to use
  3. Documentation
  4. Contribute
  5. Related projects

Install []

Launch VS Code Quick Open (Ctrl + P), paste the following command, and press enter:

ext install egomobile.vscode-powertools

Or search for things like vscode-powertools in your editor.

How to use []

Apps []

Apps are Node.js based scripts, which are running with a web view and can also interact with a Visual Studio Code instance.

demo-apps1.gif

For more information, have a look at the wiki.

Buttons []

Buttons can be used to run tasks, like scripts or shell commands, by user's click.

demo-button.gif

For more information, have a look at the wiki.

Commands []

To enhance your editor, you can register custom commands, which can be used from anywhere in the editor, by using the API, e.g.

demo-commands.gif

For more information, have a look at the wiki.

Events []

The extension makes it possible to run tasks, like scripts, on specific events.

demo-events.gif

For more information, have a look at the wiki.

Jobs []

Jobs can be used to run tasks, like scripts or shell commands, periodically.

demo-jobs.gif

For more information, have a look at the wiki.

Scripts []

Scripts can be used to any kind of custom logic for a workspace.

demo-scripts.gif

For more information, have a look at the wiki.

Startups []

Startups are similar to Autostart in Windows.

For more information, have a look at the wiki.

Tools []

A set of useful sub commands.

demo-tools1.gif

For more information, have a look at the wiki.

Values []

Values (or placeholders) can be used to define dynamic settings, e.g.

demo-values.gif

For more information, have a look at the wiki.

Documentation []

The complete reference of classes, functions and interfaces, can be found here.

A repository with code samples, can be found at vscode-powertools-samples. If you would like to request for one or more examples, you can open an issue here.

Contribute []

If you like the extension, you are welcome to contribute, by opening an issue and/or fork this repository.

To work with the code:

  • install vscode-deploy-reloaded extension
  • clone this repository
  • create and change to a new branch, like git checkout -b my_new_feature
  • run npm install from your project folder
  • open that project folder in Visual Studio Code
  • select command Deploy Reloaded: Deploy ... (by pressing F1) and execute Package ... to copy all web view resources files from /src/res to /out/res ... also do this after you have reset your /out folder
  • now you can edit and debug there
  • commit your changes to your new branch and sync it with your forked GitHub repo
  • make a pull request

Contributors

Peter Jaszkowiak

Related projects []

vscode-helpers []

vscode-helpers is a NPM module, which you can use in your own VSCode extension and contains a lot of helpful classes and functions.