Merge nested if-statements
Combine two nested
if statements without additional operations into a single
&& to combine the conditions.
RefactoringP42 for VS Code
P42 for GitHub
- Code Assist ID (for the configuration file):
- You can configure custom keyboard shortcuts with this code action kind:
- This code assist provides refactoring suggestions. Learn how to configure the refactoring suggestion visibility.