0.0.2 • Published 3 years ago

vscode-swissknife v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

swissknife README

Swissknife is a scriptable extension that provides features one usually looks for in online services.

You can find here features to do different types of convertions to your text, or even generating content.

If there's a feature that you want and the extension doesn't have, you can just write an easy script to extend it :).

The extension currently does conversions with (and not only):

  • Base64
  • JWT
  • HEX
  • md5,sha1,sha256,sha512
  • URLEncode
  • Markdown
  • Passwords
  • Timestamps
  • Lorem Ipsum
  • RGB & HEX Colors
  • etc.

Features

It provides an easy to use quick picker (ctrl+shift+9 on windows/linux and cmd+shift+9 on mac) for you to choose from a set of different features.

On top of that it provides an easy scripting system for you to extend with your custom scripts, for whatever needs you may have.

Writing Scripts

Swissknife will automatically load all scripts in its user scripting folder and you can find it by executing a command. Open you command pallete and type "Open swissknife users script folder". Or just start typing it as it will eventually be suggested.

This is the folder where you can create your custom scripts.

To start a new script you can also use a command provided by the extension. Open swissknife picker and type "New swissknife script". You can chose the TS or JS version according to what you're more confortable with.

We'll go with typescript.

This is the base structure of the script:

Since we are using typescript you need to have the npm module installed to have the type definitions. You may want to install it globall with npm install -g vscode-swissknife

0.0.2

3 years ago

0.0.1

3 years ago