mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not ignore stored in document indent options when showing notification. In other case new calculated options can be different from used ones (IDEA-136752)
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ public class DetectedIndentOptionsNotificationProvider extends EditorNotificatio
|
||||
CodeStyleSettings settings = CodeStyleSettingsManager.getSettings(project);
|
||||
CommonCodeStyleSettings.IndentOptions userOptions = settings.getIndentOptions(psiFile.getFileType());
|
||||
CommonCodeStyleSettings.IndentOptions detectedOptions = CodeStyleSettingsManager.getSettings(project).getIndentOptionsByFile(
|
||||
psiFile, null, true,
|
||||
psiFile, null, false,
|
||||
new Processor<FileIndentOptionsProvider>() {
|
||||
@Override
|
||||
public boolean process(FileIndentOptionsProvider provider) {
|
||||
|
||||
Reference in New Issue
Block a user