LibGDX Inspections

Compatible with: IntelliJ IDEA Android Studio
Oct 19, 2017
3 706
This unofficial plugin adds a number of LibGDX related inspections and features to IntelliJ and Android Studio.

This plugin needs a recent version of the official Kotlin plugin to be installed (even if you don't use Kotlin), so please install and/or enable that plugin first.

See github.com/BlueBoxWare/LibGDXPlugin for more information.

Download plugin

Recent change notes

1.13
  • Completion for I18NBundle.get() and I18NBundle.format() arguments
  • Improved Go to definition, Find Usages and renaming support for .properties keys
  • Invalid property key inspection for I18NBundle.get() and I18NBundle.format()
1.12
  • New inspection: missing WRITE_EXTERNAL_STORAGE permission
  • Skin files: improved autocompletion, refactoring support and string handling
  • Bugfixes
1.11
  • Skin files:
    • Allow suppression of warnings for specific objects or entire file
    • Added quickfixes to suppress warnings
    • Added a number of inspections
    • Smart closing quotes insertion and removal
    • Bugfixes
  • Previews for Textures/Drawables: with SHIFT pressed, hover over a region in an Atlas files, a Drawable name in a Skin file or Drawable name in Skin methods of a properly annotated Skin object
  • Color previews in the debug view
1.10
  • Proper support for arrays and nested objects in Skin files
  • Fixed Structure View not updating when changing files
1.9
  • Support for Completion, Go to Definition and Find Usages of resources from Skin files and Atlas files in Java and Kotlin code. Use the @LibGDXAssets annotation to specify the files to use. See the README for usage instructions.
  • Atlas files: allow spaces in region names
  • Misc. bug fixes
1.8
  • Syntax Highlighting and Structure View for .fnt files
  • Use Maven Central instead of GitHub to determine latest versions of libraries. Respect proxy settings, if any.
  • Add versions checks for more libraries. The following libraries are now checked: Ashley, Autumn, Autumn MVC, Box2d, Box2dLights, Gdx AI, GDX Bullet, GDX Controllers, GDX FreeType, gdx-dialogs, gdx-facebook, gdx-lml, gdx-lml-vis, Gdx-Pay, Kiwi, KTX actors, KTX app, KTX assets, KTX collections, KTX i18n, KTX inject, KTX log, KTX math, KTX scene2d, KTX style, KTX vis, KTX vis-style, LibGDX, libgdx-utils, libgdx-utils-box2d, Overlap2D, Vis Runtime, VisUI, Web Sockets, Web Sockets Serialization
  • Several fixes in the handling of Skin files, show color previews everywhere and use Ctrl-B to jump between definitions and usages of Tinted Drawables
1.7
  • Skin files:
    • Fix Find Usages for resource names
    • Ctrl-B on a class name: jump to class source
    • Ctrl-B on a property name: jump to field source
    • Ctrl-B on a bitmap font name: jump to font file
    • Renaming a resource with Shift-F6 also renames usages of that resource in the Skin file
    • Click on a color preview to open a color selection dialog
    • Inspections for Skin files: warnings about using classes or fields which do not exist and about malformed color strings
  • Syntax Highlighting, Structure View and Folding for .atlas/.pack files
1.6
  • Skin files:
    • Fix auto indentation
    • Goto Definition/Find Usages for resource names in Skin files
    • Refactoring: support for renaming resources
1.5
  • Skin files:
    • Code completion (classnames, resource names, property names, etc)
    • Structure view
    • Configure the code style and formatting for Skin files with Settings -> Editor -> Code Style -> LibGDX and apply it to existing code with Code -> Reformat Code
    • Brace matching
1.4
  • Fixed several issues with Skin files
  • Code folding for Skin files