Multiple conditionals operating on the same variable can be converted to Select Case block #16
Labels
code-path-analysis
Involves simulating execution paths / interpreting the user code ..to an extent.
difficulty-02-ducky
Resolving these involves the internal API, but with relatively easy problems to solve.
enhancement
Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.
feature-inspections
up-for-grabs
Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky
Milestone
[Suggestion]
Rubberduck should be able to determine whether a
If..ElseIf
block is checking the same variable against different values, and recommend converting the entire block into aSelect Case
block.Can be converted to:
The text was updated successfully, but these errors were encountered: