Skip to content

Commit a392954

Browse files
authored
Merge pull request #9 from ByteAurora/develop
[Hotfix] Release CodeXP v1.2.1
2 parents 3691f40 + 8a34286 commit a392954

File tree

6 files changed

+47
-15
lines changed

6 files changed

+47
-15
lines changed

CHANGELOG.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,26 @@
66

77
### Added
88

9-
- Add 'Enter' event statistic and challenge
10-
- Display gained experience point from keyboard event into typed position
11-
- Add configurations for show gained experience and gained experience display position
12-
139
### Changed
1410

1511
### Removed
1612

13+
### Fixed
14+
- Fix plugin initialization issue of CodeXP plugin at IDE startup
15+
16+
## [1.2.0] - 2023-07-18
17+
18+
### Added
19+
20+
- Add 'Enter', 'Cut', 'Copy' event statistic and challenge
21+
- Display gained experience point from keyboard event into typed position
22+
- Add configurations for show gained experience and gained experience display position
23+
1724
### Fixed
1825

1926
- Fix an issue where settings applied in the CodeXP configuration window were not being saved
2027

21-
## [1.1.0] - 2023-07-16
28+
## [1.1.0] - 2023-06-18
2229

2330
### Added
2431

@@ -34,7 +41,9 @@
3441
- Define events to detect and add challenges for each event
3542
- Implement notification alert feature for leveling up or completing challenges
3643

37-
[Unreleased]: https://github.com/ILoveGameCoding/intellij-codexp/compare/v1.1.0...HEAD
44+
[Unreleased]: https://github.com/ILoveGameCoding/intellij-codexp/compare/v1.2.0...HEAD
45+
46+
[1.2.0]: https://github.com/ILoveGameCoding/intellij-codexp/compare/v1.1.0...v1.2.0
3847

3948
[1.1.0]: https://github.com/ILoveGameCoding/intellij-codexp/compare/v1.0.0...v1.1.0
4049

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ The CodeXP plugin is designed to gamify your coding experience in IntelliJ IDEs.
1313

1414
- Awards experience points (xp) for various actions such as:
1515
- Typing
16-
- Paste
17-
- Backspace / Tab
16+
- Cut, Copy, Paste
17+
- Backspace, Tab, Enter
1818
- Save
19-
- Build / Run / Debug
19+
- Build, Run, Debug
2020
- Other actions
2121
- Provides periodic challenges to keep the coding experience engaging.
2222
- Displays your level based on the accumulated xp, providing a fun and engaging way to track your coding activities.
@@ -35,11 +35,21 @@ The CodeXP plugin is designed to gamify your coding experience in IntelliJ IDEs.
3535

3636
- Manually:
3737

38-
Download the [latest release](https://github.com/ILoveGameCoding/intellij-codexp/releases/latest) and install it manually using
38+
Download the [latest release](https://github.com/ILoveGameCoding/intellij-codexp/releases/latest) and install it
39+
manually using
3940
<kbd>Settings/Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>⚙️</kbd> > <kbd>Install plugin from disk...</kbd>
4041

4142
<br>
4243

44+
## Gained XP Effect on Editor
45+
46+
Displays the XP gained from tasks related to the keyboard and editor (typing, copying, pasting, cutting, etc.) at the
47+
caret position.
48+
49+
![Effect](https://github.com/ILoveGameCoding/intellij-codexp/blob/main/images/gained_xp_effect.gif)
50+
51+
<br>
52+
4353
## Dashboard in Light/Dark Theme
4454

4555
<p float="left">

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pluginGroup = com.github.ilovegamecoding.intellijcodexp
44
pluginName = intellij-codexp
55
pluginRepositoryUrl = https://github.com/ILoveGameCoding/intellij-codexp
66
# SemVer format -> https://semver.org
7-
pluginVersion=1.2.0
7+
pluginVersion=1.2.1
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010
pluginSinceBuild = 221

images/gained_xp_effect.gif

244 KB
Loading
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.github.ilovegamecoding.intellijcodexp.activities
2+
3+
import com.github.ilovegamecoding.intellijcodexp.services.CodeXPService
4+
import com.intellij.openapi.application.ApplicationManager
5+
import com.intellij.openapi.diagnostic.thisLogger
6+
import com.intellij.openapi.project.Project
7+
import com.intellij.openapi.startup.StartupActivity
8+
9+
class CodeXPStartupActivity : StartupActivity {
10+
override fun runActivity(project: Project) {
11+
thisLogger().warn("CodeXPStartupActivity.runActivity")
12+
val codeXPService = ApplicationManager.getApplication().getService(CodeXPService::class.java)
13+
}
14+
}

src/main/resources/META-INF/plugin.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
<idea-plugin>
33
<id>com.github.ilovegamecoding.intellijcodexp</id>
44
<name>CodeXP</name>
5-
<vendor>ilovegamecoding</vendor>
5+
<vendor>ByteAurora</vendor>
66

77
<depends>com.intellij.modules.platform</depends>
88

99
<resource-bundle>messages.CodeXPBundle</resource-bundle>
1010

1111
<extensions defaultExtensionNs="com.intellij">
12+
<postStartupActivity
13+
implementation="com.github.ilovegamecoding.intellijcodexp.activities.CodeXPStartupActivity"/>
1214
<toolWindow factoryClass="com.github.ilovegamecoding.intellijcodexp.toolWindow.CodeXPToolWindowFactory"
1315
anchor="right"
1416
id="CodeXP Dashboard" icon="icons/toolWindowIcon.svg"/>
@@ -18,9 +20,6 @@
1820
instance="com.github.ilovegamecoding.intellijcodexp.toolWindow.CodeXPConfigurable"/>
1921
</extensions>
2022

21-
<application-components>
22-
</application-components>
23-
2423
<applicationListeners>
2524
<listener class="com.github.ilovegamecoding.intellijcodexp.listeners.CodeXPEventListener"
2625
topic="com.intellij.openapi.actionSystem.ex.AnActionListener"/>

0 commit comments

Comments
 (0)