Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions extensions/ql-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [UNRELEASED]

- Implement syntax highlighting for the `additional` and `default` keywords. [#2609](https://github.com/github/vscode-codeql/pull/2609)

## 1.8.7 - 29 June 2023

- Show a run button on the file tab for query files, that will start a local query. This button will only show when a local database is selected in the extension. [#2544](https://github.com/github/vscode-codeql/pull/2544)
Expand Down
16 changes: 14 additions & 2 deletions extensions/ql-vscode/syntaxes/ql.tmLanguage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,12 @@ repository:
match:
keyword: 'abstract'
name: storage.modifier.abstract.ql


additional:
match:
keyword: 'additional'
name: storage.modifier.additional.ql

bindingset:
match:
keyword: 'bindingset'
Expand All @@ -519,11 +524,16 @@ repository:
keyword: 'cached'
name: storage.modifier.cached.ql

default:
match:
keyword: 'default'
name: storage.modifier.default.ql

deprecated:
match:
keyword: 'deprecated'
name: storage.modifier.deprecated.ql

external:
match:
keyword: 'external'
Expand Down Expand Up @@ -577,8 +587,10 @@ repository:
annotation-keyword:
patterns:
- include: '#abstract'
- include: '#additional'
- include: '#bindingset'
- include: '#cached'
- include: '#default'
- include: '#deprecated'
- include: '#external'
- include: '#final'
Expand Down
Loading