-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Condition can be a single instruction #28
Comments
Not sure. Suggestions are, after all, suggestions. ReSharper does that too - it can suggest to use explicit type declaration on a |
This inspection + quickfix requires implementing a specialized |
sync with merged PR's in main repo
meh, I don't like single line If statements in VBA. You could take this inspection further and create inline
|
[Suggestion]
When an
If
block contains only a single instruction, recommend making it a single instruction:Can be written as:
Related: #25 If block body can be on separate line
The text was updated successfully, but these errors were encountered: