-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds support for #graphql in the language server #1941
Conversation
🦋 Changeset detectedLatest commit: f66abfd The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@arcanis Do you think you could also add auto-complete support for the following? /* GraphQL */ `
query foo {
a
}
` |
@arcanis You should also add a changeset 😇 |
Should be fine! :) Can you try running the tests? |
@arcanis Unfortunately, I have no rights on this repo :( I already asked in the graphiql discord channel whether anyone can help us out getting this released |
@n1ru4l I'm not sure how it got to be that my permission is needed to run github actions. I will fix that @arcanis we are getting this on compile in CI:
if the build is working for you, perhaps you need to update your node modules locally Also, I need to add development instructions for testing language server changes properly, my bad! Here are some steps to test this locally:
this will all be much more straightforward when we merge the extension into the monorepo |
It's a new change in GH's rules. To avoid malicious actors running crypto mining on public repos' workflows, they now require first-time contributors' workflows to be approved manually. Thanks for the debug steps! I'll give it a look tonight, should be fixed tomorrow 👍 |
I made a fix and |
Ping? 😊 |
sorry @arcanis ! hopefully can get to this later this week, more urgent OSS matters happening right now! |
@stonexer @zth @divyenduz @ardatan anyone want to help me advance this? |
Codecov Report
@@ Coverage Diff @@
## main #1941 +/- ##
==========================================
+ Coverage 65.70% 65.89% +0.18%
==========================================
Files 85 86 +1
Lines 5106 5143 +37
Branches 1631 1640 +9
==========================================
+ Hits 3355 3389 +34
- Misses 1747 1750 +3
Partials 4 4
Continue to review full report at Codecov.
|
Thanks @arcanis ! Awesome work. Sorry for the delay - I fixed the CI issues and we are good to go! |
The
#graphql
-annotated strings weren't properly detected by the language server:Fixes graphql/vscode-graphql#294