🔮 Hocus PocusHocus Pocus is a Visual Studio Code extension that creates useful things for you, in JavaScript and TypeScript. Our goal is to make you more productive by creating boilerplate code faster. Related projects:
FeaturesAll features are available through VS Code VS Code Quick Fixes. Click on the lightbulb that appears next to the code 💡 or use the shortcut Create FunctionCreate a function declaration from its call expression. If you're the kind of developer who writes a function call as you'd like it exist, before implementing the function, then you'll love this. It's called program by wishful thinking. It's very common when you practice outside-in TDD. Create VariableCreate a variable declaration from its identifier. Just like "Create Function", this can be very useful if you tend to write variable usage before declaring the variable. Create ClassCreate a class declaration from its identifier. Just like "Create Function", this can be very useful if you tend to write class usage before declaring the class. Create Switch CasesCreate all missing cases of a switch statement made over an union type or an enum. Very convenient when you need to generate a switch statement to handle each scenario. If some cases are already present, it will complete the remaining ones. Release NotesHave a look at our CHANGELOG to get the details of all changes between versions. VersioningWe follow SemVer convention for versionning. That means our releases use the following format:
ContributingContributing GuideRead our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Hocus Pocus. Good First IssuesTo help you get your feet wet and become familiar with our contribution process, we have a list of good first issues that contains things with a relatively limited scope. This is a great place to get started! ContributorsThanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome! License💁 MIT |