Skip to content

Commit ca05b3c

Browse files
committed
Address PR comments
1 parent 9234355 commit ca05b3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

idea-plugin/src/main/kotlin/xyz/block/kotlinformatter/idea/FormatConfigurationService.kt

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import java.util.Properties
1010
@Service(Service.Level.PROJECT)
1111
class FormatConfigurationService(private val project: Project) {
1212

13+
// This is calculated once and on demand.
14+
// Changes to the config file will require a restart.
1315
val formattingEnabled by lazy {
1416
val configFile = project.getFile(CONFIG_FILE_PATH)
1517
val enabled = configFile?.let { file ->

0 commit comments

Comments
 (0)