public static CommonCodeStyleSettings.IndentOptions getIndentOptions(@NotNull Project project, @NotNull VirtualFile virtualFile) {
    CodeStyleSettings rootSetting = getSettings(project, virtualFile);
    return rootSetting.getIndentOptionsByFile(project, virtualFile, null);
  }
public static CommonCodeStyleSettings.IndentOptions getIndentOptions(@NotNull Project project, @NotNull VirtualFile virtualFile)