question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.graphqlconfig has no code highlighting and no arrow icon buttons to fetch schema next to line numbers

See original GitHub issue

Describe the bug

I have .graphqlconfig file present in several projects but the plugin does not show arrows next to endpoint to fetch schema

To Reproduce Link to Repo with Reproduction or Steps to Reproduce:

  1. Go to 'https://github.com/simPod/js-graphql-gradle-bug (#423)
  2. Click on '.graphqlconfig file
  3. See no controls added, no highlighting enabled. It’s displayed as a simple text file

It can find endpoints though:

image

Expected behavior

E.g. show play arrow icon to create schema file and highlight the json

Screenshots

image

Version and Environment Details Operation system: macos latest IDE name and version: 2021.2 Plugin version: 3.0.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11

github_iconTop GitHub Comments

3reactions
vepanimascommented, Aug 2, 2021

Hi! Thank you for the report. I also noticed this behavior after upgrading to 3.0, but I decided that it was an accident due to active testing and experimenting with the settings. When building a plugin from the source code, unfortunately, I can’t reproduce it. I’ll try to take a closer look.

To fix it locally you could try to add file association manually like on the screenshot below:

json-file-type

2reactions
simPodcommented, Aug 3, 2021

And it also fixed the missing arrow button. So the problem is somehow the registration of the .graphqlconfig extension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

.graphqlconfig has no code highlighting and no arrow icon ...
Describe the bug I have .graphqlconfig file present in several projects but the plugin does not show arrows next to endpoint to fetch...
Read more >
Configure graphql syntax highlighting in VS Code - Selleo
To enable syntax highlighting, autocompletion, and validation for graphql query/mutation definition in VSCode follow few steps. . . Step 1. Open ...
Read more >
Lisenser - Ubisoft Connect
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF...
Read more >
Cool Feature – WebStorm Blog
WebStorm layout has three types of major UI elements. First of all, there's the editor with the right and left gutters that show...
Read more >
GraphQL Config - One configuration for all your tools
Majority of the GraphQL tools depend not only on Schema but Operations and Fragments, so we've decided to cover that use case too....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found