Skip to content

Commit

Permalink
Add a few videos
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD committed Aug 2, 2023
1 parent 2a34e0b commit 7593eae
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/testing/android-studio-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Please check the [plugin page](https://plugins.jetbrains.com/plugin/20645-apollo
## Features

### Automatic code generation
<img src="images/ij-plugin-on-the-fly-codegen.webp" alt="Automatic code generation"/>

The plugin automatically generates models whenever GraphQL files change.
This means you don't need to manually run `./gradlew generateApolloSources` after editing the files.
Expand All @@ -39,10 +40,18 @@ Clicking on them will navigate to the corresponding GraphQL definition.

You can also go to the GraphQL definition with <kbd>Cmd</kbd> Click (Mac) or <kbd>Ctrl</kbd> Click (Windows / Linux) on an operation, field, enum, etc.

<img src="images/ij-plugin-go-to-declaration.webp" alt="Go to declaration"/>

Going to a field's **type** declaration (<kbd>Cmd</kbd> <kbd>Shift</kbd> Click on Mac, <kbd>Ctrl</kbd> <kbd>Shift</kbd> Click on Windows / Linux) will navigate to its definition in the GraphQL schema.

<img src="images/ij-plugin-go-to-type-declaration.webp" alt="Go to type declaration"/>

#### GraphQL → Kotlin

You can search for code usages of a GraphQL operation, fragment, enum type/value and input type/field, with right click | <kbd>Find Usages</kbd>.

<img src="images/ij-plugin-find-usages.webp" alt="Find usages"/>

### Unused operations / fields

In GraphQL files, operations and fields are shown in grey if the corresponding generated code is not used in your project.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 7593eae

Please sign in to comment.