mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix CodeStyle API usage
This commit is contained in:
+1
-1
@@ -449,7 +449,7 @@ public class CodeStyleManagerImpl extends CodeStyleManager implements Formatting
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
if (getSettings().KEEP_FIRST_COLUMN_COMMENT && isCommentToken(element)) {
|
||||
if (getSettings().getCommonSettings(file.getLanguage()).KEEP_FIRST_COLUMN_COMMENT && isCommentToken(element)) {
|
||||
if (IndentHelper.getInstance().getIndent(myProject, file.getFileType(), element, true) == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user