Available in the Visual Studio Marketplace
Swissknife is the developers' toolbox. It provides a set of features (scripts) to convert data in the editor, like converting to hex, base64 or to generate new data like current timestamps or random strings, etc.
Some of the available scripts
You can invoke the dedicated command pallete with
The conversions will only use the selected text by default. If no text is selected the entire content of the editor will be used. It supports multi selection and will run the script for each selection individually
On top of the scripts provided swissknife now offers two new features:
Macbook Touchbar Support
You can also invoke the swissknife extension directly from the macbook's touchbar
The outcome of the operation may return multiple values, as a hashes from different algorithms have the same output format. Still we organize the hashes from top down by most relevant.
The servers log all requests received into the "Output" window of VSCode (You can show it by going to view -> Output in the menu). Then on the right of the window (where usually has the value "Tasks"), filter by "Swissknife Server"
One of the main purposes of this extension is to stop pasting data, or trusting generated data from random websites. The extension avoids doing external web requests or logging data, for privacy. But there are some operations where external requests are needed:
You can quite easily create your own scripts, without the need to dig through the code of the extension. Just create a file and drop it in the "Scripts" folder.
Check how to do it here
You can use decorators to identify files in the explorer. You can create custom decorators and guess what, emojis are allowed. You can copy them from here.
Due to a limitation in vscode extension system AFAIK, I can't allow users to extend the menu with their own decorators, so you always need to go through the "Custom" option to use other decorators