-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added dart support to language server and embedded graphql support to…
… dart
- Loading branch information
Showing
6 changed files
with
91 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,11 +21,11 @@ | |
- `apollo-graphql` | ||
- <First `apollo-graphql` related entry goes here> | ||
- `apollo-language-server` | ||
- <First `apollo-language-server` related entry goes here> | ||
- Add Dart operation extraction [#1385](https://github.com/apollographql/apollo-tooling/pull/1385) | ||
- `apollo-tools` | ||
- <First `apollo-tools` related entry goes here> | ||
- `vscode-apollo` | ||
- <First `vscode-apollo` related entry goes here> | ||
- Add Dart support for vscode [#1385](https://github.com/apollographql/apollo-tooling/pull/1385) | ||
|
||
## `[email protected]` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"fileTypes": [ | ||
"dart" | ||
], | ||
"injectionSelector": "L:source -string -comment", | ||
"patterns": [ | ||
{ | ||
"name": "meta.function-call.dart", | ||
"begin": "\\b(gql)\\s*(\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "entity.name.function.dart" | ||
}, | ||
"2": { | ||
"name": "punctuation.definition.arguments.begin.dart" | ||
} | ||
}, | ||
"end": "(\\))", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.arguments.end.dart" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"name": "taggedTemplates", | ||
"contentName": "meta.embedded.block.graphql", | ||
"begin": "r?(\"\"\"|''')", | ||
"end": "((\\1))", | ||
"patterns": [ | ||
{ | ||
"include": "source.graphql" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"scopeName": "inline.graphql.dart" | ||
} |