-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* SQL template with triple quote in completion * Slight update to SQL query template and bugfix for collapse/expand of request bodies * Add comment and slight update to triple quote expansion * Updated tests after changes to newline behaviour * Restore old backslash triple quote expansion behaviour
- Loading branch information
1 parent
e9f4d61
commit 555dc8b
Showing
6 changed files
with
55 additions
and
12 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
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
23 changes: 23 additions & 0 deletions
23
x-pack/legacy/plugins/console_extensions/spec/overrides/sql.query.json
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,23 @@ | ||
{ | ||
"sql.query": { | ||
"data_autocomplete_rules": { | ||
"query": { | ||
"__template": { | ||
"__raw": true, | ||
"value": "\"\"\"\nSELECT * FROM \"TABLE\"\n\"\"\"" | ||
} | ||
} | ||
}, | ||
"url_params": { | ||
"format": [ | ||
"csv", | ||
"json", | ||
"tsv", | ||
"txt", | ||
"yaml", | ||
"cbor", | ||
"smile" | ||
] | ||
} | ||
} | ||
} |