/spring-graphql-intellij-plugin

This plugin adds support for the recently released official Spring GraphQL library

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

Spring GraphQL Support for IntelliJ IDEA

Build Version Downloads

This plugin adds support for Spring GraphQL to IntelliJ IDEA based IDEs supporting Java development.

The plugin is currently Work in Progress. Follow development on the jord1e/spring-graphql-intellij-plugin GitHub repository.

Features:

  • Autocompletion of types and fields in @SchemaMapping annotations
  • Navigation between method mappings and the schema
  • Various inspections
  • Data fetchers in project view
  • Autocompletion for @Argument names

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Spring GraphQL Support" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Screenshots

Type Autocompletion

Type Autocompletion

Field Autocompletion

Field Autocompletion

Navigate between types

Navigate between types

Data Fetchers in your project view

Project view

More inspections

Project view

Attribution

Much of the initial development was inspired by the DGS plugin.

This plugin reuses the apollo.svg, apollo_dark.svg, query.svg, and fragment.svg icons from the GraphQL plugin (MIT).

This plugin uses (modified) JetBrains icons (predominantly Apache 2.0).

GraphQL logo by the GraphQL Foundation, colorized with #6DB33F (Spring brand color).