mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixing failing tests. New formatter could only be used against LanguageFileTypes.
This commit is contained in:
@@ -138,7 +138,7 @@ public class CodeFormatterFacade implements Constants {
|
||||
}
|
||||
|
||||
private boolean useNewFormatter(FileType fileType) {
|
||||
return true;
|
||||
return fileType instanceof LanguageFileType;
|
||||
}
|
||||
|
||||
private ASTNode processRange(ASTNode element, int[] bounds) {
|
||||
|
||||
Reference in New Issue
Block a user