Commit de088c1a authored by Kirill Glazyrin's avatar Kirill Glazyrin Committed by intellij-monorepo-bot
Browse files

Restore the block in EditorConfigIndentOptionsProvider

(cherry picked from commit f55262eee7efff499284c85a58980b6e1c06090b)

NET-MR-13155

GitOrigin-RevId: 9e62088a86f2c156c4893947a291f3cd08745c2e
parent d84be042
Branches unavailable Tags unavailable
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -20,6 +20,7 @@ internal const val indentStyleKey = "indent_style"
internal class EditorConfigIndentOptionsProvider : FileIndentOptionsProvider() {
override fun getIndentOptions(project: Project, settings: CodeStyleSettings, file: VirtualFile): CommonCodeStyleSettings.IndentOptions? {
if (Utils.isFullIntellijSettingsSupport()) return null
if (project.isDisposed || !Utils.isEnabled(settings)) return null
// Get editorconfig settings
val properties = EditorConfigPropertiesService.getInstance(project).getProperties(file)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment