JetBrains / js-graphql-intellij-plugin

GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/
MIT License
879 stars 97 forks source link

FR: Configure opening of schema after introspection #469

Closed anli-xsigns closed 2 years ago

anli-xsigns commented 3 years ago

First of all thanks a lot for this awesome plugin!

I have the following feature request: At the moment the schema file is opened in editor after finishing introspection. I would like to turn this off.

https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/blob/e9734c18860655798018c1d10bf9027586a7abd8/src/main/com/intellij/lang/jsgraphql/v1/ide/project/JSGraphQLLanguageUIProjectService.java#L451

vepanimas commented 2 years ago

Fixed in https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/commit/5f0943238e3a50c0d7ad9437a409bbb5fca34eda. An option to open an editor is enabled by default to preserve the current behavior.