Files
openide/plugins/java-decompiler/plugin
Bartek Pacia e7713d68c7 [java-decompiler] IDEA-381330 fix DecompilerPresetKt class requesting CodeStyle services during class init
I think it's good enough to hardcode the indent size for decompiled code to CodeStyleDefaults.DEFAULT_INDENT_SIZE (which is 4).
It was using application-wide indent size anyway (not the project-wide one),
which I doubt people customize – usually the one that is customized is the project-wide setting.

If someone really wants to view decompiled code with their customized indent size,
let's hope they will create a ticket in YouTrack, and then we'll implement it.

This commit also partially reverts the previous commit by Alexey Kudravtsev
(monorepo commit ad5203cbaa478e833c347d17a583eaad6845a2e1)


(cherry picked from commit 4e00b33fda24218ec0d358d567fb9f7366e13edc)

IJ-CR-180952

GitOrigin-RevId: 85194b3adf80ecac85571595de966d11facf0e15
2025-11-03 16:14:48 +00:00
..