Nicholas Rayburn
Nicholas Rayburn
Once the nested configs are supported it might make sense to make sure the IDE plugins are updated and contain all the desired features before doing a beta blog post....
For the first example, the code fails at the line here https://github.com/JetBrains/intellij-community/blob/cd9bfbd98a7dca730fbc469156ce1ed30364afba/java/java-analysis-impl/src/com/siyeh/ig/psiutils/CodeBlockSurrounder.java#L884 due to a ClassCastException. After formatting, `CodeStyleManager.getInstance(project).reformat()` is returning an instance of `PsiKeywordImpl` instead of the expected `PsiIfStatement`....