Skip to content

Commit d5f278c

Browse files
committed
update version, fix foreignkey syntax
1 parent d587f5b commit d5f278c

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## [0.3.5]
4+
### Added
5+
- Add initial syntax support for ClassQuery
6+
- Add initial syntax support for ForeignKey
7+
### Fixed
8+
- Corrected a bit of syntax syntax support for macros
9+
310
## [0.3.4]
411
### Added
512
- Reconnect after change settings

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-cos",
33
"displayName": "Caché ObjectScript",
44
"description": "Caché ObjectScript language support for Visual Studio Code",
5-
"version": "0.3.4",
5+
"version": "0.3.5",
66
"icon": "images/logo.png",
77
"categories": [
88
"Languages",

syntaxes/cos.tmLanguage.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@
304304
{ "comment": "FK props \"ForeignKey TestKey(Propeties)\"",
305305
"begin": "\\(", "end":"\\)",
306306
"patterns": [
307-
308307
{
309308
"match": "(\\w+)",
310309
"captures": {
@@ -327,7 +326,20 @@
327326
}
328327
}
329328
]
329+
},
330+
{ "comment": "FK options",
331+
"begin": "\\[", "end": "\\]",
332+
"patterns": [
333+
{
334+
"match": "(\\w+)",
335+
"captures": {
336+
"1": { "name": "variable.parameter.cos" }
337+
}
338+
}
339+
]
330340
}
341+
342+
331343
]
332344
},
333345

0 commit comments

Comments
 (0)