Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
a7618273
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,发现更多精彩内容 >>
未验证
提交
a7618273
编写于
2月 07, 2020
作者:
J
Johannes Rieken
提交者:
GitHub
2月 07, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into joh/continous-browser-tests
上级
4f875f8d
86e4bcfa
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
26 addition
and
13 deletion
+26
-13
src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.css
src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.css
+4
-0
src/vs/workbench/contrib/bulkEdit/browser/bulkEditPane.ts
src/vs/workbench/contrib/bulkEdit/browser/bulkEditPane.ts
+1
-1
src/vs/workbench/contrib/bulkEdit/browser/bulkEditTree.ts
src/vs/workbench/contrib/bulkEdit/browser/bulkEditTree.ts
+5
-3
src/vs/workbench/contrib/debug/browser/baseDebugView.ts
src/vs/workbench/contrib/debug/browser/baseDebugView.ts
+1
-1
src/vs/workbench/contrib/debug/browser/debugService.ts
src/vs/workbench/contrib/debug/browser/debugService.ts
+7
-1
src/vs/workbench/contrib/files/browser/views/explorerView.ts
src/vs/workbench/contrib/files/browser/views/explorerView.ts
+8
-7
未找到文件。
src/vs/workbench/contrib/bulkEdit/browser/
media/
bulkEdit.css
→
src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.css
浏览文件 @
a7618273
...
...
@@ -35,6 +35,10 @@
opacity
:
.5
;
}
.monaco-workbench
.bulk-edit-panel
.monaco-tl-contents
.monaco-icon-label.delete
.monaco-icon-label-container
{
text-decoration
:
line-through
;
}
.monaco-workbench
.bulk-edit-panel
.monaco-tl-contents
.details
{
margin-left
:
.5em
;
opacity
:
.7
;
...
...
src/vs/workbench/contrib/bulkEdit/browser/bulkEditPane.ts
浏览文件 @
a7618273
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
'
vs/css!./
media/
bulkEdit
'
;
import
'
vs/css!./bulkEdit
'
;
import
{
WorkbenchAsyncDataTree
,
TreeResourceNavigator
,
IOpenEvent
}
from
'
vs/platform/list/browser/listService
'
;
import
{
WorkspaceEdit
}
from
'
vs/editor/common/modes
'
;
import
{
BulkEditElement
,
BulkEditDelegate
,
TextEditElementRenderer
,
FileElementRenderer
,
BulkEditDataSource
,
BulkEditIdentityProvider
,
FileElement
,
TextEditElement
,
BulkEditAccessibilityProvider
,
BulkEditAriaProvider
,
CategoryElementRenderer
,
BulkEditNaviLabelProvider
,
CategoryElement
}
from
'
vs/workbench/contrib/bulkEdit/browser/bulkEditTree
'
;
...
...
src/vs/workbench/contrib/bulkEdit/browser/bulkEditTree.ts
浏览文件 @
a7618273
...
...
@@ -459,19 +459,21 @@ class FileElementTemplate {
}
else
{
// create, delete, edit: NAME
this
.
_label
.
setFile
(
element
.
edit
.
uri
,
{
const
options
=
{
matches
:
createMatches
(
score
),
fileKind
:
FileKind
.
FILE
,
fileDecorations
:
{
colors
:
true
,
badges
:
false
},
});
extraClasses
:
<
string
[]
>
[]
};
if
(
element
.
edit
.
type
&
BulkFileOperationType
.
Create
)
{
this
.
_details
.
innerText
=
localize
(
'
detail.create
'
,
"
(creating)
"
);
}
else
if
(
element
.
edit
.
type
&
BulkFileOperationType
.
Delete
)
{
this
.
_details
.
innerText
=
localize
(
'
detail.del
'
,
"
(deleting)
"
);
options
.
extraClasses
.
push
(
'
delete
'
);
}
else
{
this
.
_details
.
innerText
=
''
;
}
this
.
_label
.
setFile
(
element
.
edit
.
uri
,
options
);
}
}
}
...
...
src/vs/workbench/contrib/debug/browser/baseDebugView.ts
浏览文件 @
a7618273
...
...
@@ -104,7 +104,7 @@ export function renderVariable(variable: Variable, data: IVariableTemplateData,
}
data
.
label
.
set
(
text
,
highlights
,
variable
.
type
?
variable
.
type
:
variable
.
name
);
dom
.
toggleClass
(
data
.
name
,
'
virtual
'
,
!!
variable
.
presentationHint
&&
variable
.
presentationHint
.
kind
===
'
virtual
'
);
}
else
if
(
variable
.
value
&&
typeof
variable
.
name
===
'
string
'
)
{
}
else
if
(
variable
.
value
&&
typeof
variable
.
name
===
'
string
'
&&
variable
.
name
)
{
data
.
label
.
set
(
'
:
'
);
}
...
...
src/vs/workbench/contrib/debug/browser/debugService.ts
浏览文件 @
a7618273
...
...
@@ -912,7 +912,13 @@ export class DebugService implements IDebugService {
private
sendExceptionBreakpoints
(
session
?:
IDebugSession
):
Promise
<
void
>
{
const
enabledExceptionBps
=
this
.
model
.
getExceptionBreakpoints
().
filter
(
exb
=>
exb
.
enabled
);
return
sendToOneOrAllSessions
(
this
.
model
,
session
,
s
=>
s
.
sendExceptionBreakpoints
(
enabledExceptionBps
));
return
sendToOneOrAllSessions
(
this
.
model
,
session
,
async
s
=>
{
if
(
s
.
capabilities
.
supportsConfigurationDoneRequest
&&
(
!
s
.
capabilities
.
exceptionBreakpointFilters
||
s
.
capabilities
.
exceptionBreakpointFilters
.
length
===
0
))
{
// Only call `setExceptionBreakpoints` as specified in dap protocol #90001
return
;
}
await
s
.
sendExceptionBreakpoints
(
enabledExceptionBps
);
});
}
private
onFileChanges
(
fileChangesEvent
:
FileChangesEvent
):
void
{
...
...
src/vs/workbench/contrib/files/browser/views/explorerView.ts
浏览文件 @
a7618273
...
...
@@ -146,6 +146,7 @@ export class ExplorerView extends ViewPane {
private
dragHandler
!
:
DelayedDragHandler
;
private
autoReveal
=
false
;
private
actions
:
IAction
[]
|
undefined
;
private
decorationsProvider
:
ExplorerDecorationsProvider
|
undefined
;
constructor
(
options
:
IViewPaneOptions
,
...
...
@@ -159,7 +160,7 @@ export class ExplorerView extends ViewPane {
@
IKeybindingService
keybindingService
:
IKeybindingService
,
@
IContextKeyService
private
readonly
contextKeyService
:
IContextKeyService
,
@
IConfigurationService
configurationService
:
IConfigurationService
,
@
IDecorationsService
decorationService
:
IDecorationsService
,
@
IDecorationsService
private
readonly
decorationService
:
IDecorationsService
,
@
ILabelService
private
readonly
labelService
:
ILabelService
,
@
IThemeService
private
readonly
themeService
:
IWorkbenchThemeService
,
@
IMenuService
private
readonly
menuService
:
IMenuService
,
...
...
@@ -183,10 +184,6 @@ export class ExplorerView extends ViewPane {
this
.
compressedFocusLastContext
=
ExplorerCompressedLastFocusContext
.
bindTo
(
contextKeyService
);
this
.
explorerService
.
registerContextProvider
(
this
);
const
decorationProvider
=
new
ExplorerDecorationsProvider
(
this
.
explorerService
,
contextService
);
this
.
_register
(
decorationService
.
registerDecorationsProvider
(
decorationProvider
));
this
.
_register
(
decorationProvider
);
}
get
name
():
string
{
...
...
@@ -582,7 +579,7 @@ export class ExplorerView extends ViewPane {
return
DOM
.
getLargestChildWidth
(
parentNode
,
childNodes
);
}
private
setTreeInput
():
Promise
<
void
>
{
private
async
setTreeInput
():
Promise
<
void
>
{
if
(
!
this
.
isBodyVisible
())
{
this
.
shouldRefresh
=
true
;
return
Promise
.
resolve
(
undefined
);
...
...
@@ -631,7 +628,11 @@ export class ExplorerView extends ViewPane {
delay
:
this
.
layoutService
.
isRestored
()
?
800
:
1200
// less ugly initial startup
},
_progress
=>
promise
);
return
promise
;
await
promise
;
if
(
!
this
.
decorationsProvider
)
{
this
.
decorationsProvider
=
new
ExplorerDecorationsProvider
(
this
.
explorerService
,
this
.
contextService
);
this
.
_register
(
this
.
decorationService
.
registerDecorationsProvider
(
this
.
decorationsProvider
));
}
}
private
getActiveFile
():
URI
|
undefined
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录