Flunkee | Code snippets on steroidsSnippets should ease and speed up your workflow and make tedious tasks less annoying. But existing solutions like the default editor snippets often fail to deliver the promised assistance, because they have to be generic so everyone can use them. Whether you have a personal coding style, additional libraries or any other custom requirements the benefit of those snippets shrinks since you have to adapt the inserted snippet in a bunch of places. Flunkee aims to solve these problems through easier adjusments and transformative code snippets. Web ApplicationYou can create and edit your own snippets on https://www.flunkee.net. All you need is a Github Account and you can get started. Extension Setup
That's all your snippets will be synced automatically. If you want to manually trigger a sync just press the statusbar item Insert SnippetsFlunkee offers the same insert snippet functionality as vs code, but you can create and edit your snippets easily in a web interface. On top of the existing functionality you can use evaluation functionality, username and email variables and snippet referencing/nesting. View the recipe panel in the insert snippet editor to see different examples. Editor Usage: Insert snippets are provided as you type, so no special workflow. Transform SnippetsTransform snippets aim to solve repetitive code adaptions which are too small to leverage code mods but nevertheless time consuming and annoying. You can also create transform snippets in the web interface, you create a transformation script which gets input text and returns an output. You can test transform snippets directly in the browser. Editor Usage: If you are happy with your snippets you can use them in the editor. For that you have to select the text you want to transform, open the flunkee snippet command menu with ctrl+alt+f and selecting your collection and snippet. Alternative ways for viewing the available transform collections are:
Examples for transform snippets could be string casing transformations, or even more complex tasks like changing a react class component to a stateless function component or the transformation of css to inline-style css Extension SettingsThis extension contributes the following settings:
The extension registers ctrl+alt+f as a shortcut to open the transform snippet menu You can access the transform snippets also through a right click inside the editor and in the header navigation bar Known IssuesApplication is currently in alpha state - currently none Release Notes0.0.1Initial release of Flunkee |