DescriptionA simple tool used to invert conditions for all modern programming languages and frameworks! FeaturesHighlight conditions that you want to invert:
Invert conditions in ternary operators, for loops, and more:
Invert conditions inside html templates:
How to useHighlight the area of code that you want to invert and press the following key combination on your keyboard:
You can alternatively rebind the key combination to your preference by searching for the following command inside the VSCode's Keyboard Shortcuts section: TheoryThis tool has been designed to take an input condition, analyze it and produce a new condition that would yield an absolute opposite result. This is illustrated by the following example:
Language SupportCondition Inverter supports all modern progrogramming languages and frameworks. This includes technologies that have been ranked as the most popular on the Stack Overflow Developer Survey. Local setup
ContributionsOpen source is built by the community for the community. All contributions to this project are welcome!
|