LibGDX Plugin

Compatible with: IntelliJ IDEA Android Studio
Mar 18, 2019
13 766
This unofficial plugin adds a number of LibGDX related 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 for more information.

Recent change notes

  • Support for in Skin files (issue #18)
  • Minor fixes
  • Fix issue
  • Fix issues with IntelliJ 2018.3 EAP
  • Support for
  • Find Usages for tags in @GDXTag annotation
  • Unused tag inspection for @GDXTag annotation
  • Show color previews in decompiled classes too
  • Always show completion popup when there is something useful to show
  • Miscellaneous small improvements
  • Fix non existing resource inspection: it should only look at annotated elements
  • Inspection to highlight references in Java/Kotlin to resources which don't exist. @GDXAssets annotated fields and variables only.
  • Warn about outdated libraries in Gradle Kotlin DSL too
  • Performance improvements
  • Skins: Inspection to inform about the ability to use short class names instead of qualified names when using LibGDX >= 1.9.9
  • Skins: Inspection to highlight usage of deprecated classes and fields
  • Skins: Quickfix to create resources which don't exist
  • Skins: Use the @GDXTag annotation to inform the plugin about custom short names for classes
  • Skins: Intentions to convert color resources to hex or to float components
  • Skins: Create new color wizard (Code -> Generate or Alt-Insert, Command-N)
1.15.2 1.15.1 1.15 1.14
  • Warning when @GDXAsset annotation is used on an invalid target
  • @GDXAsset related functionality now works correctly with array literals in the annotation (available since Kotlin 1.2)
  • Minor fixes
  • 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()
  • New inspection: missing WRITE_EXTERNAL_STORAGE permission
  • Skin files: improved autocompletion, refactoring support and string handling
  • Bugfixes
  • 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
  • Proper support for arrays and nested objects in Skin files
  • Fixed Structure View not updating when changing files
  • 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
  • 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
  • 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
  • Skin files:
    • Fix auto indentation
    • Goto Definition/Find Usages for resource names in Skin files
    • Refactoring: support for renaming resources
  • 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
  • Fixed several issues with Skin files
  • Code folding for Skin files