Skip to content

Commit 4c8fb71

Browse files
committed
docs: Change 'Intellij' to 'IntelliJ'
1 parent 683dfeb commit 4c8fb71

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
### Added
88
- Organize CodeXP configuration options by type for easier readability.
99
- Add a new notification type: CodeXP notification
10-
- Add configuration for notification type (Intellij notification or CodeXP notification)
10+
- Add configuration for notification type (IntelliJ notification or CodeXP notification)
1111

1212
### Changed
1313

src/main/kotlin/com/github/ilovegamecoding/intellijcodexp/services/CodeXPService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class CodeXPService : PersistentStateComponent<CodeXPState>, CodeXPEventListener
130130
if (beforeLevelInfo.level != currentLevelInfo.level && beforeLevelInfo.level != 0 && codeXPState.codeXPConfiguration.showLevelUpNotification) {
131131
if (codeXPState.codeXPConfiguration.showLevelUpNotification) {
132132
when (codeXPState.codeXPConfiguration.notificationType) {
133-
"Intellij Notification" ->
133+
"IntelliJ Notification" ->
134134
CodeXPNotificationManager.notifyLevelUp(
135135
codeXPState.nickname,
136136
currentLevelInfo.level,
@@ -161,7 +161,7 @@ class CodeXPService : PersistentStateComponent<CodeXPState>, CodeXPEventListener
161161

162162
if (codeXPState.codeXPConfiguration.showCompleteChallengeNotification) {
163163
when (codeXPState.codeXPConfiguration.notificationType) {
164-
"Intellij Notification" -> CodeXPNotificationManager.notifyChallengeComplete(
164+
"IntelliJ Notification" -> CodeXPNotificationManager.notifyChallengeComplete(
165165
challenge
166166
)
167167

src/main/kotlin/com/github/ilovegamecoding/intellijcodexp/toolWindow/CodeXPConfigurable.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ class CodeXPConfigurable : Configurable {
2727
override fun createComponent(): JComponent? {
2828
// Create the configuration form and set the values to the current configuration.
2929
codeXPConfigurationForm = CodeXPConfigurationForm().apply {
30-
cbNotificationType.addItem("Intellij Notification")
30+
cbNotificationType.addItem("IntelliJ Notification")
3131
cbNotificationType.addItem("CodeXP Notification")
3232
cbNotificationType.selectedItem = config.notificationType
33-
if(cbNotificationType.selectedItem == "Intellij Notification") {
33+
if(cbNotificationType.selectedItem == "IntelliJ Notification") {
3434
lblTypeDescription.text =
3535
"Default notification will appear in the bottom-right of the IDE and IDE notification tool window."
3636
} else {
@@ -49,7 +49,7 @@ class CodeXPConfigurable : Configurable {
4949

5050
override fun isModified(): Boolean {
5151
return with(codeXPConfigurationForm) {
52-
if(cbNotificationType.selectedItem == "Intellij Notification") {
52+
if(cbNotificationType.selectedItem == "IntelliJ Notification") {
5353
lblTypeDescription.text =
5454
"Default notification will appear in the bottom-right of the IDE and IDE notification tool window."
5555
} else {

0 commit comments

Comments
 (0)