Skip to content

Commit a78cffb

Browse files
committed
Version 1.26.
1 parent 8341b4c commit a78cffb

File tree

6 files changed

+38
-17
lines changed

6 files changed

+38
-17
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/.gradle/
55
/gradlew.bat
66
/idea-flex.skeleton
7-
/jflex-1.7.0-2.jar
7+
/jflex-*
88
/stuff/
99
.intellijPlatform
10-
.kotlin
10+
.kotlin

CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
### 1.26
2+
* Syntax highlighting for gdxAI behaviour trees.
3+
* Fix errors related to properties files.
4+
* Add file association reset buttons back to settings.
5+
* Remove dependency on Groovy plugin.
6+
* Remove test-ids inspection for Groovy Gradle files.
7+
* Remove outdated "designed for tablets" inspection.
8+
19
### 1.25
210
* The inspections which check for outdated LibGDX and library versions are removed. Consider using a dedicated Gradle
311
plugin or IntelliJ plugin for checking outdated dependencies.

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ This unofficial plugin adds a number of [libGDX](https://libgdx.badlogicgames.co
77
<!-- toc -->
88
- __[Installation](#installation)__
99
- __[Features](#features)__
10-
- __[Inspections](#inspections)__
11-
- __[Color previews](#color-previews)__
12-
- __[Skin JSON support](#skin-json-support)__
13-
- __[JSON support](#json-support)__
14-
- __[Atlas file support](#atlas-file-support)__
15-
- __[Bitmap Font file support](#bitmap-font-file-support)__
16-
- __[Skin resources and Atlas region names in Java and Kotlin code](#skin-resources-and-atlas-region-names-in-java-and-kotlin-code)__
17-
- __[@GDXTag and short names in skins](#gdxtag-and-short-names-in-skins)__
10+
- __[Inspections](#inspections)__
11+
- __[Color previews](#color-previews)__
12+
- __[Skin JSON support](#skin-json-support)__
13+
- __[JSON support](#json-support)__
14+
- __[Atlas file support](#atlas-file-support)__
15+
- __[Bitmap Font file support](#bitmap-font-file-support)__
16+
- __[gdxAI Behaviour tree file support](#gdxai-behaviour-tree-file-support)__
17+
- __[Skin resources and Atlas region names in Java and Kotlin code](#skin-resources-and-atlas-region-names-in-java-and-kotlin-code)__
18+
- __[@GDXTag and short names in skins](#gdxtag-and-short-names-in-skins)__
1819
<!-- /toc -->
1920

2021
# Installation
@@ -32,13 +33,13 @@ to the newest version, go to: *Tools* -> *Kotlin* -> *Configure Kotlin Plugin Up
3233
## Inspections
3334
libGDXPlugin adds several inspections, which look for possible issues in a project. Code inspections support both Java and
3435
[Kotlin](https://kotlinlang.org/). To disable or enable inspections go to *Settings* -> *Editor* -> *Inspections* -> *libGDX*.
35-
See [Inspections.md](Inspections.md) for an up to date list.
36+
See [Inspections.md](Inspections.md) for an up-to-date list.
3637

3738
## Color previews
3839
When using a libGDX color in Java or Kotlin code (e.g. `Color.BLUE` or `Color.valueOf("#0000ff")`) a preview of the the color is shown in the left gutter.
3940
Color previews are also shown in the editor when editing Skin files and in the Debug Tool Window.
4041

41-
To disable color previews, go to *Settings* -> *Editor* -> *libGDXPlugin*.
42+
To disable color previews, go to *Settings* -> *Tools* -> *libGDXPlugin*.
4243

4344
## Skin JSON support
4445
Files with the extension `.skin` are treated as Skin JSON files. For files with the extension `.json` which look like Skin files, you are asked
@@ -99,6 +100,11 @@ Files with a `.fnt` extension are treated as Bitmap Font Files, with:
99100
* Structure View
100101
* Folding
101102

103+
## [gdxAI](https://github.com/libgdx/gdx-ai) Behaviour tree file support
104+
105+
Files with a `.tree` extension are treated as gdxAI behaviour tree files, with:
106+
* Syntax highlighting
107+
102108
## Skin resources and Atlas region names in Java and Kotlin code
103109

104110
To get code completion, Go to Definition, Find Usages, Rename Refactoring, Diagnostics and Image previews for:

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ intellijPlatform {
5454
}
5555
pluginVerification {
5656
ides {
57-
// ide(IntelliJPlatformType.IntellijIdeaCommunity, providers.gradleProperty("platformVersion").get())
5857
create(IntelliJPlatformType.IntellijIdeaCommunity, "253-EAP-SNAPSHOT")
58+
create(IntelliJPlatformType.IntellijIdeaCommunity, providers.gradleProperty("platformVersion").get())
5959
recommended()
6060
}
6161
}
@@ -146,13 +146,14 @@ tasks {
146146
targetRootOutputDir = file("gen")
147147
pathToParser = "gen/com/gmail/blueboxware/libgdxplugin/filetypes/$path"
148148
pathToPsiRoot = "gen/com/gmail/blueboxware/libgdxplugin/filetypes/$path/psi"
149+
purgeOldFiles = true
149150
}
150151
val lexerTask = register<GenerateLexerTask>("generate${name}Lexer") {
151152
sourceFile = file("src/main/kotlin/com/gmail/blueboxware/libgdxplugin/filetypes/$path/$lexer.flex")
152153
targetOutputDir = file("gen/com/gmail/blueboxware/libgdxplugin/filetypes/$path")
153154
dependsOn(bnfTask)
154155
}
155-
withType<KotlinCompile>() {
156+
withType<KotlinCompile> {
156157
dependsOn(lexerTask)
157158
}
158159
}

gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
pluginGroup = com.gmail.blueboxware
22
pluginName = LibGDX
3-
pluginVersion = 1.25
3+
pluginVersion = 1.26
44

55
pluginSinceBuild = 252.23892.409
6+
#pluginSinceBuild = 252.28238.7
67

78
# https://www.jetbrains.com/intellij-repository/snapshots/
89
# https://www.jetbrains.com/intellij-repository/releases/
910
# gradle printProductsReleases
1011

1112
platformVersion = 252.23892.409
13+
#platformVersion = 252.28238.7
1214

1315
platformBundledPlugins = com.intellij.java, org.jetbrains.kotlin, com.intellij.properties, com.intellij.modules.json
1416
platformBundledModules = intellij.spellchecker, intellij.properties.backend.psi

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@
3030

3131
<change-notes><![CDATA[
3232
<ul>
33-
<li>The inspections which check for outdated LibGDX and library versions are removed. Consider using
34-
a dedicated Gradle plugin or IntelliJ plugin for checking outdated dependencies.</li>
33+
<li>Syntax highlighting for gdxAI behaviour trees.</li>
34+
<li>Fix errors related to properties files.</li>
35+
<li>Add file association reset buttons back to settings.</li>
36+
<li>Remove dependency on Groovy plugin.</li>
37+
<li>Remove test-ids inspection for Groovy Gradle files.</li>
38+
<li>Remove outdated "designed for tablets" inspection.</li>
3539
</ul>
3640
]]>
3741
</change-notes>

0 commit comments

Comments
 (0)