You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With v3.x, I could command-click on a fragment to see all the usages in queries. Right click -> Find Usages also worked the same way. With v4, that has stopped working. I only see "No usages found".
Command click to navigate to a fragment definition still works.
To Reproduce
Write a query in a file, a.graphql
In that query, use a fragment from a different file, b.graphql
Navigate to the fragment's b.graphql file
Right click on the fragment and click "Find Usages"
(EDIT: Actually, the issue also happens for fragments in the same file)
Expected behavior
I should see the usage in a.graphql file
Version and Environment Details
Operation system: macOS 13.3.1
IDE name and version: Android Studio Giraffe | 2022.3.1 Canary 11 and IntelliJ IDEA 2023.1 (Ultimate Edition)
Plugin version: 4.0.0-222
The text was updated successfully, but these errors were encountered:
rohandhruva
changed the title
v4 is not able to find usages of a fragment
v4 is not able to find usages of a fragment across files
Apr 19, 2023
rohandhruva
changed the title
v4 is not able to find usages of a fragment across files
v4 is not able to find usages of a fragments
Apr 19, 2023
Describe the bug
With v3.x, I could command-click on a fragment to see all the usages in queries. Right click -> Find Usages also worked the same way. With v4, that has stopped working. I only see "No usages found".
Command click to navigate to a fragment definition still works.
To Reproduce
query
in a file,a.graphql
b.graphql
b.graphql
filefragment
and click "Find Usages"(EDIT: Actually, the issue also happens for fragments in the same file)
Expected behavior
I should see the usage in
a.graphql
fileVersion and Environment Details
Operation system: macOS 13.3.1
IDE name and version: Android Studio Giraffe | 2022.3.1 Canary 11 and IntelliJ IDEA 2023.1 (Ultimate Edition)
Plugin version: 4.0.0-222
The text was updated successfully, but these errors were encountered: