1
0
mirror of https://github.com/chylex/IntelliJ-Rainbow-Brackets.git synced 2025-05-10 09:34:05 +02:00

Update RainbowifyBanner.kt

This commit is contained in:
张志豪 2021-03-03 17:39:36 +08:00 committed by GitHub
parent c4650259ab
commit b5ef80f0ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class RainbowifyBanner(private val project: Project) : EditorNotifications.Provi
if (psiFile != null && !checkForBigFile(psiFile)) {
if (RainbowSettings.instance.suppressBigFileCheck) return null
return EditorNotificationPanel().apply {
text("Rainbowify is disabled by default for files > 1000 lines")
text("Rainbowify is disabled for files > 1000 lines by default")
icon(AllIcons.General.InspectionsEye)
createComponentActionLabel("got it, don't show again") {
RainbowSettings.instance.suppressBigFileCheck = true