Join us for GraphQL Summit, October 10-12 in San Diego. Super Early Bird registration ends soon!
Try Apollo Studio

Federation support in JetBrains IDEs

The GraphQL Plugin for JetBrains provides federation-specific development features, such as auto-complete for federation directives. However, you must enable this federation support after installing the plugin. Otherwise, your IDE might display unexpected errors while you're working with a subgraph schema.

To enable federation support, do the following in your IDE after installing the plugin:

  1. Open your IDE's Settings window.
  2. Expand the Languages & Frameworks section.
  3. Click GraphQL.
  4. Check the Federation checkbox.
An animation showing the process of enabling Apollo Federation support in the GraphQL plugin for JetBrains (described above)

This plugin supports all IntelliJ-based IDEs, including:

  • IntelliJ IDEA
  • PyCharm
  • PhpStorm
  • WebStorm
  • CLion
  • RubyMine
  • Rider
  • GoLand
Edit on GitHub
Router / Gateway