-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable
fillLeafsOnComplete
by default (#2488)
* Disable`fillLeafsOnComplete` by default Users found this generally annoying by default, especially when there are required arguments Without automatically prompting autocompletion of required arguments as well as lead expansion, it makes the extension harder to use You can now supply this in your graphql config: `config.extensions.languageService.fillLeafsOnComplete` Setting it to to `true` will enable this feature. Will soon add the ability to manually enable this in `monaco-graphql` as well. For both, this kind of behavior would be better as a keyboard command, context menu item &/or codelens prompt * fix tests, allow passing the configuration * react-like experiment flagging
- Loading branch information
Showing
10 changed files
with
145 additions
and
60 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
'graphql-language-service-server': patch | ||
'monaco-graphql': patch | ||
'vscode-graphql': patch | ||
--- | ||
|
||
Disable`fillLeafsOnComplete` by default | ||
|
||
Users found this generally annoying by default, especially when there are required arguments | ||
|
||
Without automatically prompting autocompletion of required arguments as well as lead expansion, it makes the extension harder to use | ||
|
||
You can now supply this in your graphql config: | ||
|
||
`config.extensions.languageService.fillLeafsOnComplete` | ||
|
||
Setting it to to `true` will enable this feature. | ||
Will soon add the ability to manually enable this in `monaco-graphql` as well. | ||
|
||
For both, this kind of behavior would be better as a keyboard command, context menu item &/or codelens prompt |
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 |
---|---|---|
|
@@ -222,6 +222,9 @@ qlapi | |
qlid | ||
qlide | ||
|
||
// cspell en-us/en-gb edgecases? | ||
behaviour | ||
|
||
// other | ||
architecting | ||
codebases | ||
|
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
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
Oops, something went wrong.