Apollo-android: Create Android Studio Plugin

Created on 5 Sep 2017  路  5Comments  路  Source: apollographql/apollo-android

It would be nice to have syntax highlighting and query validation against a schema driven by an Intellij Plugin. Any other requests?

Most helpful comment

Any update on AS plugin?

All 5 comments

It would be pretty cool if 'refactoring'/'find usages' could work to change the name of the queries when needed/locate places where a given query is used.

Note that we have an existing IntelliJ plugin that could use some love. Hyo (creator of GraphiQL) has an internal version that integrates the plugin with the GraphQL Language Service (see this issue). We've been having some trouble getting Facebook legal to accept the CLA, so I'll check to see if that has been resolved and ping Hyo so he can merge it.

Is the cla easier now with new licensing? @martijnwalraven

I'd love it if intellij could somehow "watch" the .graphql files and rebuild the classes whenever one of them changes. I believe DataBinding does something like this. I'm not sure if the functionality is accessible to other plugins.

Edit: looks like SQLDelight can do this: https://github.com/cashapp/sqldelight/commit/a55f80a0056b3eff3affa91c1bd0bb3db0dcaa9b

Any update on AS plugin?

Was this page helpful?
0 / 5 - 0 ratings