Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
2bbee1ef
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
2bbee1ef
编写于
1月 22, 2020
作者:
P
Pine Wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Separate testing changes
上级
047e81e9
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
2025 deletion
+6
-2025
extensions/css-language-features/client/src/cssMain.ts
extensions/css-language-features/client/src/cssMain.ts
+5
-6
extensions/css-language-features/client/src/randomWord.ts
extensions/css-language-features/client/src/randomWord.ts
+0
-2018
src/vs/editor/contrib/suggest/suggestController.ts
src/vs/editor/contrib/suggest/suggestController.ts
+1
-1
未找到文件。
extensions/css-language-features/client/src/cssMain.ts
浏览文件 @
2bbee1ef
...
...
@@ -9,7 +9,6 @@ import { commands, CompletionItem, CompletionItemKind, ExtensionContext, languag
import
{
Disposable
,
LanguageClient
,
LanguageClientOptions
,
ServerOptions
,
TransportKind
,
ProvideCompletionItemsSignature
}
from
'
vscode-languageclient
'
;
import
*
as
nls
from
'
vscode-nls
'
;
import
{
getCustomDataPathsFromAllExtensions
,
getCustomDataPathsInAllWorkspaces
}
from
'
./customData
'
;
import
{
generateRandomLabel
}
from
'
./randomWord
'
;
const
localize
=
nls
.
loadMessageBundle
();
...
...
@@ -59,12 +58,12 @@ export function activate(context: ExtensionContext) {
if
(
item
.
kind
===
CompletionItemKind
.
Color
)
{
item
.
label2
=
{
name
:
item
.
label
,
signature
:
'
(my, signature)
'
,
qualifier
:
'
my.qualifier
'
,
type
:
(
item
.
documentation
as
string
),
type
:
(
item
.
documentation
as
string
)
};
}
else
{
item
.
label2
=
generateRandomLabel
(
item
.
label
);
}
const
range
=
item
.
range
;
if
(
range
instanceof
Range
&&
range
.
end
.
isAfter
(
position
)
&&
range
.
start
.
isBeforeOrEqual
(
position
))
{
item
.
range
=
{
inserting
:
new
Range
(
range
.
start
,
position
),
replacing
:
range
};
}
}
// testing the new completion
...
...
extensions/css-language-features/client/src/randomWord.ts
已删除
100644 → 0
浏览文件 @
047e81e9
此差异已折叠。
点击以展开。
src/vs/editor/contrib/suggest/suggestController.ts
浏览文件 @
2bbee1ef
...
...
@@ -43,7 +43,7 @@ import { SuggestRangeHighlighter } from 'vs/editor/contrib/suggest/suggestRangeH
* Stop suggest widget from disappearing when clicking into other areas
* For development purpose only
*/
const
_sticky
=
tru
e
;
const
_sticky
=
fals
e
;
class
LineSuffix
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录