To potentially wean people off using Switch, maybe you can offer "automatic refactoring", which replaces the construct by an if ... elsif ... chain. But I don't know how deeply your plugin integrates with the (parsed) Perl code or the IntelliJ linter to achieve that or a red squiggly line to mark Switch usage as "not recommended" :-)
In reply to Re^3: Camelcade - Perl5 plugin for IntelliJ IDEA, v1.3 released
by Corion
in thread Camelcade - Perl5 plugin for IntelliJ IDEA, v1.3 released
by hurricup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |