Skip to content

Commit eb9921e

Browse files
committed
Version 1.20
1 parent 4b45e3e commit eb9921e

File tree

6 files changed

+24
-78
lines changed

6 files changed

+24
-78
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ given class or using malformed color strings
8484
* Use *Code* -> *Generate* or *Alt-Ins* (*Cmd-N*) to create a new color using a color pick dialog
8585
* QuickFixes to create missing resources and convert colors between hex and floats
8686
* Several inspections to highlight problems and possible issues
87+
* [Breadcrumbs](https://www.jetbrains.com/help/idea/settings-editor-breadcrumbs.html)
8788

8889
\[1]: Usages of the resource in Java/Kotlin code are not automatically renamed, expect when using the `@GDXAssets`
8990
annotation (see below)

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<idea-plugin>
1818
<id>com.gmail.blueboxware.libgdxplugin</id>
1919
<name>LibGDX Plugin</name>
20-
<version>1.19</version>
20+
<version>1.20</version>
2121
<vendor url="https://github.com/BlueBoxWare/LibGDXPlugin">Blue Box Ware</vendor>
2222

2323
<description><![CDATA[
@@ -30,6 +30,25 @@
3030
]]></description>
3131

3232
<change-notes><![CDATA[
33+
<b>1.20</b>
34+
<ul>
35+
<li>
36+
Skin files now use the standard IntelliJ method of suppressing warnings, with <i>//noinspection</i> comments.
37+
</li>
38+
<li>
39+
LibGDX JSON: allow suppression of warnings.
40+
</li>
41+
<li>
42+
Skin files & LibGDX JSON: spell checking.
43+
</li>
44+
<li>
45+
Skin files & LibGDX JSON: <a href="https://www.jetbrains.com/help/idea/settings-editor-breadcrumbs.html">breadcrumbs</a>.
46+
</li>
47+
<li>
48+
LibGDX JSON: move array element foward/backward intentions.
49+
</li>
50+
</ul>
51+
3352
<b>1.19</b>
3453
<ul>
3554
<li>

src/test/kotlin/com/gmail/blueboxware/libgdxplugin/skin/TestCompletion.kt

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,80 +1393,6 @@ class TestCompletion: LibGDXCodeInsightFixtureTestCase() {
13931393
}
13941394
""" to (listOf("assets/somedir/font.fnt", "assets/font2.fnt") to listOf("assets/somedir")),
13951395

1396-
"""
1397-
{
1398-
// @<caret>
1399-
}
1400-
""" to (listOf("Suppress") to listOf()),
1401-
1402-
"""
1403-
/*
1404-
@<caret>
1405-
*/
1406-
1407-
""" to (listOf("Suppress") to listOf()),
1408-
1409-
1410-
"""
1411-
{
1412-
// @<caret> abc
1413-
}
1414-
""" to (listOf("Suppress") to listOf()),
1415-
1416-
"""
1417-
{
1418-
// @SU<caret> abc
1419-
}
1420-
""" to (listOf("Suppress") to listOf()),
1421-
1422-
"""
1423-
{
1424-
// @SUPPRESS ( " <caret>
1425-
}
1426-
""" to (listOf(
1427-
"DuplicateProperty",
1428-
"DuplicateResource",
1429-
"MalformedColorString",
1430-
"MissingProperty",
1431-
"NonExistingClass",
1432-
"NonExistingField",
1433-
"NonExistingFile",
1434-
"NonExistingResourceInAlias",
1435-
"TypeError"
1436-
) to listOf()),
1437-
1438-
"""
1439-
{
1440-
// @Suppress( Non<caret>
1441-
}
1442-
""" to (listOf(
1443-
"NonExistingClass",
1444-
"NonExistingField",
1445-
"NonExistingFile",
1446-
"NonExistingResourceInAlias"
1447-
) to listOf(
1448-
"DuplicateProperty",
1449-
"DuplicateResource",
1450-
"MalformedColorString",
1451-
"MissingProperty"
1452-
)),
1453-
1454-
"""
1455-
{
1456-
// @Suppress("Non<caret>
1457-
}
1458-
""" to (listOf(
1459-
"NonExistingClass",
1460-
"NonExistingField",
1461-
"NonExistingFile",
1462-
"NonExistingResourceInAlias"
1463-
) to listOf(
1464-
"DuplicateProperty",
1465-
"DuplicateResource",
1466-
"MalformedColorString",
1467-
"MissingProperty"
1468-
)),
1469-
14701396
"""
14711397
{
14721398
com.badlogic.gdx.scenes.scene2d.ui.Skin${'$'}TintedDrawable: {

src/test/testdata/filetypes/skin/editor/spellChecking.skin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
green: {
2222
down: round-down, up: "round",
2323
font: medium,
24-
// noinspection SpellCheckingInspection
24+
//noinspection SpellCheckingInspection
2525
fontColor: {
2626

2727
r: 0, g: 1, b: 0, a: "fwefewfwfe"

src/test/testdata/filetypes/skin/inspections/suppression.skin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
file: ""
2323
}
2424
}
25-
// noinspection NonExistingField
25+
//noinspection NonExistingField
2626
h: {
2727

2828
fghu: {}

versions.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ext {
22

3-
pluginVersion = '1.19'
3+
pluginVersion = '1.20'
44

55
kotlinVersion = '1.3.21'
66

0 commit comments

Comments
 (0)