yuki24 / artemis

Ruby GraphQL client on Rails that actually makes you more productive
MIT License
207 stars 14 forks source link

Add an easy way to set up editor plugins/extensions #58

Open yuki24 opened 5 years ago

yuki24 commented 5 years ago

Rubymine's GraphQL plugin works really well with Artemis' file organization pattern:

artemisdemo

I'm sure VS Code has a similar plugin that does this, and I think it would be great if there was a simple way to set up editor plugins.

I wonder how @orta or @alloy writes raw GraphQL queries on VS Code...

orta commented 5 years ago

We use Apollo VSCode - docs which has a similar approach to Artemis. It expects you to declare a few *.graphql files in the repo somewhere, then it looks for the graphql tag, e.g.

graphql`
{ 
   thing 
}
`

to do auto-completion etc

yuki24 commented 5 years ago

Thanks @orta - I'll look into that to see if a library could set it up easily.