JustCode formatter feature can only format your code without adding or removing something from it (except spaces and new lines). Its purpose is to make your code better looking.
Fortunately JustCode has one cool feature called "Code Cleaner". One of its features is "Arrange code block usage". Executing it will add / remove blocks for certain constructs including if-else. You can setup its behavior from JustCode menu -> Options -> Code Style -> C# -> General -> section Block Usage.
"Code Cleaner" can be executed over a given selection, single file, project or over the whole solution, using the JustCode main menu, VS editor context menu or Solution Explorer.
More detailed information about "Code Cleaner"s features can be found in JustCode's documentation:
Hope this is what you need.
Please feel free to contact us again if you have any questions or suggestions.
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum
, or our JustCode