/yoda-converter

A simple vs code extension for convert normal condition to Yoda condition

Primary LanguageJavaScript

Yoda converter ( yodac ) is a simple extension to convert normal condition to Yoda condition.

Target user: PHP - WordPress developer.


How to use?

  • Select a condition and right click.
  • Choose Convert to Yoda condition option from context menu
  • Shortcut: select a condition and press
    ctrl+y on windows
    cmd+y on mac