Skip to content
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

[feature] Handle files in unknown languages #1208

Open
ianlewis opened this issue Dec 5, 2023 · 4 comments
Open

[feature] Handle files in unknown languages #1208

ianlewis opened this issue Dec 5, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ianlewis
Copy link
Owner

ianlewis commented Dec 5, 2023

Handle text files in unknown languages using a generic configuration. This may be able to support files in languages that aren't explicitly known.

For example:

  • Line comments start with # or //
@ianlewis ianlewis added the enhancement New feature or request label Dec 5, 2023
@ianlewis ianlewis self-assigned this Dec 5, 2023
@ianlewis ianlewis added this to the v1.0.0 milestone Dec 5, 2023
@anatoly-scherbakov
Copy link
Contributor

I was going to create a separate issue requesting GraphQL support, but this covers that.

@ianlewis
Copy link
Owner Author

I was going to create a separate issue requesting GraphQL support, but this covers that.

It might be good to have GraphQL specific support so that it could support documentation comments.

@ianlewis
Copy link
Owner Author

I was going to create a separate issue requesting GraphQL support, but this covers that.

BTW, do folks often keep GraphQL in files checked into a repo?

@anatoly-scherbakov
Copy link
Contributor

@ianlewis yes, at least two use cases from the top of my head:

  1. GraphQL schema files can be stored in a repo if the GraphQL framework in use is schema-first (like Ariadne for Python);
  2. Tests covering a GraphQL API have GraphQL files with test requests chilling around them.

If GraphQL code is in a file contrary to being embedded, as an opaque string, into source code, — an IDE (having PyCharm in mind here) offers navigation and schema validation facilities for said code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants