dsh-composer-ease 0.0.0-stage → 0.9.66
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/CHANGELOG.md +180 -0
- package/LICENSE +21 -0
- package/README.i18n.yaml +30 -0
- package/README.md +79 -2
- package/README.zh.md +80 -0
- package/THIRD-PARTY.md +259 -0
- package/cordis.patch.yml +11 -0
- package/lib/cjk-domain.js +24 -0
- package/lib/cjk-lexicon.js +30049 -0
- package/lib/client/10-foundation.js +396 -0
- package/lib/client/20-pairing.js +177 -0
- package/lib/client/30-popup.js +320 -0
- package/lib/client/40-language.js +174 -0
- package/lib/client/45-settings.js +225 -0
- package/lib/client/50-caret.js +254 -0
- package/lib/client/60-keys.js +242 -0
- package/lib/client/70-input.js +369 -0
- package/lib/client/80-apply.js +76 -0
- package/lib/client/_head.js +17 -0
- package/lib/client/_tail.js +3 -0
- package/lib/client.js +2262 -0
- package/lib/domain-words.js +13 -0
- package/lib/en-common.js +54 -0
- package/lib/en-lexicon.js +66 -0
- package/lib/fuzzy.js +485 -0
- package/lib/index.js +438 -0
- package/lib/words.js +88 -0
- package/package.json +63 -4
package/THIRD-PARTY.md
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# 第三方数据来源与许可证
|
|
2
|
+
|
|
3
|
+
`lib/words.js` 里的补全词表(HTML 标签、JS/Python/Java 关键字、CSS 属性名)是从下列开源项目里
|
|
4
|
+
**抽取的数据**,没有复制它们的源代码;交互形态参照 VSCode(同样未复制源码)。
|
|
5
|
+
各项目的许可证要求保留版权与许可声明,原文照录如下。
|
|
6
|
+
|
|
7
|
+
| 用途 | 项目 | 许可证 | 取的 commit | 具体文件 |
|
|
8
|
+
|---|---|---|---|---|
|
|
9
|
+
| JS / Python / Java 关键字 | [microsoft/monaco-editor](https://github.com/microsoft/monaco-editor) | MIT | `f54d769` | `src/languages/definitions/<lang>/<lang>.ts` 的 `keywords` |
|
|
10
|
+
| HTML 标签、全局属性 | [codemirror/lang-html](https://github.com/codemirror/lang-html) | MIT | `06eec80` | `src/complete.ts` 的 `Tags` / `GlobalAttrs` |
|
|
11
|
+
| CSS 伪类、at 规则 | [codemirror/lang-css](https://github.com/codemirror/lang-css) | MIT | `7b7835b` | `src/complete.ts` 的 `pseudoClasses` / `atRules` |
|
|
12
|
+
| CSS 属性名 | [mdn/browser-compat-data](https://github.com/mdn/browser-compat-data) | CC0-1.0 | `0416078` | `css/properties/*.json` 的文件名(去掉 `-moz-`/`-webkit-` 前缀项) |
|
|
13
|
+
| 中文常用词表 | [fxsjy/jieba](https://github.com/fxsjy/jieba) | MIT | `extra_dict/dict.txt.big` | 抽「纯汉字、2~4 字、按频次靠前」的常用词(`lib/cjk-lexicon.js`),用于区分完整词与碎片 |
|
|
14
|
+
| 英文词表(T2,30k 子集) | [words/an-array-of-english-words](https://github.com/words/an-array-of-english-words) | MIT | v2.0.0 `index.json`(274,937 词) | 只留 3-12 字符纯字母,再用**本机语料频次**排序取前 30000,落在 `lib/en-lexicon.js`;生成脚本 `tools/gen-lexicon.mjs`,可复跑 |
|
|
15
|
+
| 模糊打分引擎与字符判据 | [microsoft/vscode](https://github.com/microsoft/vscode) | MIT | `0b4e063` | `src/vs/base/common/filters.ts`(`fuzzyScore`/`_doScore`/`fuzzyScoreGraceful*` 等)+同目录 `charCode.ts`(只取用到的条目)与 `strings.ts`(只取 `isEmojiImprecise`) |
|
|
16
|
+
|
|
17
|
+
抽取是静态的(正则取数组与对象键),没有执行任何第三方代码;复跑脚本与中间产物不随包分发。
|
|
18
|
+
若某个项目的许可条款与本文件描述不一致,以各项目仓库里的 LICENSE 原文件为准。
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 1. microsoft/monaco-editor(MIT)
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
The MIT License (MIT)
|
|
26
|
+
|
|
27
|
+
Copyright (c) 2016 - present Microsoft Corporation
|
|
28
|
+
|
|
29
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
30
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
31
|
+
in the Software without restriction, including without limitation the rights
|
|
32
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
33
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
34
|
+
furnished to do so, subject to the following conditions:
|
|
35
|
+
|
|
36
|
+
The above copyright notice and this permission notice shall be included in all
|
|
37
|
+
copies or substantial portions of the Software.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
40
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
41
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
42
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
43
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
44
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
45
|
+
SOFTWARE.
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## 2. codemirror/lang-html 与 codemirror/lang-css(MIT)
|
|
49
|
+
|
|
50
|
+
两个包用同一份许可证原文(取用时逐字节比对相同):
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
MIT License
|
|
54
|
+
|
|
55
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
56
|
+
|
|
57
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
58
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
59
|
+
in the Software without restriction, including without limitation the rights
|
|
60
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
61
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
62
|
+
furnished to do so, subject to the following conditions:
|
|
63
|
+
|
|
64
|
+
The above copyright notice and this permission notice shall be included in
|
|
65
|
+
all copies or substantial portions of the Software.
|
|
66
|
+
|
|
67
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
68
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
69
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
70
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
71
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
72
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
73
|
+
THE SOFTWARE.
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## 3. mdn/browser-compat-data(CC0-1.0)
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
CC0 1.0 Universal
|
|
80
|
+
|
|
81
|
+
Statement of Purpose
|
|
82
|
+
|
|
83
|
+
The laws of most jurisdictions throughout the world automatically confer
|
|
84
|
+
exclusive Copyright and Related Rights (defined below) upon the creator and
|
|
85
|
+
subsequent owner(s) (each and all, an "owner") of an original work of
|
|
86
|
+
authorship and/or a database (each, a "Work").
|
|
87
|
+
|
|
88
|
+
Certain owners wish to permanently relinquish those rights to a Work for the
|
|
89
|
+
purpose of contributing to a commons of creative, cultural and scientific
|
|
90
|
+
works ("Commons") that the public can reliably and without fear of later
|
|
91
|
+
claims of infringement build upon, modify, incorporate in other works, reuse
|
|
92
|
+
and redistribute as freely as possible in any form whatsoever and for any
|
|
93
|
+
purposes, including without limitation commercial purposes. These owners may
|
|
94
|
+
contribute to the Commons to promote the ideal of a free culture and the
|
|
95
|
+
further production of creative, cultural and scientific works, or to gain
|
|
96
|
+
reputation or greater distribution for their Work in part through the use and
|
|
97
|
+
efforts of others.
|
|
98
|
+
|
|
99
|
+
For these and/or other purposes and motivations, and without any expectation
|
|
100
|
+
of additional consideration or compensation, the person associating CC0 with a
|
|
101
|
+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
|
102
|
+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
|
103
|
+
and publicly distribute the Work under its terms, with knowledge of his or her
|
|
104
|
+
Copyright and Related Rights in the Work and the meaning and intended legal
|
|
105
|
+
effect of CC0 on those rights.
|
|
106
|
+
|
|
107
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
108
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
|
109
|
+
Related Rights"). Copyright and Related Rights include, but are not limited
|
|
110
|
+
to, the following:
|
|
111
|
+
|
|
112
|
+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
|
113
|
+
and translate a Work;
|
|
114
|
+
|
|
115
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
116
|
+
|
|
117
|
+
iii. publicity and privacy rights pertaining to a person's image or likeness
|
|
118
|
+
depicted in a Work;
|
|
119
|
+
|
|
120
|
+
iv. rights protecting against unfair competition in regards to a Work,
|
|
121
|
+
subject to the limitations in paragraph 4(a), below;
|
|
122
|
+
|
|
123
|
+
v. rights protecting the extraction, dissemination, use and reuse of data in
|
|
124
|
+
a Work;
|
|
125
|
+
|
|
126
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
127
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
|
128
|
+
protection of databases, and under any national implementation thereof,
|
|
129
|
+
including any amended or successor version of such directive); and
|
|
130
|
+
|
|
131
|
+
vii. other similar, equivalent or corresponding rights throughout the world
|
|
132
|
+
based on applicable law or treaty, and any national implementations thereof.
|
|
133
|
+
|
|
134
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
|
135
|
+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
|
136
|
+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
|
137
|
+
and Related Rights and associated claims and causes of action, whether now
|
|
138
|
+
known or unknown (including existing as well as future claims and causes of
|
|
139
|
+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
|
140
|
+
duration provided by applicable law or treaty (including future time
|
|
141
|
+
extensions), (iii) in any current or future medium and for any number of
|
|
142
|
+
copies, and (iv) for any purpose whatsoever, including without limitation
|
|
143
|
+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
|
144
|
+
the Waiver for the benefit of each member of the public at large and to the
|
|
145
|
+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
|
146
|
+
shall not be subject to revocation, rescission, cancellation, termination, or
|
|
147
|
+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
|
148
|
+
by the public as contemplated by Affirmer's express Statement of Purpose.
|
|
149
|
+
|
|
150
|
+
3. Public License Fallback. Should any part of the Waiver for any reason be
|
|
151
|
+
judged legally invalid or ineffective under applicable law, then the Waiver
|
|
152
|
+
shall be preserved to the maximum extent permitted taking into account
|
|
153
|
+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
|
154
|
+
is so judged Affirmer hereby grants to each affected person a royalty-free,
|
|
155
|
+
non transferable, non sublicensable, non exclusive, irrevocable and
|
|
156
|
+
unconditional license to exercise Affirmer's Copyright and Related Rights in
|
|
157
|
+
the Work (i) in all territories worldwide, (ii) for the maximum duration
|
|
158
|
+
provided by applicable law or treaty (including future time extensions), (iii)
|
|
159
|
+
in any current or future medium and for any number of copies, and (iv) for any
|
|
160
|
+
purpose whatsoever, including without limitation commercial, advertising or
|
|
161
|
+
promotional purposes (the "License"). The License shall be deemed effective as
|
|
162
|
+
of the date CC0 was applied by Affirmer to the Work. Should any part of the
|
|
163
|
+
License for any reason be judged legally invalid or ineffective under
|
|
164
|
+
applicable law, such partial invalidity or ineffectiveness shall not
|
|
165
|
+
invalidate the remainder of the License, and in such case Affirmer hereby
|
|
166
|
+
affirms that he or she will not (i) exercise any of his or her remaining
|
|
167
|
+
Copyright and Related Rights in the Work or (ii) assert any associated claims
|
|
168
|
+
and causes of action with respect to the Work, in either case contrary to
|
|
169
|
+
Affirmer's express Statement of Purpose.
|
|
170
|
+
|
|
171
|
+
4. Limitations and Disclaimers.
|
|
172
|
+
|
|
173
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
174
|
+
surrendered, licensed or otherwise affected by this document.
|
|
175
|
+
|
|
176
|
+
b. Affirmer offers the Work as-is and makes no representations or warranties
|
|
177
|
+
of any kind concerning the Work, express, implied, statutory or otherwise,
|
|
178
|
+
including without limitation warranties of title, merchantability, fitness
|
|
179
|
+
for a particular purpose, non infringement, or the absence of latent or
|
|
180
|
+
other defects, accuracy, or the present or absence of errors, whether or not
|
|
181
|
+
discoverable, all to the greatest extent permissible under applicable law.
|
|
182
|
+
|
|
183
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
184
|
+
that may apply to the Work or any use thereof, including without limitation
|
|
185
|
+
any person's Copyright and Related Rights in the Work. Further, Affirmer
|
|
186
|
+
disclaims responsibility for obtaining any necessary consents, permissions
|
|
187
|
+
or other rights required for any use of the Work.
|
|
188
|
+
|
|
189
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
190
|
+
party to this document and has no duty or obligation with respect to this
|
|
191
|
+
CC0 or use of the Work.
|
|
192
|
+
|
|
193
|
+
For more information, please see
|
|
194
|
+
<http://creativecommons.org/publicdomain/zero/1.0/>
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## 4. microsoft/vscode(MIT)
|
|
198
|
+
|
|
199
|
+
`lib/fuzzy.js` 是**逐字取自**该项目的模糊打分实现(文件顶部**原样保留**上游逐字的版权与许可头
|
|
200
|
+
`Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.`;只去掉了 TypeScript 类型注解、并把调试打印函数换成空实现;
|
|
201
|
+
`enum Arrow` 与 `const enum CharCode` 换成等价值对象),用于补全候选的排序口径与命中位置标注:
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
MIT License
|
|
205
|
+
|
|
206
|
+
Copyright (c) 2015 - present Microsoft Corporation
|
|
207
|
+
|
|
208
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
209
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
210
|
+
in the Software without restriction, including without limitation the rights
|
|
211
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
212
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
213
|
+
furnished to do so, subject to the following conditions:
|
|
214
|
+
|
|
215
|
+
The above copyright notice and this permission notice shall be included in all
|
|
216
|
+
copies or substantial portions of the Software.
|
|
217
|
+
|
|
218
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
219
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
220
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
221
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
222
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
223
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
224
|
+
SOFTWARE.
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
## 5. fxsjy/jieba(MIT)
|
|
228
|
+
|
|
229
|
+
`lib/cjk-lexicon.js` 取自该项目的 `extra_dict/dict.txt.big`,只保留常用纯汉字词(2~4 字),用于中文前缀补全的「完整词义」判定:
|
|
230
|
+
|
|
231
|
+
```
|
|
232
|
+
The MIT License (MIT)
|
|
233
|
+
|
|
234
|
+
Copyright (c) 2013 Sun Junyi
|
|
235
|
+
|
|
236
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
237
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
238
|
+
the Software without restriction, including without limitation the rights to
|
|
239
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
240
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
241
|
+
subject to the following conditions:
|
|
242
|
+
|
|
243
|
+
The above copyright notice and this permission notice shall be included in all
|
|
244
|
+
copies or substantial portions of the Software.
|
|
245
|
+
|
|
246
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
247
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
248
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
249
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
250
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
251
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
## 6. words/an-array-of-english-words(MIT)
|
|
255
|
+
|
|
256
|
+
- 用途:英文补全的词表来源(`lib/en-lexicon.js` 的 T2 部分)。
|
|
257
|
+
- 取用:v2.0.0 的 `index.json`(274,937 词)→ 过滤 3-12 字符纯字母 → 按**本机语料频次**排序(T3)→ 取前 30000。
|
|
258
|
+
- 该词表**不含词频**,所以顺序那一半来自本机语料统计(`lib/domain-words.js` 同源生成);换机器重跑会得到不同顺序,这是设计如此。
|
|
259
|
+
- 重新生成:`node tools/gen-lexicon.mjs --words <index.json> --corpus lib --corpus docs --corpus ~/.dsh/本地配置 --cap 30000 --domain-cap 1000`
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# dsh-composer-ease —— DSH bundle patch
|
|
2
|
+
# 插入 web profile 配置树:服务端注册 /dsh-composer-ease/* 路由,浏览器侧半(exports["./client"])
|
|
3
|
+
# 进 boot 图提供键位与补全弹层。
|
|
4
|
+
# 安装:dsh plugin --profile web add "<本插件目录或 git URL>"
|
|
5
|
+
# 例:dsh plugin --profile web add "https://github.com/mengge237/dsh-composer-ease"
|
|
6
|
+
# 卸载:dsh plugin --profile web remove dsh-composer-ease
|
|
7
|
+
# 客户端半边要重启 dsh web 才进 boot 图(服务端半边新加条目可热挂)。
|
|
8
|
+
|
|
9
|
+
- insert:
|
|
10
|
+
- id: dsh-composer-ease
|
|
11
|
+
name: dsh-composer-ease
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// dsh-composer-ease —— 领域词表(本仓自建,不是 jieba 的数据)。
|
|
2
|
+
// 为什么需要它:本仓文档里出现频次最高的一批中文词(引号 108 次、宿主 57、弹层 44、闭符 41…)
|
|
3
|
+
// 恰恰不在通用词典里 —— 通用词典覆盖「日常生活」,不覆盖「插件开发」这套行话。
|
|
4
|
+
// 只收会被前缀匹配用到的词:大多是 3~6 字,保证 2 字前缀能接出更长的词。
|
|
5
|
+
export const CJK_DOMAIN = [
|
|
6
|
+
'补全弹层', '补全候选', '自动补全', '补全触发',
|
|
7
|
+
'波浪线', '引号配对', '引号未闭合', '中文引号', '英文引号',
|
|
8
|
+
'触发源', '触发字符', '触发键',
|
|
9
|
+
'会话压缩', '会话历史', '会话列表', '压缩上下文',
|
|
10
|
+
'插件目录', '插件市场', '插件开发', '插件管理',
|
|
11
|
+
'渲染层', '重渲染', '渲染顺序',
|
|
12
|
+
'候选词', '候选列表', '候选类型', '候选排序',
|
|
13
|
+
'弹层位置', '弹层宽度', '弹层高度',
|
|
14
|
+
'宿主版本', '宿主目录', '宿主重启',
|
|
15
|
+
'闭符跳过', '开符家族', '成对符号',
|
|
16
|
+
'全角字符', '全角符号', '半角字符', '半角符号',
|
|
17
|
+
'标红提示', '行内灰字', '代码围栏', '代码片段', '片段占位符',
|
|
18
|
+
'前缀匹配', '命令菜单', '斜杠菜单', '快捷键冲突',
|
|
19
|
+
'设置项', '配置文件', '工作区文件', '令牌校验', '额度查询',
|
|
20
|
+
'上下文窗口', '摘要算法', '中文分词', '语言词表', '词表命中',
|
|
21
|
+
'围栏标记', '菜单项', '输入法候选', '波浪线样式', '光标位置', '选区替换', '弹窗提示',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
export const CJK_DOMAIN_SOURCE = { origin: 'dsh-composer-ease(本仓自建)', why: '通用词典缺插件开发这套行话' }
|