@codingame/monaco-editor-wrapper 1.7.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Groovy2.js +28 -0
- package/dist/features/htmlContribution.d.ts +3 -0
- package/dist/features/htmlContribution.js +104 -0
- package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
- package/dist/features/mutualizedExtensionConfigurations.js +4857 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1210 -0
- package/dist/languages/extensions/configurationLoader.d.ts +20 -2
- package/dist/languages/index.d.ts +2 -1
- package/dist/languages/textMate/index.d.ts +1 -1
- package/dist/main.js +33 -1218
- package/dist/markdown-basics-markdown.js +18 -0
- package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +4 -0
- package/dist/verilog-systemverilog.js +140 -327
- package/dist/verilog2.js +65 -56
- package/dist/vscode-R-rmd.js +2 -2
- package/package.json +1 -1
- package/stats.html +1 -1
- package/dist/COBOL Copybook2.js +0 -2017
- package/dist/COBOL2.js +0 -2017
- package/dist/SQL.plist.js +0 -482
- package/dist/bsv2.js +0 -49
- package/dist/c2.js +0 -18
- package/dist/coffeescript2.js +0 -18
- package/dist/configuration/hack.d.ts +0 -2
- package/dist/cpp2.js +0 -18
- package/dist/csharp2.js +0 -508
- package/dist/cssContribution.js +0 -10
- package/dist/diet3.js +0 -92
- package/dist/extensionConfigurations.js +0 -9475
- package/dist/fsharp2.js +0 -18
- package/dist/groovy2.js +0 -229
- package/dist/html (eex).js +0 -31
- package/dist/htmlContribution.js +0 -10
- package/dist/javascript2.js +0 -196
- package/dist/javascriptreact2.js +0 -196
- package/dist/jsonContribution.js +0 -78
- package/dist/kotlin2.js +0 -117
- package/dist/kotlinscript2.js +0 -117
- package/dist/languages/monarch/list.d.ts +0 -7
- package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
- package/dist/markdown-basics.js +0 -103
- package/dist/markdown2.js +0 -103
- package/dist/pgsql-sql.js +0 -21
- package/dist/pgsql.js +0 -21
- package/dist/php2.js +0 -265
- package/dist/powershell2.js +0 -18
- package/dist/r.tmLanguage.js +0 -572
- package/dist/reason2.js +0 -100
- package/dist/services/functional.d.ts +0 -1
- package/dist/services/lyfecycle.d.ts +0 -13
- package/dist/sql2.js +0 -21
- package/dist/swift2.js +0 -183
- package/dist/systemverilog2.js +0 -208
- package/dist/tcl2.js +0 -151
- package/dist/typescript-basics.js +0 -312
- package/dist/typescript2.js +0 -312
- package/dist/typescriptContribution.js +0 -36
- package/dist/typescriptreact2.js +0 -312
- package/dist/vb2.js +0 -88
package/dist/SQL.plist.js
DELETED
|
@@ -1,482 +0,0 @@
|
|
|
1
|
-
var fileTypes = [
|
|
2
|
-
"sql",
|
|
3
|
-
"ddl",
|
|
4
|
-
"dml"
|
|
5
|
-
];
|
|
6
|
-
var keyEquivalent = "^~S";
|
|
7
|
-
var name = "SQL";
|
|
8
|
-
var patterns = [
|
|
9
|
-
{
|
|
10
|
-
match: "\\b(?i)(abort|abort_after_wait|absent|absolute|accent_sensitivity|acceptable_cursopt|acp|action|activation|address|admin|aes_128|aes_192|aes_256|affinity|after|aggregate|algorithm|all_constraints|all_errormsgs|all_indexes|all_levels|all_results|allow_connections|allow_dup_row|allow_encrypted_value_modifications|allow_page_locks|allow_row_locks|allow_snapshot_isolation|altercolumn|always|anonymous|ansi_defaults|ansi_null_default|ansi_null_dflt_off|ansi_null_dflt_on|ansi_nulls|ansi_padding|ansi_warnings|appdomain|append|application|apply|arithabort|arithignore|assembly|asymmetric|asynchronous_commit|at|atan2|atomic|attach|attach_force_rebuild_log|attach_rebuild_log|audit|auth_realm|authentication|auto|auto_cleanup|auto_close|auto_create_statistics|auto_shrink|auto_update_statistics|auto_update_statistics_async|automated_backup_preference |automatic|autopilot|availability|availability_mode|backup_priority|base64|basic|batches|batchsize|before|bigint|binary|binding|bit|block|blocksize|bmk|broker|broker_instance|bucket_count|buffer|buffercount|bulk_logged|by|call|caller|card|case|cast|catalog|catch|cert|certificate|change_retention|change_tracking|change_tracking_context|changes|char|character|character_set|check_expiration|check_policy|checkconstraints|checkindex|checkpoint|cleanup_policy|clear|clear_port|codepage|collection|column_encryption_key|column_master_key|columnstore|columnstore_archive|colv_80_to_100|colv_100_to_80|commit_differential_base|committed|compatibility_level|compress_all_row_groups|compression|compression_delay|concat_null_yields_null|concatenate|configuration|connect|continue_after_error|contract|contract_name|control|conversation|conversation_group_id|conversation_handle|copy|copy_only|count_rows|counter|create|credential|cross|cryptographic|cryptographic_provider|cube|cursor_close_on_commit|cursor_default|data|data_compression|data_flush_interval_seconds|data_mirroring|data_purity|data_source|database|database_name|database_snapshot|datafiletype|date_correlation_optimization|date|datefirst|dateformat|date_format|datetime|datetime2|datetimeoffset|days|db_chaining|dbid|dbidexec|dbo_only|deadlock_priority|dec|decimal|declare|decrypt|decrypt_a|decryption|default_database|default_language|default_logon_domain|default_schema|definition|delay|delayed_durability|delimitedtext|density_vector|dependent|des|description|desired_state|desx|differential|digest|disable|disable_broker|disable_def_cnst_chk|disabled|disk|distribution|drop|drop_existing|dts_buffers|dump|durability|dynamic|edition|elements|emergency|empty|enable|enable_broker|enabled|encoding|encrypted|encrypted_value|encryption|encryption_type|end|endpoint|endpoint_url|enhancedintegrity|entry|error_broker_conversations|errorfile|estimateonly|event|exec|executable|exists|expand|expiredate|expiry_date|explicit|external_access|failover|failover_mode|failure_condition_level|fast|fast_forward|fastfirstrow|federated_service_account|field_terminator|fieldterminator|file|filelistonly|filegroup|filename|filestream|filestream_log|filestream_on|filetable|file_format|filter|fips_flagger|fire_triggers|first|firstrow|float|flush_interval_seconds|fmtonly|following|force|force_failover_allow_data_loss|force_service_allow_data_loss|forced|forceplan|formatfile|format_options|format_type|formsof|forward_only|free_cursors|free_exec_context|fullscan|fulltext|fulltextall|fulltextkey|function|generated|get|geography|geometry|global|go|governor|guid|hadoop|hardening|hash|hashed|header_limit|headeronly|health_check_timeout|hidden|hierarchyid|histogram|histogram_steps|hits_cursors|hits_exec_context|hours|http|identity_value|if|ifnull|ignore_constraints|ignore_dup_key|ignore_dup_row|ignore_triggers|image|immediate|implicit_transactions|include|include_null_values|inflectional|init|initiator|insensitive|insert|instead|int|integer|integrated|intermediate|interval_length_minutes|into|inuse_cursors|inuse_exec_context|io|is|isabout|iso_week|isolation|job_tracker_location|json|keep|keep_nulls|keep_replication|keepdefaults|keepfixed|keepidentity|keepnulls|kerberos|key|key_path|key_source|key_store_provider_name|keyset|kilobytes_per_batch|labelonly|langid|language|last|lastrow|legacy_cardinality_estimation|length|level|lifetime|lineage_80_to_100|lineage_100_to_80|listener_ip|listener_port|load|loadhistory|lob_compaction|local|local_service_name|locate|location|lock_escalation|lock_timeout|lockres|login|login_type|loop|manual|mark_in_use_for_removal|masked|master|max_queue_readers|max_duration|max_outstanding_io_per_volume|maxdop|maxerrors|maxlength|maxtransfersize|max_plans_per_query|max_storage_size_mb|mediadescription|medianame|mediapassword|memogroup|memory_optimized|merge|message|message_forward_size|message_forwarding|microsecond|millisecond|minutes|mirror_address|misses_cursors|misses_exec_context|mixed|modify|money|move|multi_user|must_change|name|namespace|nanosecond|native|native_compilation|nchar|ncharacter|never|new_account|new_broker|newname|next|no|no_browsetable|no_checksum|no_compression|no_infomsgs|no_triggers|no_truncate|nocount|noexec|noexpand|noformat|noinit|nolock|nonatomic|nondurable|none|norecompute|norecovery|noreset|norewind|noskip|not|notification|nounload|now|nowait|ntext|ntlm|numeric|numeric_roundabort|nvarchar|object|objid|oem|offline|old_account|online|operation_mode|openjson|optimistic|option|orc|out|outer|output|over|override|owner|ownership|pad_index|page|page_checksum|page_verify|pagecount|paglock|param|parameter_sniffing|parameter_type_expansion|parameterization|parquet|parseonly|partial|partition|partner|password|path|pause|percentage|permission_set|persisted|period|physical_only|plan_forcing_mode|policy|pool|population|ports|preceding|precision|predicate|presume_abort|primary|primary_role|print|prior|priority |priority_level|private|procedure_name|profile|provider|query_capture_mode|query_governor_cost_limit|query_optimizer_hotfixes|query_store|queue|quoted_identifier|range|raw|rcfile|rc2|rc4|rc4_128|rdbms|read_committed_snapshot|read|read_only|read_write|readcommitted|readcommittedlock|readonly|readpast|readuncommitted|readwrite|real|rebuild|receive|recmodel_70backcomp|recompile|recovery|recursive|recursive_triggers|redo_queue|reject_sample_value|reject_type|reject_value|relative|remote|remote_data_archive|remote_proc_transactions|remote_service_name|remove|removed_cursors|removed_exec_context|reorganize|repeat|repeatable|repeatableread|replica|replicated|replnick_100_to_80|replnickarray_80_to_100|replnickarray_100_to_80|required|required_cursopt|resample|reset|resource|resource_manager_location|restart|restore|restricted_user|resume|retaindays|retention|return|rewind|rewindonly|returns|robust|role|rollup|root|round_robin|route|row|rowdump|rowlock|row_terminator|rows|rows_per_batch|rowsets_only|rowterminator|rowversion|rsa_1024|rsa_2048|rsa_3072|rsa_4096|rsa_512|safe|safety|sample|schemabinding|scoped|scroll|scroll_locks|sddl|secexpr|secondary|secondary_only|secondary_role|secret|security|securityaudit|selective|self|send|sent|sequence|serde_method|serializable|server|service|service_broker|service_name|service_objective|session_timeout|session|sessions|seterror|setopts|sets|shard_map_manager|shard_map_name|sharded|shared_memory|show_statistics|showplan_all|showplan_text|showplan_xml|showplan_xml_with_recompile|shrinkdb|sid|signature|simple|single_blob|single_clob|single_nclob|single_user|singleton|site|size_based_cleanup_mode|skip|smalldatetime|smallint|smallmoney|snapshot|snapshot_import|snapshotrestorephase|soap|softnuma|sort_in_tempdb|sorted_data|sorted_data_reorg|spatial|sql|sql_bigint|sql_binary|sql_bit|sql_char|sql_date|sql_decimal|sql_double|sql_float|sql_guid|sql_handle|sql_longvarbinary|sql_longvarchar|sql_numeric|sql_real|sql_smallint|sql_time|sql_timestamp|sql_tinyint|sql_tsi_day|sql_tsi_frac_second|sql_tsi_hour|sql_tsi_minute|sql_tsi_month|sql_tsi_quarter|sql_tsi_second|sql_tsi_week|sql_tsi_year|sql_type_date|sql_type_time|sql_type_timestamp|sql_varbinary|sql_varchar|sql_variant|sql_wchar|sql_wlongvarchar|ssl|ssl_port|standard|standby|start|start_date|started|stat_header|state|statement|static|statistics|statistics_incremental|statistics_norecompute|statistics_only|statman|stats_stream|status|stop|stop_on_error|stopat|stopatmark|stopbeforemark|stoplist|stopped|string_delimiter|subject|supplemental_logging|supported|suspend|symmetric|synchronous_commit|synonym|sysname|system|system_time|system_versioning|table|tableresults|tablock|tablockx|take|tape|target|target_index|target_partition|tcp|temporal_history_retention|text|textimage_on|then|thesaurus|throw|time|timeout|timestamp|tinyint|to|top|torn_page_detection|track_columns_updated|tran|transaction|transfer|triple_des|triple_des_3key|trustworthy|try|tsql|type|type_desc|type_warning|tzoffset|uid|unbounded|uncommitted|uniqueidentifier|unlimited|unload|unlock|unsafe|updlock|url|use|useplan|useroptions|use_type_default|using|utcdatetime|valid_xml|validation|value|values|varbinary|varchar|verbose|verifyonly|version|view_metadata|virtual_device|visiblity|webmethod|weekday|weight|well_formed_xml|when|widechar|widechar_ansi|widenative|windows|with|within|witness|without|without_array_wrapper|workload|wsdl|xact_abort|xlock|xml|xmlschema|xquery|xsinil|zone)\\b",
|
|
11
|
-
name: "keyword.other.sql"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
include: "#comments"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
captures: {
|
|
18
|
-
"1": {
|
|
19
|
-
name: "keyword.other.create.sql"
|
|
20
|
-
},
|
|
21
|
-
"2": {
|
|
22
|
-
name: "keyword.other.sql"
|
|
23
|
-
},
|
|
24
|
-
"5": {
|
|
25
|
-
name: "entity.name.function.sql"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
match: "(?i:^\\s*(create(?:\\s+or\\s+replace)?)\\s+(aggregate|conversion|database|domain|function|group|(unique\\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)(['\"`]?)(\\w+)\\4",
|
|
29
|
-
name: "meta.create.sql"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
captures: {
|
|
33
|
-
"1": {
|
|
34
|
-
name: "keyword.other.create.sql"
|
|
35
|
-
},
|
|
36
|
-
"2": {
|
|
37
|
-
name: "keyword.other.sql"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
match: "(?i:^\\s*(drop)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))",
|
|
41
|
-
name: "meta.drop.sql"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
captures: {
|
|
45
|
-
"1": {
|
|
46
|
-
name: "keyword.other.create.sql"
|
|
47
|
-
},
|
|
48
|
-
"2": {
|
|
49
|
-
name: "keyword.other.table.sql"
|
|
50
|
-
},
|
|
51
|
-
"3": {
|
|
52
|
-
name: "entity.name.function.sql"
|
|
53
|
-
},
|
|
54
|
-
"4": {
|
|
55
|
-
name: "keyword.other.cascade.sql"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
match: "(?i:\\s*(drop)\\s+(table)\\s+(\\w+)(\\s+cascade)?\\b)",
|
|
59
|
-
name: "meta.drop.sql"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
captures: {
|
|
63
|
-
"1": {
|
|
64
|
-
name: "keyword.other.create.sql"
|
|
65
|
-
},
|
|
66
|
-
"2": {
|
|
67
|
-
name: "keyword.other.table.sql"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
match: "(?i:^\\s*(alter)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)",
|
|
71
|
-
name: "meta.alter.sql"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
captures: {
|
|
75
|
-
"1": {
|
|
76
|
-
name: "storage.type.sql"
|
|
77
|
-
},
|
|
78
|
-
"2": {
|
|
79
|
-
name: "storage.type.sql"
|
|
80
|
-
},
|
|
81
|
-
"3": {
|
|
82
|
-
name: "constant.numeric.sql"
|
|
83
|
-
},
|
|
84
|
-
"4": {
|
|
85
|
-
name: "storage.type.sql"
|
|
86
|
-
},
|
|
87
|
-
"5": {
|
|
88
|
-
name: "constant.numeric.sql"
|
|
89
|
-
},
|
|
90
|
-
"6": {
|
|
91
|
-
name: "storage.type.sql"
|
|
92
|
-
},
|
|
93
|
-
"7": {
|
|
94
|
-
name: "constant.numeric.sql"
|
|
95
|
-
},
|
|
96
|
-
"8": {
|
|
97
|
-
name: "constant.numeric.sql"
|
|
98
|
-
},
|
|
99
|
-
"9": {
|
|
100
|
-
name: "storage.type.sql"
|
|
101
|
-
},
|
|
102
|
-
"10": {
|
|
103
|
-
name: "constant.numeric.sql"
|
|
104
|
-
},
|
|
105
|
-
"11": {
|
|
106
|
-
name: "storage.type.sql"
|
|
107
|
-
},
|
|
108
|
-
"12": {
|
|
109
|
-
name: "storage.type.sql"
|
|
110
|
-
},
|
|
111
|
-
"13": {
|
|
112
|
-
name: "storage.type.sql"
|
|
113
|
-
},
|
|
114
|
-
"14": {
|
|
115
|
-
name: "constant.numeric.sql"
|
|
116
|
-
},
|
|
117
|
-
"15": {
|
|
118
|
-
name: "storage.type.sql"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
match: "(?xi)\n\n\t\t\t\t# normal stuff, capture 1\n\t\t\t\t \\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\b\n\n\t\t\t\t# numeric suffix, capture 2 + 3i\n\t\t\t\t|\\b(bit\\svarying|character\\s(?:varying)?|tinyint|var\\schar|float|interval)\\((\\d+)\\)\n\n\t\t\t\t# optional numeric suffix, capture 4 + 5i\n\t\t\t\t|\\b(char|number|varchar\\d?)\\b(?:\\((\\d+)\\))?\n\n\t\t\t\t# special case, capture 6 + 7i + 8i\n\t\t\t\t|\\b(numeric|decimal)\\b(?:\\((\\d+),(\\d+)\\))?\n\n\t\t\t\t# special case, captures 9, 10i, 11\n\t\t\t\t|\\b(times?)\\b(?:\\((\\d+)\\))?(\\swith(?:out)?\\stime\\szone\\b)?\n\n\t\t\t\t# special case, captures 12, 13, 14i, 15\n\t\t\t\t|\\b(timestamp)(?:(s|tz))?\\b(?:\\((\\d+)\\))?(\\s(with|without)\\stime\\szone\\b)?\n\n\t\t\t"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
match: "(?i:\\b((?:primary|foreign)\\s+key|references|on\\sdelete(\\s+cascade)?|check|constraint)\\b)",
|
|
125
|
-
name: "storage.modifier.sql"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
match: "\\b\\d+\\b",
|
|
129
|
-
name: "constant.numeric.sql"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
match: "(?i:\\b(select(\\s+distinct)?|insert\\s+(ignore\\s+)?into|update|delete|from|set|where|group\\sby|or|like|and|union(\\s+all)?|having|order\\sby|limit|(inner|cross)\\s+join|join|straight_join|(left|right)(\\s+outer)?\\s+join|natural(\\s+(left|right)(\\s+outer)?)?\\s+join)\\b)",
|
|
133
|
-
name: "keyword.other.DML.sql"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
match: "(?i:\\b(on|off|((is\\s+)?not\\s+)?null)\\b)",
|
|
137
|
-
name: "keyword.other.DDL.create.II.sql"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
match: "(?i:\\bvalues\\b)",
|
|
141
|
-
name: "keyword.other.DML.II.sql"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
match: "(?i:\\b(begin(\\s+work)?|start\\s+transaction|commit(\\s+work)?|rollback(\\s+work)?)\\b)",
|
|
145
|
-
name: "keyword.other.LUW.sql"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
match: "(?i:\\b(grant(\\swith\\sgrant\\soption)?|revoke)\\b)",
|
|
149
|
-
name: "keyword.other.authorization.sql"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
match: "(?i:\\bin\\b)",
|
|
153
|
-
name: "keyword.other.data-integrity.sql"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
match: "(?i:^\\s*(comment\\s+on\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\s+.*?\\s+(is)\\s+)",
|
|
157
|
-
name: "keyword.other.object-comments.sql"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
match: "(?i)\\bAS\\b",
|
|
161
|
-
name: "keyword.other.alias.sql"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
match: "(?i)\\b(DESC|ASC)\\b",
|
|
165
|
-
name: "keyword.other.order.sql"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
match: "\\*",
|
|
169
|
-
name: "keyword.operator.star.sql"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
match: "[!<>]?=|<>|<|>",
|
|
173
|
-
name: "keyword.operator.comparison.sql"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
match: "-|\\+|/",
|
|
177
|
-
name: "keyword.operator.math.sql"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
match: "\\|\\|",
|
|
181
|
-
name: "keyword.operator.concatenator.sql"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
comment: "List of SQL99 built-in functions from http://www.oreilly.com/catalog/sqlnut/chapter/ch04.html",
|
|
185
|
-
match: "(?i)\\b(CURRENT_(DATE|TIME(STAMP)?|USER)|(SESSION|SYSTEM)_USER)\\b",
|
|
186
|
-
name: "support.function.scalar.sql"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
comment: "List of SQL99 built-in functions from http://www.oreilly.com/catalog/sqlnut/chapter/ch04.html",
|
|
190
|
-
match: "(?i)\\b(AVG|COUNT|MIN|MAX|SUM)(?=\\s*\\()",
|
|
191
|
-
name: "support.function.aggregate.sql"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
match: "(?i)\\b(CONCATENATE|CONVERT|LOWER|SUBSTRING|TRANSLATE|TRIM|UPPER)\\b",
|
|
195
|
-
name: "support.function.string.sql"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
captures: {
|
|
199
|
-
"1": {
|
|
200
|
-
name: "constant.other.database-name.sql"
|
|
201
|
-
},
|
|
202
|
-
"2": {
|
|
203
|
-
name: "constant.other.table-name.sql"
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
match: "(\\w+?)\\.(\\w+)"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
include: "#strings"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
include: "#regexps"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
captures: {
|
|
216
|
-
"1": {
|
|
217
|
-
name: "punctuation.section.scope.begin.sql"
|
|
218
|
-
},
|
|
219
|
-
"2": {
|
|
220
|
-
name: "punctuation.section.scope.end.sql"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
comment: "Allow for special ↩ behavior",
|
|
224
|
-
match: "(\\()(\\))",
|
|
225
|
-
name: "meta.block.sql"
|
|
226
|
-
}
|
|
227
|
-
];
|
|
228
|
-
var repository = {
|
|
229
|
-
comments: {
|
|
230
|
-
patterns: [
|
|
231
|
-
{
|
|
232
|
-
begin: "(^[ \\t]+)?(?=--)",
|
|
233
|
-
beginCaptures: {
|
|
234
|
-
"1": {
|
|
235
|
-
name: "punctuation.whitespace.comment.leading.sql"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
end: "(?!\\G)",
|
|
239
|
-
patterns: [
|
|
240
|
-
{
|
|
241
|
-
begin: "--",
|
|
242
|
-
beginCaptures: {
|
|
243
|
-
"0": {
|
|
244
|
-
name: "punctuation.definition.comment.sql"
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
end: "\\n",
|
|
248
|
-
name: "comment.line.double-dash.sql"
|
|
249
|
-
}
|
|
250
|
-
]
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
begin: "(^[ \\t]+)?(?=#)",
|
|
254
|
-
beginCaptures: {
|
|
255
|
-
"1": {
|
|
256
|
-
name: "punctuation.whitespace.comment.leading.sql"
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
end: "(?!\\G)",
|
|
260
|
-
patterns: [
|
|
261
|
-
]
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
begin: "/\\*",
|
|
265
|
-
captures: {
|
|
266
|
-
"0": {
|
|
267
|
-
name: "punctuation.definition.comment.sql"
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
end: "\\*/",
|
|
271
|
-
name: "comment.block.c"
|
|
272
|
-
}
|
|
273
|
-
]
|
|
274
|
-
},
|
|
275
|
-
regexps: {
|
|
276
|
-
patterns: [
|
|
277
|
-
{
|
|
278
|
-
begin: "/(?=\\S.*/)",
|
|
279
|
-
beginCaptures: {
|
|
280
|
-
"0": {
|
|
281
|
-
name: "punctuation.definition.string.begin.sql"
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
end: "/",
|
|
285
|
-
endCaptures: {
|
|
286
|
-
"0": {
|
|
287
|
-
name: "punctuation.definition.string.end.sql"
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
name: "string.regexp.sql",
|
|
291
|
-
patterns: [
|
|
292
|
-
{
|
|
293
|
-
include: "#string_interpolation"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
match: "\\\\/",
|
|
297
|
-
name: "constant.character.escape.slash.sql"
|
|
298
|
-
}
|
|
299
|
-
]
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
begin: "%r\\{",
|
|
303
|
-
beginCaptures: {
|
|
304
|
-
"0": {
|
|
305
|
-
name: "punctuation.definition.string.begin.sql"
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
comment: "We should probably handle nested bracket pairs!?! -- Allan",
|
|
309
|
-
end: "\\}",
|
|
310
|
-
endCaptures: {
|
|
311
|
-
"0": {
|
|
312
|
-
name: "punctuation.definition.string.end.sql"
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
name: "string.regexp.modr.sql",
|
|
316
|
-
patterns: [
|
|
317
|
-
{
|
|
318
|
-
include: "#string_interpolation"
|
|
319
|
-
}
|
|
320
|
-
]
|
|
321
|
-
}
|
|
322
|
-
]
|
|
323
|
-
},
|
|
324
|
-
string_escape: {
|
|
325
|
-
match: "\\\\.",
|
|
326
|
-
name: "constant.character.escape.sql"
|
|
327
|
-
},
|
|
328
|
-
string_interpolation: {
|
|
329
|
-
captures: {
|
|
330
|
-
"1": {
|
|
331
|
-
name: "punctuation.definition.string.begin.sql"
|
|
332
|
-
},
|
|
333
|
-
"3": {
|
|
334
|
-
name: "punctuation.definition.string.end.sql"
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
match: "(#\\{)([^\\}]*)(\\})",
|
|
338
|
-
name: "string.interpolated.sql"
|
|
339
|
-
},
|
|
340
|
-
strings: {
|
|
341
|
-
patterns: [
|
|
342
|
-
{
|
|
343
|
-
captures: {
|
|
344
|
-
"1": {
|
|
345
|
-
name: "punctuation.definition.string.begin.sql"
|
|
346
|
-
},
|
|
347
|
-
"2": {
|
|
348
|
-
name: "punctuation.definition.string.end.sql"
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
comment: "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
|
352
|
-
match: "(')[^']*(')",
|
|
353
|
-
name: "string.quoted.single.sql"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
begin: "'",
|
|
357
|
-
beginCaptures: {
|
|
358
|
-
"0": {
|
|
359
|
-
name: "punctuation.definition.string.begin.sql"
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
end: "'",
|
|
363
|
-
endCaptures: {
|
|
364
|
-
"0": {
|
|
365
|
-
name: "punctuation.definition.string.end.sql"
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
name: "string.quoted.single.sql",
|
|
369
|
-
patterns: [
|
|
370
|
-
{
|
|
371
|
-
include: "#string_escape"
|
|
372
|
-
}
|
|
373
|
-
]
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
captures: {
|
|
377
|
-
"1": {
|
|
378
|
-
name: "punctuation.definition.string.begin.sql"
|
|
379
|
-
},
|
|
380
|
-
"2": {
|
|
381
|
-
name: "punctuation.definition.string.end.sql"
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
comment: "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
|
385
|
-
match: "(`)[^`\\\\]*(`)",
|
|
386
|
-
name: "string.quoted.other.backtick.sql"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
begin: "`",
|
|
390
|
-
beginCaptures: {
|
|
391
|
-
"0": {
|
|
392
|
-
name: "punctuation.definition.string.begin.sql"
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
end: "`",
|
|
396
|
-
endCaptures: {
|
|
397
|
-
"0": {
|
|
398
|
-
name: "punctuation.definition.string.end.sql"
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
name: "string.quoted.other.backtick.sql",
|
|
402
|
-
patterns: [
|
|
403
|
-
{
|
|
404
|
-
include: "#string_escape"
|
|
405
|
-
}
|
|
406
|
-
]
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
captures: {
|
|
410
|
-
"1": {
|
|
411
|
-
name: "punctuation.definition.string.begin.sql"
|
|
412
|
-
},
|
|
413
|
-
"2": {
|
|
414
|
-
name: "punctuation.definition.string.end.sql"
|
|
415
|
-
}
|
|
416
|
-
},
|
|
417
|
-
comment: "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
|
418
|
-
match: "(\")[^\"#]*(\")",
|
|
419
|
-
name: "string.quoted.double.sql"
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
begin: "\"",
|
|
423
|
-
beginCaptures: {
|
|
424
|
-
"0": {
|
|
425
|
-
name: "punctuation.definition.string.begin.sql"
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
end: "\"",
|
|
429
|
-
endCaptures: {
|
|
430
|
-
"0": {
|
|
431
|
-
name: "punctuation.definition.string.end.sql"
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
name: "string.quoted.double.sql",
|
|
435
|
-
patterns: [
|
|
436
|
-
{
|
|
437
|
-
include: "#string_interpolation"
|
|
438
|
-
}
|
|
439
|
-
]
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
begin: "%\\{",
|
|
443
|
-
beginCaptures: {
|
|
444
|
-
"0": {
|
|
445
|
-
name: "punctuation.definition.string.begin.sql"
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
end: "\\}",
|
|
449
|
-
endCaptures: {
|
|
450
|
-
"0": {
|
|
451
|
-
name: "punctuation.definition.string.end.sql"
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
name: "string.other.quoted.brackets.sql",
|
|
455
|
-
patterns: [
|
|
456
|
-
{
|
|
457
|
-
include: "#string_interpolation"
|
|
458
|
-
}
|
|
459
|
-
]
|
|
460
|
-
}
|
|
461
|
-
]
|
|
462
|
-
}
|
|
463
|
-
};
|
|
464
|
-
var scopeName = "source.sql";
|
|
465
|
-
var uuid = "C49120AC-6ECC-11D9-ACC8-000D93589AF6";
|
|
466
|
-
var information_for_contributors = [
|
|
467
|
-
"This file has been converted from https://github.com/microsoft/vscode-postgresql/blob/master/",
|
|
468
|
-
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
469
|
-
"Once accepted there, we are happy to receive an update request."
|
|
470
|
-
];
|
|
471
|
-
var SQL_plist = {
|
|
472
|
-
fileTypes: fileTypes,
|
|
473
|
-
keyEquivalent: keyEquivalent,
|
|
474
|
-
name: name,
|
|
475
|
-
patterns: patterns,
|
|
476
|
-
repository: repository,
|
|
477
|
-
scopeName: scopeName,
|
|
478
|
-
uuid: uuid,
|
|
479
|
-
information_for_contributors: information_for_contributors
|
|
480
|
-
};
|
|
481
|
-
|
|
482
|
-
export { SQL_plist as default, fileTypes, information_for_contributors, keyEquivalent, name, patterns, repository, scopeName, uuid };
|
package/dist/bsv2.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
var rule = {
|
|
2
|
-
prefix: "rule",
|
|
3
|
-
body: [
|
|
4
|
-
"rule $0 ( $1 );",
|
|
5
|
-
"endrule : $0"
|
|
6
|
-
]
|
|
7
|
-
};
|
|
8
|
-
var bsv = {
|
|
9
|
-
"package": {
|
|
10
|
-
prefix: "package",
|
|
11
|
-
body: [
|
|
12
|
-
"package $0",
|
|
13
|
-
"endpackage : $0"
|
|
14
|
-
],
|
|
15
|
-
description: "package"
|
|
16
|
-
},
|
|
17
|
-
rule: rule,
|
|
18
|
-
"import": {
|
|
19
|
-
prefix: "import",
|
|
20
|
-
body: [
|
|
21
|
-
"import $0 :: *;"
|
|
22
|
-
],
|
|
23
|
-
description: "import"
|
|
24
|
-
},
|
|
25
|
-
"interface": {
|
|
26
|
-
prefix: "interface",
|
|
27
|
-
body: [
|
|
28
|
-
"interface $IfcCounter #($type $t);",
|
|
29
|
-
"method $t readCounter;",
|
|
30
|
-
"endinterface"
|
|
31
|
-
],
|
|
32
|
-
description: "interface"
|
|
33
|
-
},
|
|
34
|
-
"example module": {
|
|
35
|
-
prefix: "module ex",
|
|
36
|
-
body: [
|
|
37
|
-
"module ${0:mkExample}(${1:Empty});",
|
|
38
|
-
"",
|
|
39
|
-
" rule ${2:rl_print_answer};",
|
|
40
|
-
" \\$display (\"Deep Thought says: Hello, World! The answer is 42.\");",
|
|
41
|
-
" \\$finish;",
|
|
42
|
-
" endrule",
|
|
43
|
-
"endmodule"
|
|
44
|
-
],
|
|
45
|
-
description: "example module"
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export { bsv as default, rule };
|
package/dist/c2.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var c = {
|
|
2
|
-
"Region Start": {
|
|
3
|
-
prefix: "#region",
|
|
4
|
-
body: [
|
|
5
|
-
"#pragma region $0"
|
|
6
|
-
],
|
|
7
|
-
description: "Folding Region Start"
|
|
8
|
-
},
|
|
9
|
-
"Region End": {
|
|
10
|
-
prefix: "#endregion",
|
|
11
|
-
body: [
|
|
12
|
-
"#pragma endregion"
|
|
13
|
-
],
|
|
14
|
-
description: "Folding Region End"
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { c as default };
|
package/dist/coffeescript2.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var coffeescript = {
|
|
2
|
-
"Region Start": {
|
|
3
|
-
prefix: "#region",
|
|
4
|
-
body: [
|
|
5
|
-
"#region"
|
|
6
|
-
],
|
|
7
|
-
description: "Folding Region Start"
|
|
8
|
-
},
|
|
9
|
-
"Region End": {
|
|
10
|
-
prefix: "#endregion",
|
|
11
|
-
body: [
|
|
12
|
-
"#endregion"
|
|
13
|
-
],
|
|
14
|
-
description: "Folding Region End"
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { coffeescript as default };
|
package/dist/cpp2.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var cpp = {
|
|
2
|
-
"Region Start": {
|
|
3
|
-
prefix: "#region",
|
|
4
|
-
body: [
|
|
5
|
-
"#pragma region $0"
|
|
6
|
-
],
|
|
7
|
-
description: "Folding Region Start"
|
|
8
|
-
},
|
|
9
|
-
"Region End": {
|
|
10
|
-
prefix: "#endregion",
|
|
11
|
-
body: [
|
|
12
|
-
"#pragma endregion"
|
|
13
|
-
],
|
|
14
|
-
description: "Folding Region End"
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { cpp as default };
|