Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
0652b9cb
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 搜索 >>
提交
0652b9cb
编写于
1月 05, 2021
作者:
I
isidor
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
debug toolbar docked actions only appear in debug viewlet
上级
035e15b7
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
3 addition
and
3 deletion
+3
-3
src/vs/workbench/contrib/debug/browser/debugToolBar.ts
src/vs/workbench/contrib/debug/browser/debugToolBar.ts
+3
-3
未找到文件。
src/vs/workbench/contrib/debug/browser/debugToolBar.ts
浏览文件 @
0652b9cb
...
...
@@ -14,7 +14,7 @@ import { IAction, IRunEvent, WorkbenchActionExecutedEvent, WorkbenchActionExecut
import
{
ActionBar
,
ActionsOrientation
}
from
'
vs/base/browser/ui/actionbar/actionbar
'
;
import
{
IWorkbenchLayoutService
}
from
'
vs/workbench/services/layout/browser/layoutService
'
;
import
{
IWorkbenchContribution
}
from
'
vs/workbench/common/contributions
'
;
import
{
IDebugConfiguration
,
IDebugService
,
State
,
CONTEXT_DEBUG_STATE
,
CONTEXT_FOCUSED_SESSION_IS_ATTACH
,
CONTEXT_STEP_BACK_SUPPORTED
,
CONTEXT_MULTI_SESSION_DEBUG
}
from
'
vs/workbench/contrib/debug/common/debug
'
;
import
{
IDebugConfiguration
,
IDebugService
,
State
,
CONTEXT_DEBUG_STATE
,
CONTEXT_FOCUSED_SESSION_IS_ATTACH
,
CONTEXT_STEP_BACK_SUPPORTED
,
CONTEXT_MULTI_SESSION_DEBUG
,
VIEWLET_ID
}
from
'
vs/workbench/contrib/debug/common/debug
'
;
import
{
FocusSessionActionViewItem
}
from
'
vs/workbench/contrib/debug/browser/debugActionViewItems
'
;
import
{
IConfigurationService
}
from
'
vs/platform/configuration/common/configuration
'
;
import
{
IStorageService
,
StorageScope
,
StorageTarget
}
from
'
vs/platform/storage/common/storage
'
;
...
...
@@ -26,7 +26,7 @@ import { RunOnceScheduler } from 'vs/base/common/async';
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
createAndFillInActionBarActions
,
MenuEntryActionViewItem
,
SubmenuEntryActionViewItem
}
from
'
vs/platform/actions/browser/menuEntryActionViewItem
'
;
import
{
IMenu
,
IMenuService
,
MenuId
,
MenuItemAction
,
SubmenuItemAction
,
MenuRegistry
}
from
'
vs/platform/actions/common/actions
'
;
import
{
IContextKeyService
,
ContextKeyExpression
,
ContextKeyExpr
}
from
'
vs/platform/contextkey/common/contextkey
'
;
import
{
IContextKeyService
,
ContextKeyExpression
,
ContextKeyExpr
,
ContextKeyEqualsExpr
}
from
'
vs/platform/contextkey/common/contextkey
'
;
import
{
IDisposable
,
dispose
}
from
'
vs/base/common/lifecycle
'
;
import
*
as
icons
from
'
vs/workbench/contrib/debug/browser/debugIcons
'
;
import
{
debugToolBarBackground
,
debugToolBarBorder
}
from
'
vs/workbench/contrib/debug/browser/debugColors
'
;
...
...
@@ -280,7 +280,7 @@ const registerDebugToolBarItem = (id: string, title: string, order: number, icon
// Register actions in debug viewlet when toolbar is docked
MenuRegistry
.
appendMenuItem
(
MenuId
.
ViewContainerTitle
,
{
group
:
'
navigation
'
,
when
:
ContextKeyExpr
.
and
(
when
,
CONTEXT_DEBUG_STATE
.
notEqualsTo
(
'
inactive
'
),
ContextKeyExpr
.
equals
(
'
config.debug.toolBarLocation
'
,
'
docked
'
)),
when
:
ContextKeyExpr
.
and
(
when
,
C
ontextKeyEqualsExpr
.
create
(
'
viewContainer
'
,
VIEWLET_ID
),
C
ONTEXT_DEBUG_STATE
.
notEqualsTo
(
'
inactive
'
),
ContextKeyExpr
.
equals
(
'
config.debug.toolBarLocation
'
,
'
docked
'
)),
order
,
command
:
{
id
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录