apollographql / apollographql/apollo-tooling
No autocompletion and hover information in `gql` documents in Vue SFC
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 460
- PR merge metrics
- No merged PRs in 30d
Description
**Intended outcome:**
Autocompletion and information on hover in document preceded with a `gql` tag in `.vue` files.
**Actual outcome:**
No autocomplete suggestion nor tooltips.
**How to reproduce the issue:**
Create a `.vue` file (like `MyComp.vue`) in the project, then write
```vue
import gql from 'graphql-tag'
const QUERY = gql`
`
```
**Versions**
vscode-apollo 1.5.2
Contributor guide
Research direction
Use the supplied MyComp.vue example with vscode-apollo 1.5.2 and verify the missing completion and hover behavior. Then trace the extension's handling of gql-tagged documents inside Vue SFCs; done means autocomplete suggestions and hover tooltips work in that example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript, vscode
- Domain
- developer-experience, frontend, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100