Skip to content

Commit 70f591c

Browse files
committed
Add color theme recommend on README, release v1.2.0
1 parent 0368378 commit 70f591c

3 files changed

Lines changed: 145 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
### v1.2.0
2+
- Add color theme recommend on README.
13
### v1.1.3
24
- Fix bug.
35
### v1.1.2

README.md

Lines changed: 142 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,158 @@
1-
# flink-sql
1+
# Flink-SQL-VsCode
22

33
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.
44

55

66
## Features
77

8-
Enables syntax highlighting and formatting for Flink SQL(v1.16.0), including user-defined functions.
8+
Enables syntax highlighting and complete keywords for Flink SQL(v1.16.0), including user-defined functions.
99

1010

1111
## How use
1212
Enable the extension on your file, either name the file with a extension:
1313
- SQL
1414
- FQL
15-
15+
1616
Or press F1, type 'Change Language Mode', and then choose FlinkSQL.
1717

18-
# TODO List
18+
19+
## Color theme recommend
20+
~~~json
21+
{
22+
"workbench.colorTheme": "Default Dark+",
23+
"editor.tokenColorCustomizations": {
24+
"textMateRules": [
25+
{
26+
"scope": "keyword.control.flink",
27+
"settings": {
28+
"foreground": "#559DD6"
29+
}
30+
},
31+
{
32+
"scope": "storage.type.flink",
33+
"settings": {
34+
"foreground": "#C27432"
35+
}
36+
},
37+
{
38+
"scope": "support.type.flink",
39+
"settings": {
40+
"foreground": "#C27432"
41+
}
42+
},
43+
{
44+
"scope": "constant.language.flink",
45+
"settings": {
46+
"foreground": "#C27432"
47+
}
48+
},
49+
{
50+
"scope": "keyword.operator.arithmetic.flink",
51+
"settings": {
52+
"foreground": "#F4BE6B"
53+
}
54+
},
55+
{
56+
"scope": "keyword.operator.relational.flink",
57+
"settings": {
58+
"foreground": "#F0F400"
59+
}
60+
},
61+
{
62+
"scope": "keyword.operator.logical.flink",
63+
"settings": {
64+
"foreground": "#C27432"
65+
}
66+
},
67+
{
68+
"scope": "support.function.udf.complex.flink",
69+
"settings": {
70+
"foreground": "#F2BC69"
71+
}
72+
},
73+
{
74+
"scope": "support.function.udf.mathematic.flink",
75+
"settings": {
76+
"foreground": "#F2BC69"
77+
}
78+
},
79+
{
80+
"scope": "support.function.udf.type-cast.flink",
81+
"settings": {
82+
"foreground": "#F2BC69"
83+
}
84+
},
85+
{
86+
"scope": "support.function.udf.date.flink",
87+
"settings": {
88+
"foreground": "#F2BC69"
89+
}
90+
},
91+
{
92+
"scope": "support.function.udf.conditional.flink",
93+
"settings": {
94+
"foreground": "#F2BC69"
95+
}
96+
},
97+
{
98+
"scope": "support.function.udf.string.flink",
99+
"settings": {
100+
"foreground": "#F2BC69"
101+
}
102+
},
103+
{
104+
"scope": "support.function.udf.json.flink",
105+
"settings": {
106+
"foreground": "#F2BC69"
107+
}
108+
},
109+
{
110+
"scope": "support.function.udf.value.construct.flink",
111+
"settings": {
112+
"foreground": "#F2BC69"
113+
}
114+
},
115+
{
116+
"scope": "support.function.udf.value.access.flink",
117+
"settings": {
118+
"foreground": "#F2BC69"
119+
}
120+
},
121+
{
122+
"scope": "support.function.udaf.flink",
123+
"settings": {
124+
"foreground": "#F2BC69"
125+
}
126+
},
127+
{
128+
"scope": "support.function.udf.aggregate.flink",
129+
"settings": {
130+
"foreground": "#F2BC69"
131+
}
132+
},
133+
{
134+
"scope": "support.function.udf.time.flink",
135+
"settings": {
136+
"foreground": "#F2BC69"
137+
}
138+
},
139+
{
140+
"scope": "support.function.udf.column.flink",
141+
"settings": {
142+
"foreground": "#F2BC69"
143+
}
144+
},
145+
{
146+
"scope": "support.function.time.attributes.flink",
147+
"settings": {
148+
"foreground": "#F2BC69"
149+
}
150+
},
151+
],
152+
}
153+
}
154+
~~~
155+
156+
## TODO List
19157
- 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`
20158
- Error grammer highlight

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flink-sql",
3-
"version": "1.1.3",
3+
"version": "1.2.0",
44
"displayName": "Flink SQL",
55
"description": "Adds support for Flink's variant of the SQL language",
66
"publisher": "CamileSing",

0 commit comments

Comments
 (0)