SwissknifeAvailable in the Visual Studio Marketplace Swissknife is the developers' toolbox. It provides a set of features (we call them scripts) to convert data in the editor, like converting to hex, base64 or to generate new data like current timestamps or random strings, etc. Main Features
Some of the available scripts
UsageYou 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 NotesYou can now add notes per line to your code. Since this feature changes a bit the gutter and you start to see a plus sign on the left of the line numbers on the line you hover the mouse, we ship this feature disabled by default and can be enabled per workspace. Use the command You can also generate a report of all notes in the project by using the command To view the existing notes you'll see a new tab in the bottom pannel called File Explorer DecoratorsYou 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. In the explorer section you'll also have a new section to view all the files decorated with this extension Code ScreenshotJust select the code you want to create a screenshot from (or don't select anything and the entire code will be used) and search for the The filename in the screenshot window is taken from the current file name, and if the file is not saved a temporary name will be used. The file name is editable, so when the right panel appears you can change the name, if you want :) Identify HashThe 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. HTTP(S) ServerThe 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" Writing ScriptsYou 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 Future Plans
|