File tree Expand file tree Collapse file tree
kotlin/cat/wavy/catactivity Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group = " cat.wavy"
8- version = " 1.5.2 "
8+ version = " 1.5.3 "
99
1010repositories {
1111 mavenCentral()
Original file line number Diff line number Diff line change @@ -114,8 +114,9 @@ class TimeService : Disposable {
114114 ?.let { problemsCollector.getFileProblemCount(it) } ? : 0 ).toString(),
115115 " %branch%" to (repo?.currentBranch?.name ? : DefaultVars .BRANCH .default),
116116 " %repository%" to (repo?.project?.name ? : DefaultVars .REPO .default),
117- " %totalLines%" to (editingFile?.linesCount?.toString() ? : DefaultVars .LINESCOUNT .default),
118- " %fileSize%" to (editingFile?.fileSize?.formatBytes() ? : DefaultVars .FILESIZE .default)
117+ " %linesCount%" to (editingFile?.linesCount?.toString() ? : DefaultVars .LINESCOUNT .default),
118+ " %fileSize%" to (editingFile?.fileSize?.formatBytes() ? : DefaultVars .FILESIZE .default),
119+ " %fileExtension%" to (editingFile?.extension ? : DefaultVars .FILEEXTENSION .default)
119120 )
120121
121122 activityWrapper = ActivityWrapper (
Original file line number Diff line number Diff line change @@ -147,8 +147,9 @@ class CatConfigurable(
147147 <li>%projectProblems%: Number of problems in project</li>
148148 <li>%branch%: Current branch name</li>
149149 <li>%repository%: Current repository</li>
150- <li>%totalLines %: Number of total lines in the file</li>
150+ <li>%linesCount %: Number of total lines in the file</li>
151151 <li>%fileSize%: Current file size</li>
152+ <li>%fileExtension%: Current file extension</li>
152153 </ul>
153154 """ .trimIndent(), " Placeholders"
154155 )
Original file line number Diff line number Diff line change @@ -11,5 +11,6 @@ enum class DefaultVars(
1111 FILENAME (" Empty" ),
1212 FILEPATH (" ¯\\ _(ツ)_/¯" ),
1313 LINESCOUNT (" ¯\\ _(ツ)_/¯" ),
14- FILESIZE (" ¯\\ _(ツ)_/¯" )
14+ FILESIZE (" ¯\\ _(ツ)_/¯" ),
15+ FILEEXTENSION (" ¯\\ _(ツ)_/¯" )
1516}
Original file line number Diff line number Diff line change 2222 ]]> </description >
2323
2424 <change-notes >
25- Added new JetBrains IDE icons
25+ A new placeholder %fileExtension% has been added, and %totalLines% has been renamed to %linesCount%
2626 </change-notes >
2727
2828 <!-- Product and plugin compatibility requirements.
You can’t perform that action at this time.
0 commit comments