Граф коммитов

41 Коммитов

Автор SHA1 Сообщение Дата
Charles Gagnon 631b401150
Add grammar readme (#17851)
* Add grammar readme

* More info
2023-12-13 13:59:02 -08:00
jingzhao65 49eff02f68
add match to vscode (#17852) 2023-12-12 12:07:51 -08:00
Charles Gagnon 9cb3529a97
Add missing keywords for syntax highlighting (#17732) 2023-07-05 15:31:32 -07:00
Charles Gagnon cb5940297a
Fix nested comment colorization (#17708) 2023-05-30 08:50:02 -07:00
Charles Gagnon ded3b49d1c
Add surroundingPairs section to language configuration (#17707) 2023-05-26 15:02:56 -07:00
Charles Gagnon 8a593a2d7c
Ignore trailing blank lines when folding regions (#17706) 2023-05-25 11:29:37 -07:00
Charles Gagnon 3929516cce
Add LOG and REPLACE keywords to grammar (#17592) 2023-03-08 09:36:26 -08:00
Charles Gagnon 7f97d66b81
Add BACKUP, STATS and CHECKSUM to keywords list (#17590) 2023-03-08 08:54:38 -08:00
Charles Gagnon 998c713b17
Add SELECT ALL and FULL/NATURAL JOIN syntax to grammar (#17508)
* Add SELECT ALL to grammar

* more
2022-12-23 11:27:19 -08:00
Charles Gagnon c005d9d720
Syntax update (#17465)
* Add RESPECT, IGNORE, NULLS, WAIT_AT_LOW_PROIRITY and AUTO_DROP

* Add BIT_COUNT, GET_BIT, LEFT_SHIFT, RIGHT_SHIFT and SET_BIT

* Add LEADING, TRAILING and BOTH

* Add DATETRUNC

* Add APPROX_PERCENTIL_CONT and APPROX_PERCENTILE_DISC. Remove AGGREGATE

* Add WEEK, QUARTER, HOUR, MINUTE, SECOND

* WITHIN GROUP

* Add DAY, MONTH, YEAR keywords

* BLOCKERS

* GROUP

* ARRAY and SCALAR
2022-10-24 15:43:33 -07:00
Charles Gagnon 8152be3ad3
Match "other" keywords last (#17464) 2022-10-21 09:04:17 -07:00
Charles Gagnon f2965194ca
Fix function syntax highlighting including non-function keywords (#17462)
* Only match functions with open parens after them

* Fix whitespace

* Remove duplicate
2022-10-20 09:32:15 -07:00
Leila Lali b8b5886452
Adding missig system function names to fix the coloring issue (#17368) 2022-06-17 16:30:40 -07:00
life-droid c98518dd74
Updated grammar to support ANALYTIC WINDOW functions (#16966)
* Grammar update, added analytic & offset functions

* Updated grammar combined analytic & offset

Co-authored-by: life-droid <>
2021-08-27 15:15:16 -07:00
Dusty Pomerleau 89b69376da
correct capture groups for `string.quoted.single` (#16923) 2021-08-27 15:13:29 -07:00
Sam Makin 8873718e11
Ammend sql.configuration.json to address syntax highlighting issue for backslashes in quotes (#1701) 2020-10-12 10:29:43 -07:00
Drew Skwiers-Koballa 61ae0eb21a
Changes to syntax coloring (#1739)
* removes cast from other

* adds right as a function

* adds common index arguements

* cursor, nodes, and a few others

* collate, default, add
2020-09-05 17:24:03 -07:00
KamasamaK 750d30dc48
Allow multiple whitespace between keywords (#1683) 2020-06-14 23:26:49 -07:00
Aditya Bist bd94bff9b0
revert to old behavior (#1679) 2020-05-12 09:21:32 -07:00
Anthony Sottile 37a2272518
make SQL plist parseable xml (#1660) 2020-04-13 15:09:59 -07:00
Romain VALAT a542fe9678
fix: string highlighting containing escaped characters (#1630)
Co-authored-by: Romain VALAT <romain.valat@verdie.com>
2020-03-06 09:46:55 -08:00
Aditya Bist 0af2cc6dc3
added SQL formatting rules (#1297) 2019-09-19 14:08:36 -07:00
Charles Gagnon a79741f76f Sync with ADS list of keywords 2019-06-18 17:55:14 -07:00
Matt Irvine cd754662e5
Add between keyword and some others (#1162) 2019-02-04 13:47:47 -08:00
Bruce Dunwiddie 3aa44d04b0 Fixed typo on serverproperty. (#1147) 2018-11-09 11:56:10 -08:00
mattmc3 68d4b740b6 Add missing keywords (#1133) 2018-09-21 13:16:21 -07:00
Cory Rivera c8effddd6a
Update SQL syntax plist to match SSMS query editor behavior. (#1057) 2018-02-02 10:57:34 -08:00
Raymond Martin cfc8b65ed6 Fix: Adding edition to syntax plist (#664) 2017-02-01 15:46:58 -08:00
Raymond Martin a8faef4112 Fix statistics keyword highlighting (#610) 2017-01-12 17:08:23 -08:00
Aditya Bist 73cc9b84d8 fixed OFF keyword not getting highlighted 2017-01-05 10:30:27 -08:00
Karl Burtram cb78dff535 Add additional keywords to colorization list (#550)
* Add USE, RESTORE, and TO to the colorization list

* Add FILE to colorization list

* Add FUNCTION and RETURN to the colorization list.
2016-12-18 22:07:27 -08:00
Aditya Bist 7b1486c2ee # doesn't act like a comment in SQL any more 2016-12-15 14:10:00 -08:00
Karl Burtram bbd2d5986f Update SQL language configuration to handle auto-closing characters (#426)
* Update the SQL lanaguage configuration to better handle auto-closing characters.

* Remove contents of configuration file.
2016-11-29 13:01:05 -08:00
Karl Burtram 9ad0c15526 Add a few missing items to colorization list (#286) 2016-11-05 21:10:40 -07:00
Karl Burtram 33fb360b10 Colorization list additions (#196)
This is only adding colorization keywords and doesn't really require review.

* Add database to colorization list

* Add option to keywork colorization list.

* Add a few more words to colorization list

* Add additional colorization keywords
2016-10-25 18:06:41 +00:00
Karl Burtram 33f53b40d3 Add items to colorization list (#191) 2016-10-24 18:16:26 +00:00
Leila Lali ee639e1631 updating the SQL keywords 2016-10-21 15:57:04 -07:00
Andy Yu f7be88125e Update SQL.Plist(remove backslash as escape character) 2016-08-15 12:00:57 -07:00
Andy Yu 5e97e48abd Update SQL.plist
add keywords
2016-08-05 11:50:43 -07:00
Andy Yu ea9a4b9511 Update SQL.plist
add required keywords
2016-08-01 11:47:30 -07:00
Karl Burtram 2e96b1f24b Initial commit to GitHub. 2016-06-26 11:49:47 -07:00