Coder Social home page Coder Social logo

graphql-sublimetext3's Introduction

graphql-sublimetext3's People

Contributors

dncrews avatar fermads avatar m3t0r avatar skevy avatar thom1729 avatar willstott101 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

graphql-sublimetext3's Issues

For other app

Hi. Maybe possible to make GraphQL "lexer" for CudaText/ SynWrite too?

What license?

Hello, what license is this project under? I suggest adding an MIT or Apache license

Update syntax

I'd be interested in updating and expanding the syntax to:

  • Include queries, mutations, and so on
  • Provide more detailed meta scopes.
  • Remove the lookbehinds (which are bad for performance because they force Oniguruma instead of the new, faster regexp engine).
  • Use the symbol list (i.e. ctrl-R).
  • As appropriate, update scopes to the current standard conventions.
  • Add comprehensive test coverage.

This would involve a significant restructuring of the current syntax. Does this seem like a worthwhile change? Are there any specific concerns that should be addressed as part of such a project?

Apollo's graphql-tag javascript gql tag?

https://github.com/apollographql/graphql-tag

Basically manifests like

const typeDefs = gql`
  # Comments in GraphQL strings (such as this one) start with the hash (#) symbol.

  # This "Book" type defines the queryable fields for every book in our data source.
  type Book {
    title: String
    author: String
  }

  # The "Query" type is special: it lists all of the available queries that
  # clients can execute, along with the return type for each. In this
  # case, the "books" query returns an array of zero or more Books (defined above).
  type Query {
    books: [Book]
  }
`;

in js files.

Would you accept a PR for an extended JS syntax which highlights these prefixed strings correctly?

enum comments

image

Fails to parse comments within Enum blocks as comments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.