Input your source code as text and If-Optimzer will cleanup your code!
Categorize refactoring and optimizational functionalities
Refactoring functionalities
Optimization functionalities
Add Functionality for
- C#
- JavaScript
Handle Conditional operator https://docs.microsoft.com/en-us/cpp/cpp/conditional-operator-q?view=msvc-170
Check block root. block return type
If (with brackets)
If (without brackets)
If (Returns a value from method)
If statement latter parentheses may be on another line
Value tuples
Nesting
nullish coalescing
optional chaining
https://en.wikipedia.org/wiki/Abstract_syntax_tree
Ternary Operator (?:)
guard clauses
expression trees
Short Circuits
Else (with brackets) Else (without brackets)
Else If (without brackets) Else If (with brackets)
MVP: C# version: .NET standard 2.0 JS version: ES6
Later versions: c# Language Version select support