-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add color theme recommend on README, release v1.2.0
- Loading branch information
1 parent
0368378
commit 70f591c
Showing
3 changed files
with
145 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
### v1.2.0 | ||
- Add color theme recommend on README. | ||
### v1.1.3 | ||
- Fix bug. | ||
### v1.1.2 | ||
|
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 |
---|---|---|
@@ -1,20 +1,158 @@ | ||
# flink-sql | ||
# Flink-SQL-VsCode | ||
|
||
This extension provides Flink SQL support for VSCode. It also provides some basic code snippets for operations such as creating a table, altering a table, or renaming columns. | ||
|
||
|
||
## Features | ||
|
||
Enables syntax highlighting and formatting for Flink SQL(v1.16.0), including user-defined functions. | ||
Enables syntax highlighting and complete keywords for Flink SQL(v1.16.0), including user-defined functions. | ||
|
||
|
||
## How use | ||
Enable the extension on your file, either name the file with a extension: | ||
- SQL | ||
- FQL | ||
|
||
Or press F1, type 'Change Language Mode', and then choose FlinkSQL. | ||
|
||
# TODO List | ||
|
||
## Color theme recommend | ||
~~~json | ||
{ | ||
"workbench.colorTheme": "Default Dark+", | ||
"editor.tokenColorCustomizations": { | ||
"textMateRules": [ | ||
{ | ||
"scope": "keyword.control.flink", | ||
"settings": { | ||
"foreground": "#559DD6" | ||
} | ||
}, | ||
{ | ||
"scope": "storage.type.flink", | ||
"settings": { | ||
"foreground": "#C27432" | ||
} | ||
}, | ||
{ | ||
"scope": "support.type.flink", | ||
"settings": { | ||
"foreground": "#C27432" | ||
} | ||
}, | ||
{ | ||
"scope": "constant.language.flink", | ||
"settings": { | ||
"foreground": "#C27432" | ||
} | ||
}, | ||
{ | ||
"scope": "keyword.operator.arithmetic.flink", | ||
"settings": { | ||
"foreground": "#F4BE6B" | ||
} | ||
}, | ||
{ | ||
"scope": "keyword.operator.relational.flink", | ||
"settings": { | ||
"foreground": "#F0F400" | ||
} | ||
}, | ||
{ | ||
"scope": "keyword.operator.logical.flink", | ||
"settings": { | ||
"foreground": "#C27432" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.complex.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.mathematic.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.type-cast.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.date.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.conditional.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.string.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.json.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.value.construct.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.value.access.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udaf.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.aggregate.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.time.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.udf.column.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
{ | ||
"scope": "support.function.time.attributes.flink", | ||
"settings": { | ||
"foreground": "#F2BC69" | ||
} | ||
}, | ||
], | ||
} | ||
} | ||
~~~ | ||
|
||
## TODO List | ||
- Support grammer:`Conditional Functions`:`CASE value WHEN value1_1 [, value1_2]* THEN RESULT1 (WHEN value2_1 [, value2_2 ]* THEN result_2)* (ELSE result_z) END` | ||
- Error grammer highlight |
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