Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
54707c13
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,发现更多精彩内容 >>
提交
54707c13
编写于
12月 13, 2017
作者:
M
Matt Bierner
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mark static ID properties as readonly
上级
80e73dac
变更
24
隐藏空白更改
内联
并排
Showing
24 changed file
with
125 addition
and
125 deletion
+125
-125
src/vs/editor/contrib/hover/modesContentHover.ts
src/vs/editor/contrib/hover/modesContentHover.ts
+1
-1
src/vs/editor/contrib/quickFix/quickFixCommands.ts
src/vs/editor/contrib/quickFix/quickFixCommands.ts
+1
-1
src/vs/workbench/browser/actions/workspaceActions.ts
src/vs/workbench/browser/actions/workspaceActions.ts
+9
-9
src/vs/workbench/browser/parts/editor/editorStatus.ts
src/vs/workbench/browser/parts/editor/editorStatus.ts
+1
-1
src/vs/workbench/browser/parts/panel/panelActions.ts
src/vs/workbench/browser/parts/panel/panelActions.ts
+2
-2
src/vs/workbench/electron-browser/actions.ts
src/vs/workbench/electron-browser/actions.ts
+12
-12
src/vs/workbench/parts/cli/electron-browser/cli.contribution.ts
.../workbench/parts/cli/electron-browser/cli.contribution.ts
+2
-2
src/vs/workbench/parts/debug/browser/debugActions.ts
src/vs/workbench/parts/debug/browser/debugActions.ts
+35
-35
src/vs/workbench/parts/debug/browser/debugEditorModelManager.ts
.../workbench/parts/debug/browser/debugEditorModelManager.ts
+1
-1
src/vs/workbench/parts/debug/browser/debugViewlet.ts
src/vs/workbench/parts/debug/browser/debugViewlet.ts
+4
-4
src/vs/workbench/parts/debug/electron-browser/breakpointsView.ts
...workbench/parts/debug/electron-browser/breakpointsView.ts
+4
-4
src/vs/workbench/parts/debug/electron-browser/electronDebugActions.ts
...ench/parts/debug/electron-browser/electronDebugActions.ts
+4
-4
src/vs/workbench/parts/extensions/browser/extensionsActions.ts
...s/workbench/parts/extensions/browser/extensionsActions.ts
+29
-29
src/vs/workbench/parts/extensions/common/extensionsInput.ts
src/vs/workbench/parts/extensions/common/extensionsInput.ts
+1
-1
src/vs/workbench/parts/extensions/electron-browser/extensionsActions.ts
...ch/parts/extensions/electron-browser/extensionsActions.ts
+2
-2
src/vs/workbench/parts/extensions/electron-browser/runtimeExtensionsEditor.ts
...ts/extensions/electron-browser/runtimeExtensionsEditor.ts
+5
-5
src/vs/workbench/parts/files/electron-browser/views/openEditorsView.ts
...nch/parts/files/electron-browser/views/openEditorsView.ts
+3
-3
src/vs/workbench/parts/preferences/browser/keybindingsEditorContribution.ts
...arts/preferences/browser/keybindingsEditorContribution.ts
+1
-1
src/vs/workbench/parts/scm/electron-browser/scm.contribution.ts
.../workbench/parts/scm/electron-browser/scm.contribution.ts
+1
-1
src/vs/workbench/parts/themes/electron-browser/themes.contribution.ts
...ench/parts/themes/electron-browser/themes.contribution.ts
+3
-3
src/vs/workbench/parts/update/electron-browser/releaseNotesInput.ts
...kbench/parts/update/electron-browser/releaseNotesInput.ts
+1
-1
src/vs/workbench/parts/update/electron-browser/update.ts
src/vs/workbench/parts/update/electron-browser/update.ts
+1
-1
src/vs/workbench/parts/welcome/page/electron-browser/welcomePage.ts
...kbench/parts/welcome/page/electron-browser/welcomePage.ts
+1
-1
src/vs/workbench/parts/welcome/walkThrough/electron-browser/editor/editorWalkThrough.ts
.../walkThrough/electron-browser/editor/editorWalkThrough.ts
+1
-1
未找到文件。
src/vs/editor/contrib/hover/modesContentHover.ts
浏览文件 @
54707c13
...
@@ -154,7 +154,7 @@ class ModesContentComputer implements IHoverComputer<HoverPart[]> {
...
@@ -154,7 +154,7 @@ class ModesContentComputer implements IHoverComputer<HoverPart[]> {
export
class
ModesContentHoverWidget
extends
ContentHoverWidget
{
export
class
ModesContentHoverWidget
extends
ContentHoverWidget
{
static
ID
=
'
editor.contrib.modesContentHoverWidget
'
;
static
readonly
ID
=
'
editor.contrib.modesContentHoverWidget
'
;
private
_messages
:
HoverPart
[];
private
_messages
:
HoverPart
[];
private
_lastRange
:
Range
;
private
_lastRange
:
Range
;
...
...
src/vs/editor/contrib/quickFix/quickFixCommands.ts
浏览文件 @
54707c13
...
@@ -125,7 +125,7 @@ export class QuickFixController implements IEditorContribution {
...
@@ -125,7 +125,7 @@ export class QuickFixController implements IEditorContribution {
export
class
QuickFixAction
extends
EditorAction
{
export
class
QuickFixAction
extends
EditorAction
{
static
Id
=
'
editor.action.quickFix
'
;
static
readonly
Id
=
'
editor.action.quickFix
'
;
constructor
()
{
constructor
()
{
super
({
super
({
...
...
src/vs/workbench/browser/actions/workspaceActions.ts
浏览文件 @
54707c13
...
@@ -30,7 +30,7 @@ import { IHistoryService } from 'vs/workbench/services/history/common/history';
...
@@ -30,7 +30,7 @@ import { IHistoryService } from 'vs/workbench/services/history/common/history';
export
class
OpenFileAction
extends
Action
{
export
class
OpenFileAction
extends
Action
{
static
ID
=
'
workbench.action.files.openFile
'
;
static
readonly
ID
=
'
workbench.action.files.openFile
'
;
static
LABEL
=
nls
.
localize
(
'
openFile
'
,
"
Open File...
"
);
static
LABEL
=
nls
.
localize
(
'
openFile
'
,
"
Open File...
"
);
constructor
(
constructor
(
...
@@ -50,7 +50,7 @@ export class OpenFileAction extends Action {
...
@@ -50,7 +50,7 @@ export class OpenFileAction extends Action {
export
class
OpenFolderAction
extends
Action
{
export
class
OpenFolderAction
extends
Action
{
static
ID
=
'
workbench.action.files.openFolder
'
;
static
readonly
ID
=
'
workbench.action.files.openFolder
'
;
static
LABEL
=
nls
.
localize
(
'
openFolder
'
,
"
Open Folder...
"
);
static
LABEL
=
nls
.
localize
(
'
openFolder
'
,
"
Open Folder...
"
);
constructor
(
constructor
(
...
@@ -70,7 +70,7 @@ export class OpenFolderAction extends Action {
...
@@ -70,7 +70,7 @@ export class OpenFolderAction extends Action {
export
class
OpenFileFolderAction
extends
Action
{
export
class
OpenFileFolderAction
extends
Action
{
static
ID
=
'
workbench.action.files.openFileFolder
'
;
static
readonly
ID
=
'
workbench.action.files.openFileFolder
'
;
static
LABEL
=
nls
.
localize
(
'
openFileFolder
'
,
"
Open...
"
);
static
LABEL
=
nls
.
localize
(
'
openFileFolder
'
,
"
Open...
"
);
constructor
(
constructor
(
...
@@ -195,7 +195,7 @@ function isUntitledWorkspace(path: string, environmentService: IEnvironmentServi
...
@@ -195,7 +195,7 @@ function isUntitledWorkspace(path: string, environmentService: IEnvironmentServi
export
class
AddRootFolderAction
extends
BaseWorkspacesAction
{
export
class
AddRootFolderAction
extends
BaseWorkspacesAction
{
static
ID
=
'
workbench.action.addRootFolder
'
;
static
readonly
ID
=
'
workbench.action.addRootFolder
'
;
static
LABEL
=
nls
.
localize
(
'
addFolderToWorkspace
'
,
"
Add Folder to Workspace...
"
);
static
LABEL
=
nls
.
localize
(
'
addFolderToWorkspace
'
,
"
Add Folder to Workspace...
"
);
constructor
(
constructor
(
...
@@ -225,7 +225,7 @@ export class AddRootFolderAction extends BaseWorkspacesAction {
...
@@ -225,7 +225,7 @@ export class AddRootFolderAction extends BaseWorkspacesAction {
export
class
GlobalRemoveRootFolderAction
extends
BaseWorkspacesAction
{
export
class
GlobalRemoveRootFolderAction
extends
BaseWorkspacesAction
{
static
ID
=
'
workbench.action.removeRootFolder
'
;
static
readonly
ID
=
'
workbench.action.removeRootFolder
'
;
static
LABEL
=
nls
.
localize
(
'
globalRemoveFolderFromWorkspace
'
,
"
Remove Folder from Workspace...
"
);
static
LABEL
=
nls
.
localize
(
'
globalRemoveFolderFromWorkspace
'
,
"
Remove Folder from Workspace...
"
);
constructor
(
constructor
(
...
@@ -261,7 +261,7 @@ export class GlobalRemoveRootFolderAction extends BaseWorkspacesAction {
...
@@ -261,7 +261,7 @@ export class GlobalRemoveRootFolderAction extends BaseWorkspacesAction {
export
class
RemoveRootFolderAction
extends
Action
{
export
class
RemoveRootFolderAction
extends
Action
{
static
ID
=
'
workbench.action.removeRootFolder
'
;
static
readonly
ID
=
'
workbench.action.removeRootFolder
'
;
static
LABEL
=
nls
.
localize
(
'
removeFolderFromWorkspace
'
,
"
Remove Folder from Workspace
"
);
static
LABEL
=
nls
.
localize
(
'
removeFolderFromWorkspace
'
,
"
Remove Folder from Workspace
"
);
constructor
(
constructor
(
...
@@ -280,7 +280,7 @@ export class RemoveRootFolderAction extends Action {
...
@@ -280,7 +280,7 @@ export class RemoveRootFolderAction extends Action {
export
class
OpenFolderSettingsAction
extends
Action
{
export
class
OpenFolderSettingsAction
extends
Action
{
static
ID
=
'
workbench.action.openFolderSettings
'
;
static
readonly
ID
=
'
workbench.action.openFolderSettings
'
;
static
LABEL
=
nls
.
localize
(
'
openFolderSettings
'
,
"
Open Folder Settings
"
);
static
LABEL
=
nls
.
localize
(
'
openFolderSettings
'
,
"
Open Folder Settings
"
);
constructor
(
constructor
(
...
@@ -302,7 +302,7 @@ export class OpenFolderSettingsAction extends Action {
...
@@ -302,7 +302,7 @@ export class OpenFolderSettingsAction extends Action {
export
class
SaveWorkspaceAsAction
extends
BaseWorkspacesAction
{
export
class
SaveWorkspaceAsAction
extends
BaseWorkspacesAction
{
static
ID
=
'
workbench.action.saveWorkspaceAs
'
;
static
readonly
ID
=
'
workbench.action.saveWorkspaceAs
'
;
static
LABEL
=
nls
.
localize
(
'
saveWorkspaceAsAction
'
,
"
Save Workspace As...
"
);
static
LABEL
=
nls
.
localize
(
'
saveWorkspaceAsAction
'
,
"
Save Workspace As...
"
);
constructor
(
constructor
(
...
@@ -347,7 +347,7 @@ export class SaveWorkspaceAsAction extends BaseWorkspacesAction {
...
@@ -347,7 +347,7 @@ export class SaveWorkspaceAsAction extends BaseWorkspacesAction {
export
class
OpenWorkspaceAction
extends
Action
{
export
class
OpenWorkspaceAction
extends
Action
{
static
ID
=
'
workbench.action.openWorkspace
'
;
static
readonly
ID
=
'
workbench.action.openWorkspace
'
;
static
LABEL
=
nls
.
localize
(
'
openWorkspaceAction
'
,
"
Open Workspace...
"
);
static
LABEL
=
nls
.
localize
(
'
openWorkspaceAction
'
,
"
Open Workspace...
"
);
constructor
(
constructor
(
...
...
src/vs/workbench/browser/parts/editor/editorStatus.ts
浏览文件 @
54707c13
...
@@ -765,7 +765,7 @@ function isWritableBaseEditor(e: IBaseEditor): boolean {
...
@@ -765,7 +765,7 @@ function isWritableBaseEditor(e: IBaseEditor): boolean {
export
class
ShowLanguageExtensionsAction
extends
Action
{
export
class
ShowLanguageExtensionsAction
extends
Action
{
static
ID
=
'
workbench.action.showLanguageExtensions
'
;
static
readonly
ID
=
'
workbench.action.showLanguageExtensions
'
;
constructor
(
constructor
(
private
fileExtension
:
string
,
private
fileExtension
:
string
,
...
...
src/vs/workbench/browser/parts/panel/panelActions.ts
浏览文件 @
54707c13
...
@@ -18,7 +18,7 @@ import { ActivityAction } from 'vs/workbench/browser/parts/compositebar/composit
...
@@ -18,7 +18,7 @@ import { ActivityAction } from 'vs/workbench/browser/parts/compositebar/composit
import
{
IActivity
}
from
'
vs/workbench/common/activity
'
;
import
{
IActivity
}
from
'
vs/workbench/common/activity
'
;
export
class
ClosePanelAction
extends
Action
{
export
class
ClosePanelAction
extends
Action
{
static
ID
=
'
workbench.action.closePanel
'
;
static
readonly
ID
=
'
workbench.action.closePanel
'
;
static
LABEL
=
nls
.
localize
(
'
closePanel
'
,
"
Close Panel
"
);
static
LABEL
=
nls
.
localize
(
'
closePanel
'
,
"
Close Panel
"
);
constructor
(
constructor
(
...
@@ -35,7 +35,7 @@ export class ClosePanelAction extends Action {
...
@@ -35,7 +35,7 @@ export class ClosePanelAction extends Action {
}
}
export
class
TogglePanelAction
extends
Action
{
export
class
TogglePanelAction
extends
Action
{
static
ID
=
'
workbench.action.togglePanel
'
;
static
readonly
ID
=
'
workbench.action.togglePanel
'
;
static
LABEL
=
nls
.
localize
(
'
togglePanel
'
,
"
Toggle Panel
"
);
static
LABEL
=
nls
.
localize
(
'
togglePanel
'
,
"
Toggle Panel
"
);
constructor
(
constructor
(
...
...
src/vs/workbench/electron-browser/actions.ts
浏览文件 @
54707c13
...
@@ -91,7 +91,7 @@ export class CloseCurrentWindowAction extends Action {
...
@@ -91,7 +91,7 @@ export class CloseCurrentWindowAction extends Action {
export
class
CloseWorkspaceAction
extends
Action
{
export
class
CloseWorkspaceAction
extends
Action
{
static
ID
=
'
workbench.action.closeFolder
'
;
static
readonly
ID
=
'
workbench.action.closeFolder
'
;
static
LABEL
=
nls
.
localize
(
'
closeWorkspace
'
,
"
Close Workspace
"
);
static
LABEL
=
nls
.
localize
(
'
closeWorkspace
'
,
"
Close Workspace
"
);
constructor
(
constructor
(
...
@@ -117,7 +117,7 @@ export class CloseWorkspaceAction extends Action {
...
@@ -117,7 +117,7 @@ export class CloseWorkspaceAction extends Action {
export
class
NewWindowAction
extends
Action
{
export
class
NewWindowAction
extends
Action
{
static
ID
=
'
workbench.action.newWindow
'
;
static
readonly
ID
=
'
workbench.action.newWindow
'
;
static
LABEL
=
nls
.
localize
(
'
newWindow
'
,
"
New Window
"
);
static
LABEL
=
nls
.
localize
(
'
newWindow
'
,
"
New Window
"
);
constructor
(
constructor
(
...
@@ -135,7 +135,7 @@ export class NewWindowAction extends Action {
...
@@ -135,7 +135,7 @@ export class NewWindowAction extends Action {
export
class
ToggleFullScreenAction
extends
Action
{
export
class
ToggleFullScreenAction
extends
Action
{
static
ID
=
'
workbench.action.toggleFullScreen
'
;
static
readonly
ID
=
'
workbench.action.toggleFullScreen
'
;
static
LABEL
=
nls
.
localize
(
'
toggleFullScreen
'
,
"
Toggle Full Screen
"
);
static
LABEL
=
nls
.
localize
(
'
toggleFullScreen
'
,
"
Toggle Full Screen
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IWindowService
private
windowService
:
IWindowService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IWindowService
private
windowService
:
IWindowService
)
{
...
@@ -149,7 +149,7 @@ export class ToggleFullScreenAction extends Action {
...
@@ -149,7 +149,7 @@ export class ToggleFullScreenAction extends Action {
export
class
ToggleMenuBarAction
extends
Action
{
export
class
ToggleMenuBarAction
extends
Action
{
static
ID
=
'
workbench.action.toggleMenuBar
'
;
static
readonly
ID
=
'
workbench.action.toggleMenuBar
'
;
static
LABEL
=
nls
.
localize
(
'
toggleMenuBar
'
,
"
Toggle Menu Bar
"
);
static
LABEL
=
nls
.
localize
(
'
toggleMenuBar
'
,
"
Toggle Menu Bar
"
);
private
static
readonly
menuBarVisibilityKey
=
'
window.menuBarVisibility
'
;
private
static
readonly
menuBarVisibilityKey
=
'
window.menuBarVisibility
'
;
...
@@ -183,7 +183,7 @@ export class ToggleMenuBarAction extends Action {
...
@@ -183,7 +183,7 @@ export class ToggleMenuBarAction extends Action {
export
class
ToggleDevToolsAction
extends
Action
{
export
class
ToggleDevToolsAction
extends
Action
{
static
ID
=
'
workbench.action.toggleDevTools
'
;
static
readonly
ID
=
'
workbench.action.toggleDevTools
'
;
static
LABEL
=
nls
.
localize
(
'
toggleDevTools
'
,
"
Toggle Developer Tools
"
);
static
LABEL
=
nls
.
localize
(
'
toggleDevTools
'
,
"
Toggle Developer Tools
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IWindowService
private
windowsService
:
IWindowService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IWindowService
private
windowsService
:
IWindowService
)
{
...
@@ -558,7 +558,7 @@ export class ShowStartupPerformance extends Action {
...
@@ -558,7 +558,7 @@ export class ShowStartupPerformance extends Action {
export
class
ReloadWindowAction
extends
Action
{
export
class
ReloadWindowAction
extends
Action
{
static
ID
=
'
workbench.action.reloadWindow
'
;
static
readonly
ID
=
'
workbench.action.reloadWindow
'
;
static
LABEL
=
nls
.
localize
(
'
reloadWindow
'
,
"
Reload Window
"
);
static
LABEL
=
nls
.
localize
(
'
reloadWindow
'
,
"
Reload Window
"
);
constructor
(
constructor
(
...
@@ -654,7 +654,7 @@ class CloseWindowAction extends Action implements IPickOpenAction {
...
@@ -654,7 +654,7 @@ class CloseWindowAction extends Action implements IPickOpenAction {
export
class
SwitchWindow
extends
BaseSwitchWindow
{
export
class
SwitchWindow
extends
BaseSwitchWindow
{
static
ID
=
'
workbench.action.switchWindow
'
;
static
readonly
ID
=
'
workbench.action.switchWindow
'
;
static
LABEL
=
nls
.
localize
(
'
switchWindow
'
,
"
Switch Window...
"
);
static
LABEL
=
nls
.
localize
(
'
switchWindow
'
,
"
Switch Window...
"
);
constructor
(
constructor
(
...
@@ -676,7 +676,7 @@ export class SwitchWindow extends BaseSwitchWindow {
...
@@ -676,7 +676,7 @@ export class SwitchWindow extends BaseSwitchWindow {
export
class
QuickSwitchWindow
extends
BaseSwitchWindow
{
export
class
QuickSwitchWindow
extends
BaseSwitchWindow
{
static
ID
=
'
workbench.action.quickSwitchWindow
'
;
static
readonly
ID
=
'
workbench.action.quickSwitchWindow
'
;
static
LABEL
=
nls
.
localize
(
'
quickSwitchWindow
'
,
"
Quick Switch Window...
"
);
static
LABEL
=
nls
.
localize
(
'
quickSwitchWindow
'
,
"
Quick Switch Window...
"
);
constructor
(
constructor
(
...
@@ -1189,7 +1189,7 @@ export class OpenTipsAndTricksUrlAction extends Action {
...
@@ -1189,7 +1189,7 @@ export class OpenTipsAndTricksUrlAction extends Action {
export
class
ToggleSharedProcessAction
extends
Action
{
export
class
ToggleSharedProcessAction
extends
Action
{
static
ID
=
'
workbench.action.toggleSharedProcess
'
;
static
readonly
ID
=
'
workbench.action.toggleSharedProcess
'
;
static
LABEL
=
nls
.
localize
(
'
toggleSharedProcess
'
,
"
Toggle Shared Process
"
);
static
LABEL
=
nls
.
localize
(
'
toggleSharedProcess
'
,
"
Toggle Shared Process
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IWindowsService
private
windowsService
:
IWindowsService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IWindowsService
private
windowsService
:
IWindowsService
)
{
...
@@ -1687,7 +1687,7 @@ export class ConfigureLocaleAction extends Action {
...
@@ -1687,7 +1687,7 @@ export class ConfigureLocaleAction extends Action {
export
class
OpenLogsFolderAction
extends
Action
{
export
class
OpenLogsFolderAction
extends
Action
{
static
ID
=
'
workbench.action.openLogsFolder
'
;
static
readonly
ID
=
'
workbench.action.openLogsFolder
'
;
static
LABEL
=
nls
.
localize
(
'
openLogsFolder
'
,
"
Open Logs Folder
"
);
static
LABEL
=
nls
.
localize
(
'
openLogsFolder
'
,
"
Open Logs Folder
"
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -1704,7 +1704,7 @@ export class OpenLogsFolderAction extends Action {
...
@@ -1704,7 +1704,7 @@ export class OpenLogsFolderAction extends Action {
export
class
ShowLogsAction
extends
Action
{
export
class
ShowLogsAction
extends
Action
{
static
ID
=
'
workbench.action.showLogs
'
;
static
readonly
ID
=
'
workbench.action.showLogs
'
;
static
LABEL
=
nls
.
localize
(
'
showLogs
'
,
"
Show Logs...
"
);
static
LABEL
=
nls
.
localize
(
'
showLogs
'
,
"
Show Logs...
"
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -1734,7 +1734,7 @@ export class ShowLogsAction extends Action {
...
@@ -1734,7 +1734,7 @@ export class ShowLogsAction extends Action {
export
class
SetLogLevelAction
extends
Action
{
export
class
SetLogLevelAction
extends
Action
{
static
ID
=
'
workbench.action.setLogLevel
'
;
static
readonly
ID
=
'
workbench.action.setLogLevel
'
;
static
LABEL
=
nls
.
localize
(
'
setLogLevel
'
,
"
Set Log Level
"
);
static
LABEL
=
nls
.
localize
(
'
setLogLevel
'
,
"
Set Log Level
"
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
...
src/vs/workbench/parts/cli/electron-browser/cli.contribution.ts
浏览文件 @
54707c13
...
@@ -30,7 +30,7 @@ function isAvailable(): TPromise<boolean> {
...
@@ -30,7 +30,7 @@ function isAvailable(): TPromise<boolean> {
class
InstallAction
extends
Action
{
class
InstallAction
extends
Action
{
static
ID
=
'
workbench.action.installCommandLine
'
;
static
readonly
ID
=
'
workbench.action.installCommandLine
'
;
static
LABEL
=
nls
.
localize
(
'
install
'
,
"
Install '{0}' command in PATH
"
,
product
.
applicationName
);
static
LABEL
=
nls
.
localize
(
'
install
'
,
"
Install '{0}' command in PATH
"
,
product
.
applicationName
);
constructor
(
constructor
(
...
@@ -111,7 +111,7 @@ class InstallAction extends Action {
...
@@ -111,7 +111,7 @@ class InstallAction extends Action {
class
UninstallAction
extends
Action
{
class
UninstallAction
extends
Action
{
static
ID
=
'
workbench.action.uninstallCommandLine
'
;
static
readonly
ID
=
'
workbench.action.uninstallCommandLine
'
;
static
LABEL
=
nls
.
localize
(
'
uninstall
'
,
"
Uninstall '{0}' command from PATH
"
,
product
.
applicationName
);
static
LABEL
=
nls
.
localize
(
'
uninstall
'
,
"
Uninstall '{0}' command from PATH
"
,
product
.
applicationName
);
constructor
(
constructor
(
...
...
src/vs/workbench/parts/debug/browser/debugActions.ts
浏览文件 @
54707c13
...
@@ -71,7 +71,7 @@ export abstract class AbstractDebugAction extends Action {
...
@@ -71,7 +71,7 @@ export abstract class AbstractDebugAction extends Action {
}
}
export
class
ConfigureAction
extends
AbstractDebugAction
{
export
class
ConfigureAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.configure
'
;
static
readonly
ID
=
'
workbench.action.debug.configure
'
;
static
LABEL
=
nls
.
localize
(
'
openLaunchJson
'
,
"
Open {0}
"
,
'
launch.json
'
);
static
LABEL
=
nls
.
localize
(
'
openLaunchJson
'
,
"
Open {0}
"
,
'
launch.json
'
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -160,7 +160,7 @@ export class StartAction extends AbstractDebugAction {
...
@@ -160,7 +160,7 @@ export class StartAction extends AbstractDebugAction {
}
}
export
class
RunAction
extends
StartAction
{
export
class
RunAction
extends
StartAction
{
static
ID
=
'
workbench.action.debug.run
'
;
static
readonly
ID
=
'
workbench.action.debug.run
'
;
static
LABEL
=
nls
.
localize
(
'
startWithoutDebugging
'
,
"
Start Without Debugging
"
);
static
LABEL
=
nls
.
localize
(
'
startWithoutDebugging
'
,
"
Start Without Debugging
"
);
protected
isNoDebug
():
boolean
{
protected
isNoDebug
():
boolean
{
...
@@ -169,7 +169,7 @@ export class RunAction extends StartAction {
...
@@ -169,7 +169,7 @@ export class RunAction extends StartAction {
}
}
export
class
SelectAndStartAction
extends
AbstractDebugAction
{
export
class
SelectAndStartAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.selectandstart
'
;
static
readonly
ID
=
'
workbench.action.debug.selectandstart
'
;
static
LABEL
=
nls
.
localize
(
'
selectAndStartDebugging
'
,
"
Select and Start Debugging
"
);
static
LABEL
=
nls
.
localize
(
'
selectAndStartDebugging
'
,
"
Select and Start Debugging
"
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -190,7 +190,7 @@ export class SelectAndStartAction extends AbstractDebugAction {
...
@@ -190,7 +190,7 @@ export class SelectAndStartAction extends AbstractDebugAction {
}
}
export
class
RestartAction
extends
AbstractDebugAction
{
export
class
RestartAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.restart
'
;
static
readonly
ID
=
'
workbench.action.debug.restart
'
;
static
LABEL
=
nls
.
localize
(
'
restartDebug
'
,
"
Restart
"
);
static
LABEL
=
nls
.
localize
(
'
restartDebug
'
,
"
Restart
"
);
static
RECONNECT_LABEL
=
nls
.
localize
(
'
reconnectDebug
'
,
"
Reconnect
"
);
static
RECONNECT_LABEL
=
nls
.
localize
(
'
reconnectDebug
'
,
"
Reconnect
"
);
...
@@ -224,7 +224,7 @@ export class RestartAction extends AbstractDebugAction {
...
@@ -224,7 +224,7 @@ export class RestartAction extends AbstractDebugAction {
}
}
export
class
StepOverAction
extends
AbstractDebugAction
{
export
class
StepOverAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.stepOver
'
;
static
readonly
ID
=
'
workbench.action.debug.stepOver
'
;
static
LABEL
=
nls
.
localize
(
'
stepOverDebug
'
,
"
Step Over
"
);
static
LABEL
=
nls
.
localize
(
'
stepOverDebug
'
,
"
Step Over
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -245,7 +245,7 @@ export class StepOverAction extends AbstractDebugAction {
...
@@ -245,7 +245,7 @@ export class StepOverAction extends AbstractDebugAction {
}
}
export
class
StepIntoAction
extends
AbstractDebugAction
{
export
class
StepIntoAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.stepInto
'
;
static
readonly
ID
=
'
workbench.action.debug.stepInto
'
;
static
LABEL
=
nls
.
localize
(
'
stepIntoDebug
'
,
"
Step Into
"
);
static
LABEL
=
nls
.
localize
(
'
stepIntoDebug
'
,
"
Step Into
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -266,7 +266,7 @@ export class StepIntoAction extends AbstractDebugAction {
...
@@ -266,7 +266,7 @@ export class StepIntoAction extends AbstractDebugAction {
}
}
export
class
StepOutAction
extends
AbstractDebugAction
{
export
class
StepOutAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.stepOut
'
;
static
readonly
ID
=
'
workbench.action.debug.stepOut
'
;
static
LABEL
=
nls
.
localize
(
'
stepOutDebug
'
,
"
Step Out
"
);
static
LABEL
=
nls
.
localize
(
'
stepOutDebug
'
,
"
Step Out
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -287,7 +287,7 @@ export class StepOutAction extends AbstractDebugAction {
...
@@ -287,7 +287,7 @@ export class StepOutAction extends AbstractDebugAction {
}
}
export
class
StopAction
extends
AbstractDebugAction
{
export
class
StopAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.stop
'
;
static
readonly
ID
=
'
workbench.action.debug.stop
'
;
static
LABEL
=
nls
.
localize
(
'
stopDebug
'
,
"
Stop
"
);
static
LABEL
=
nls
.
localize
(
'
stopDebug
'
,
"
Stop
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -308,7 +308,7 @@ export class StopAction extends AbstractDebugAction {
...
@@ -308,7 +308,7 @@ export class StopAction extends AbstractDebugAction {
}
}
export
class
DisconnectAction
extends
AbstractDebugAction
{
export
class
DisconnectAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.disconnect
'
;
static
readonly
ID
=
'
workbench.action.debug.disconnect
'
;
static
LABEL
=
nls
.
localize
(
'
disconnectDebug
'
,
"
Disconnect
"
);
static
LABEL
=
nls
.
localize
(
'
disconnectDebug
'
,
"
Disconnect
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -326,7 +326,7 @@ export class DisconnectAction extends AbstractDebugAction {
...
@@ -326,7 +326,7 @@ export class DisconnectAction extends AbstractDebugAction {
}
}
export
class
ContinueAction
extends
AbstractDebugAction
{
export
class
ContinueAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.continue
'
;
static
readonly
ID
=
'
workbench.action.debug.continue
'
;
static
LABEL
=
nls
.
localize
(
'
continueDebug
'
,
"
Continue
"
);
static
LABEL
=
nls
.
localize
(
'
continueDebug
'
,
"
Continue
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -347,7 +347,7 @@ export class ContinueAction extends AbstractDebugAction {
...
@@ -347,7 +347,7 @@ export class ContinueAction extends AbstractDebugAction {
}
}
export
class
PauseAction
extends
AbstractDebugAction
{
export
class
PauseAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.pause
'
;
static
readonly
ID
=
'
workbench.action.debug.pause
'
;
static
LABEL
=
nls
.
localize
(
'
pauseDebug
'
,
"
Pause
"
);
static
LABEL
=
nls
.
localize
(
'
pauseDebug
'
,
"
Pause
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -368,7 +368,7 @@ export class PauseAction extends AbstractDebugAction {
...
@@ -368,7 +368,7 @@ export class PauseAction extends AbstractDebugAction {
}
}
export
class
RestartFrameAction
extends
AbstractDebugAction
{
export
class
RestartFrameAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.restartFrame
'
;
static
readonly
ID
=
'
workbench.action.debug.restartFrame
'
;
static
LABEL
=
nls
.
localize
(
'
restartFrame
'
,
"
Restart Frame
"
);
static
LABEL
=
nls
.
localize
(
'
restartFrame
'
,
"
Restart Frame
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -385,7 +385,7 @@ export class RestartFrameAction extends AbstractDebugAction {
...
@@ -385,7 +385,7 @@ export class RestartFrameAction extends AbstractDebugAction {
}
}
export
class
RemoveBreakpointAction
extends
AbstractDebugAction
{
export
class
RemoveBreakpointAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.removeBreakpoint
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.removeBreakpoint
'
;
static
LABEL
=
nls
.
localize
(
'
removeBreakpoint
'
,
"
Remove Breakpoint
"
);
static
LABEL
=
nls
.
localize
(
'
removeBreakpoint
'
,
"
Remove Breakpoint
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -399,7 +399,7 @@ export class RemoveBreakpointAction extends AbstractDebugAction {
...
@@ -399,7 +399,7 @@ export class RemoveBreakpointAction extends AbstractDebugAction {
}
}
export
class
RemoveAllBreakpointsAction
extends
AbstractDebugAction
{
export
class
RemoveAllBreakpointsAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.removeAllBreakpoints
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.removeAllBreakpoints
'
;
static
LABEL
=
nls
.
localize
(
'
removeAllBreakpoints
'
,
"
Remove All Breakpoints
"
);
static
LABEL
=
nls
.
localize
(
'
removeAllBreakpoints
'
,
"
Remove All Breakpoints
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -418,7 +418,7 @@ export class RemoveAllBreakpointsAction extends AbstractDebugAction {
...
@@ -418,7 +418,7 @@ export class RemoveAllBreakpointsAction extends AbstractDebugAction {
}
}
export
class
EnableBreakpointAction
extends
AbstractDebugAction
{
export
class
EnableBreakpointAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.enableBreakpoint
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.enableBreakpoint
'
;
static
LABEL
=
nls
.
localize
(
'
enableBreakpoint
'
,
"
Enable Breakpoint
"
);
static
LABEL
=
nls
.
localize
(
'
enableBreakpoint
'
,
"
Enable Breakpoint
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -431,7 +431,7 @@ export class EnableBreakpointAction extends AbstractDebugAction {
...
@@ -431,7 +431,7 @@ export class EnableBreakpointAction extends AbstractDebugAction {
}
}
export
class
DisableBreakpointAction
extends
AbstractDebugAction
{
export
class
DisableBreakpointAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.disableBreakpoint
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.disableBreakpoint
'
;
static
LABEL
=
nls
.
localize
(
'
disableBreakpoint
'
,
"
Disable Breakpoint
"
);
static
LABEL
=
nls
.
localize
(
'
disableBreakpoint
'
,
"
Disable Breakpoint
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -444,7 +444,7 @@ export class DisableBreakpointAction extends AbstractDebugAction {
...
@@ -444,7 +444,7 @@ export class DisableBreakpointAction extends AbstractDebugAction {
}
}
export
class
EnableAllBreakpointsAction
extends
AbstractDebugAction
{
export
class
EnableAllBreakpointsAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.enableAllBreakpoints
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.enableAllBreakpoints
'
;
static
LABEL
=
nls
.
localize
(
'
enableAllBreakpoints
'
,
"
Enable All Breakpoints
"
);
static
LABEL
=
nls
.
localize
(
'
enableAllBreakpoints
'
,
"
Enable All Breakpoints
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -463,7 +463,7 @@ export class EnableAllBreakpointsAction extends AbstractDebugAction {
...
@@ -463,7 +463,7 @@ export class EnableAllBreakpointsAction extends AbstractDebugAction {
}
}
export
class
DisableAllBreakpointsAction
extends
AbstractDebugAction
{
export
class
DisableAllBreakpointsAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.disableAllBreakpoints
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.disableAllBreakpoints
'
;
static
LABEL
=
nls
.
localize
(
'
disableAllBreakpoints
'
,
"
Disable All Breakpoints
"
);
static
LABEL
=
nls
.
localize
(
'
disableAllBreakpoints
'
,
"
Disable All Breakpoints
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -482,7 +482,7 @@ export class DisableAllBreakpointsAction extends AbstractDebugAction {
...
@@ -482,7 +482,7 @@ export class DisableAllBreakpointsAction extends AbstractDebugAction {
}
}
export
class
ToggleBreakpointsActivatedAction
extends
AbstractDebugAction
{
export
class
ToggleBreakpointsActivatedAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.toggleBreakpointsActivatedAction
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.toggleBreakpointsActivatedAction
'
;
static
ACTIVATE_LABEL
=
nls
.
localize
(
'
activateBreakpoints
'
,
"
Activate Breakpoints
"
);
static
ACTIVATE_LABEL
=
nls
.
localize
(
'
activateBreakpoints
'
,
"
Activate Breakpoints
"
);
static
DEACTIVATE_LABEL
=
nls
.
localize
(
'
deactivateBreakpoints
'
,
"
Deactivate Breakpoints
"
);
static
DEACTIVATE_LABEL
=
nls
.
localize
(
'
deactivateBreakpoints
'
,
"
Deactivate Breakpoints
"
);
...
@@ -506,7 +506,7 @@ export class ToggleBreakpointsActivatedAction extends AbstractDebugAction {
...
@@ -506,7 +506,7 @@ export class ToggleBreakpointsActivatedAction extends AbstractDebugAction {
}
}
export
class
ReapplyBreakpointsAction
extends
AbstractDebugAction
{
export
class
ReapplyBreakpointsAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.reapplyBreakpointsAction
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.reapplyBreakpointsAction
'
;
static
LABEL
=
nls
.
localize
(
'
reapplyAllBreakpoints
'
,
"
Reapply All Breakpoints
"
);
static
LABEL
=
nls
.
localize
(
'
reapplyAllBreakpoints
'
,
"
Reapply All Breakpoints
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -526,7 +526,7 @@ export class ReapplyBreakpointsAction extends AbstractDebugAction {
...
@@ -526,7 +526,7 @@ export class ReapplyBreakpointsAction extends AbstractDebugAction {
}
}
export
class
AddFunctionBreakpointAction
extends
AbstractDebugAction
{
export
class
AddFunctionBreakpointAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.addFunctionBreakpointAction
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.addFunctionBreakpointAction
'
;
static
LABEL
=
nls
.
localize
(
'
addFunctionBreakpoint
'
,
"
Add Function Breakpoint
"
);
static
LABEL
=
nls
.
localize
(
'
addFunctionBreakpoint
'
,
"
Add Function Breakpoint
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -546,7 +546,7 @@ export class AddFunctionBreakpointAction extends AbstractDebugAction {
...
@@ -546,7 +546,7 @@ export class AddFunctionBreakpointAction extends AbstractDebugAction {
}
}
export
class
AddConditionalBreakpointAction
extends
AbstractDebugAction
{
export
class
AddConditionalBreakpointAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.addConditionalBreakpointAction
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.addConditionalBreakpointAction
'
;
static
LABEL
=
nls
.
localize
(
'
addConditionalBreakpoint
'
,
"
Add Conditional Breakpoint...
"
);
static
LABEL
=
nls
.
localize
(
'
addConditionalBreakpoint
'
,
"
Add Conditional Breakpoint...
"
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -565,7 +565,7 @@ export class AddConditionalBreakpointAction extends AbstractDebugAction {
...
@@ -565,7 +565,7 @@ export class AddConditionalBreakpointAction extends AbstractDebugAction {
}
}
export
class
EditConditionalBreakpointAction
extends
AbstractDebugAction
{
export
class
EditConditionalBreakpointAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.editConditionalBreakpointAction
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.editConditionalBreakpointAction
'
;
static
LABEL
=
nls
.
localize
(
'
editConditionalBreakpoint
'
,
"
Edit Breakpoint...
"
);
static
LABEL
=
nls
.
localize
(
'
editConditionalBreakpoint
'
,
"
Edit Breakpoint...
"
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -584,7 +584,7 @@ export class EditConditionalBreakpointAction extends AbstractDebugAction {
...
@@ -584,7 +584,7 @@ export class EditConditionalBreakpointAction extends AbstractDebugAction {
export
class
SetValueAction
extends
AbstractDebugAction
{
export
class
SetValueAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.setValue
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.setValue
'
;
static
LABEL
=
nls
.
localize
(
'
setValue
'
,
"
Set Value
"
);
static
LABEL
=
nls
.
localize
(
'
setValue
'
,
"
Set Value
"
);
constructor
(
id
:
string
,
label
:
string
,
private
variable
:
Variable
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
private
variable
:
Variable
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -607,7 +607,7 @@ export class SetValueAction extends AbstractDebugAction {
...
@@ -607,7 +607,7 @@ export class SetValueAction extends AbstractDebugAction {
export
class
AddWatchExpressionAction
extends
AbstractDebugAction
{
export
class
AddWatchExpressionAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.addWatchExpression
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.addWatchExpression
'
;
static
LABEL
=
nls
.
localize
(
'
addWatchExpression
'
,
"
Add Expression
"
);
static
LABEL
=
nls
.
localize
(
'
addWatchExpression
'
,
"
Add Expression
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -626,7 +626,7 @@ export class AddWatchExpressionAction extends AbstractDebugAction {
...
@@ -626,7 +626,7 @@ export class AddWatchExpressionAction extends AbstractDebugAction {
}
}
export
class
EditWatchExpressionAction
extends
AbstractDebugAction
{
export
class
EditWatchExpressionAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.editWatchExpression
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.editWatchExpression
'
;
static
LABEL
=
nls
.
localize
(
'
editWatchExpression
'
,
"
Edit Expression
"
);
static
LABEL
=
nls
.
localize
(
'
editWatchExpression
'
,
"
Edit Expression
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -640,7 +640,7 @@ export class EditWatchExpressionAction extends AbstractDebugAction {
...
@@ -640,7 +640,7 @@ export class EditWatchExpressionAction extends AbstractDebugAction {
}
}
export
class
AddToWatchExpressionsAction
extends
AbstractDebugAction
{
export
class
AddToWatchExpressionsAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.addToWatchExpressions
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.addToWatchExpressions
'
;
static
LABEL
=
nls
.
localize
(
'
addToWatchExpressions
'
,
"
Add to Watch
"
);
static
LABEL
=
nls
.
localize
(
'
addToWatchExpressions
'
,
"
Add to Watch
"
);
constructor
(
id
:
string
,
label
:
string
,
private
expression
:
IExpression
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
private
expression
:
IExpression
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -656,7 +656,7 @@ export class AddToWatchExpressionsAction extends AbstractDebugAction {
...
@@ -656,7 +656,7 @@ export class AddToWatchExpressionsAction extends AbstractDebugAction {
}
}
export
class
RemoveWatchExpressionAction
extends
AbstractDebugAction
{
export
class
RemoveWatchExpressionAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.removeWatchExpression
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.removeWatchExpression
'
;
static
LABEL
=
nls
.
localize
(
'
removeWatchExpression
'
,
"
Remove Expression
"
);
static
LABEL
=
nls
.
localize
(
'
removeWatchExpression
'
,
"
Remove Expression
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -670,7 +670,7 @@ export class RemoveWatchExpressionAction extends AbstractDebugAction {
...
@@ -670,7 +670,7 @@ export class RemoveWatchExpressionAction extends AbstractDebugAction {
}
}
export
class
RemoveAllWatchExpressionsAction
extends
AbstractDebugAction
{
export
class
RemoveAllWatchExpressionsAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.viewlet.action.removeAllWatchExpressions
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.removeAllWatchExpressions
'
;
static
LABEL
=
nls
.
localize
(
'
removeAllWatchExpressions
'
,
"
Remove All Expressions
"
);
static
LABEL
=
nls
.
localize
(
'
removeAllWatchExpressions
'
,
"
Remove All Expressions
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -689,7 +689,7 @@ export class RemoveAllWatchExpressionsAction extends AbstractDebugAction {
...
@@ -689,7 +689,7 @@ export class RemoveAllWatchExpressionsAction extends AbstractDebugAction {
}
}
export
class
ClearReplAction
extends
AbstractDebugAction
{
export
class
ClearReplAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.debug.panel.action.clearReplAction
'
;
static
readonly
ID
=
'
workbench.debug.panel.action.clearReplAction
'
;
static
LABEL
=
nls
.
localize
(
'
clearRepl
'
,
"
Clear Console
"
);
static
LABEL
=
nls
.
localize
(
'
clearRepl
'
,
"
Clear Console
"
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -709,7 +709,7 @@ export class ClearReplAction extends AbstractDebugAction {
...
@@ -709,7 +709,7 @@ export class ClearReplAction extends AbstractDebugAction {
}
}
export
class
ToggleReplAction
extends
TogglePanelAction
{
export
class
ToggleReplAction
extends
TogglePanelAction
{
static
ID
=
'
workbench.debug.action.toggleRepl
'
;
static
readonly
ID
=
'
workbench.debug.action.toggleRepl
'
;
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugConsoleAction
'
},
'
Debug Console
'
);
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugConsoleAction
'
},
'
Debug Console
'
);
private
toDispose
:
lifecycle
.
IDisposable
[];
private
toDispose
:
lifecycle
.
IDisposable
[];
...
@@ -751,7 +751,7 @@ export class ToggleReplAction extends TogglePanelAction {
...
@@ -751,7 +751,7 @@ export class ToggleReplAction extends TogglePanelAction {
export
class
FocusReplAction
extends
Action
{
export
class
FocusReplAction
extends
Action
{
static
ID
=
'
workbench.debug.action.focusRepl
'
;
static
readonly
ID
=
'
workbench.debug.action.focusRepl
'
;
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugFocusConsole
'
},
'
Focus Debug Console
'
);
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugFocusConsole
'
},
'
Focus Debug Console
'
);
...
@@ -767,7 +767,7 @@ export class FocusReplAction extends Action {
...
@@ -767,7 +767,7 @@ export class FocusReplAction extends Action {
}
}
export
class
FocusProcessAction
extends
AbstractDebugAction
{
export
class
FocusProcessAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.focusProcess
'
;
static
readonly
ID
=
'
workbench.action.debug.focusProcess
'
;
static
LABEL
=
nls
.
localize
(
'
focusProcess
'
,
"
Focus Process
"
);
static
LABEL
=
nls
.
localize
(
'
focusProcess
'
,
"
Focus Process
"
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -793,7 +793,7 @@ export class FocusProcessAction extends AbstractDebugAction {
...
@@ -793,7 +793,7 @@ export class FocusProcessAction extends AbstractDebugAction {
// Actions used by the chakra debugger
// Actions used by the chakra debugger
export
class
StepBackAction
extends
AbstractDebugAction
{
export
class
StepBackAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.stepBack
'
;
static
readonly
ID
=
'
workbench.action.debug.stepBack
'
;
static
LABEL
=
nls
.
localize
(
'
stepBackDebug
'
,
"
Step Back
"
);
static
LABEL
=
nls
.
localize
(
'
stepBackDebug
'
,
"
Step Back
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
@@ -816,7 +816,7 @@ export class StepBackAction extends AbstractDebugAction {
...
@@ -816,7 +816,7 @@ export class StepBackAction extends AbstractDebugAction {
}
}
export
class
ReverseContinueAction
extends
AbstractDebugAction
{
export
class
ReverseContinueAction
extends
AbstractDebugAction
{
static
ID
=
'
workbench.action.debug.reverseContinue
'
;
static
readonly
ID
=
'
workbench.action.debug.reverseContinue
'
;
static
LABEL
=
nls
.
localize
(
'
reverseContinue
'
,
"
Reverse
"
);
static
LABEL
=
nls
.
localize
(
'
reverseContinue
'
,
"
Reverse
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IDebugService
debugService
:
IDebugService
,
@
IKeybindingService
keybindingService
:
IKeybindingService
)
{
...
...
src/vs/workbench/parts/debug/browser/debugEditorModelManager.ts
浏览文件 @
54707c13
...
@@ -32,7 +32,7 @@ interface IDebugEditorModelData {
...
@@ -32,7 +32,7 @@ interface IDebugEditorModelData {
const
stickiness
=
TrackedRangeStickiness
.
NeverGrowsWhenTypingAtEdges
;
const
stickiness
=
TrackedRangeStickiness
.
NeverGrowsWhenTypingAtEdges
;
export
class
DebugEditorModelManager
implements
IWorkbenchContribution
{
export
class
DebugEditorModelManager
implements
IWorkbenchContribution
{
static
ID
=
'
breakpointManager
'
;
static
readonly
ID
=
'
breakpointManager
'
;
private
modelDataMap
:
Map
<
string
,
IDebugEditorModelData
>
;
private
modelDataMap
:
Map
<
string
,
IDebugEditorModelData
>
;
private
toDispose
:
lifecycle
.
IDisposable
[];
private
toDispose
:
lifecycle
.
IDisposable
[];
...
...
src/vs/workbench/parts/debug/browser/debugViewlet.ts
浏览文件 @
54707c13
...
@@ -138,7 +138,7 @@ export class DebugViewlet extends PersistentViewsViewlet {
...
@@ -138,7 +138,7 @@ export class DebugViewlet extends PersistentViewsViewlet {
export
class
FocusVariablesViewAction
extends
Action
{
export
class
FocusVariablesViewAction
extends
Action
{
static
ID
=
'
workbench.debug.action.focusVariablesView
'
;
static
readonly
ID
=
'
workbench.debug.action.focusVariablesView
'
;
static
LABEL
=
nls
.
localize
(
'
debugFocusVariablesView
'
,
'
Focus Variables
'
);
static
LABEL
=
nls
.
localize
(
'
debugFocusVariablesView
'
,
'
Focus Variables
'
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -156,7 +156,7 @@ export class FocusVariablesViewAction extends Action {
...
@@ -156,7 +156,7 @@ export class FocusVariablesViewAction extends Action {
export
class
FocusWatchViewAction
extends
Action
{
export
class
FocusWatchViewAction
extends
Action
{
static
ID
=
'
workbench.debug.action.focusWatchView
'
;
static
readonly
ID
=
'
workbench.debug.action.focusWatchView
'
;
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugFocusWatchView
'
},
'
Focus Watch
'
);
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugFocusWatchView
'
},
'
Focus Watch
'
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -174,7 +174,7 @@ export class FocusWatchViewAction extends Action {
...
@@ -174,7 +174,7 @@ export class FocusWatchViewAction extends Action {
export
class
FocusCallStackViewAction
extends
Action
{
export
class
FocusCallStackViewAction
extends
Action
{
static
ID
=
'
workbench.debug.action.focusCallStackView
'
;
static
readonly
ID
=
'
workbench.debug.action.focusCallStackView
'
;
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugFocusCallStackView
'
},
'
Focus CallStack
'
);
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugFocusCallStackView
'
},
'
Focus CallStack
'
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
@@ -192,7 +192,7 @@ export class FocusCallStackViewAction extends Action {
...
@@ -192,7 +192,7 @@ export class FocusCallStackViewAction extends Action {
export
class
FocusBreakpointsViewAction
extends
Action
{
export
class
FocusBreakpointsViewAction
extends
Action
{
static
ID
=
'
workbench.debug.action.focusBreakpointsView
'
;
static
readonly
ID
=
'
workbench.debug.action.focusBreakpointsView
'
;
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugFocusBreakpointsView
'
},
'
Focus Breakpoints
'
);
static
LABEL
=
nls
.
localize
({
comment
:
[
'
Debug is a noun in this context, not a verb.
'
],
key
:
'
debugFocusBreakpointsView
'
},
'
Focus Breakpoints
'
);
constructor
(
id
:
string
,
label
:
string
,
constructor
(
id
:
string
,
label
:
string
,
...
...
src/vs/workbench/parts/debug/electron-browser/breakpointsView.ts
浏览文件 @
54707c13
...
@@ -267,7 +267,7 @@ class BreakpointsRenderer implements IRenderer<IBreakpoint, IBreakpointTemplateD
...
@@ -267,7 +267,7 @@ class BreakpointsRenderer implements IRenderer<IBreakpoint, IBreakpointTemplateD
// noop
// noop
}
}
static
ID
=
'
breakpoints
'
;
static
readonly
ID
=
'
breakpoints
'
;
get
templateId
()
{
get
templateId
()
{
return
BreakpointsRenderer
.
ID
;
return
BreakpointsRenderer
.
ID
;
...
@@ -331,7 +331,7 @@ class ExceptionBreakpointsRenderer implements IRenderer<IExceptionBreakpoint, IB
...
@@ -331,7 +331,7 @@ class ExceptionBreakpointsRenderer implements IRenderer<IExceptionBreakpoint, IB
// noop
// noop
}
}
static
ID
=
'
exceptionbreakpoints
'
;
static
readonly
ID
=
'
exceptionbreakpoints
'
;
get
templateId
()
{
get
templateId
()
{
return
ExceptionBreakpointsRenderer
.
ID
;
return
ExceptionBreakpointsRenderer
.
ID
;
...
@@ -376,7 +376,7 @@ class FunctionBreakpointsRenderer implements IRenderer<IFunctionBreakpoint, IBas
...
@@ -376,7 +376,7 @@ class FunctionBreakpointsRenderer implements IRenderer<IFunctionBreakpoint, IBas
// noop
// noop
}
}
static
ID
=
'
functionbreakpoints
'
;
static
readonly
ID
=
'
functionbreakpoints
'
;
get
templateId
()
{
get
templateId
()
{
return
FunctionBreakpointsRenderer
.
ID
;
return
FunctionBreakpointsRenderer
.
ID
;
...
@@ -429,7 +429,7 @@ class FunctionBreakpointInputRenderer implements IRenderer<IFunctionBreakpoint,
...
@@ -429,7 +429,7 @@ class FunctionBreakpointInputRenderer implements IRenderer<IFunctionBreakpoint,
// noop
// noop
}
}
static
ID
=
'
functionbreakpointinput
'
;
static
readonly
ID
=
'
functionbreakpointinput
'
;
get
templateId
()
{
get
templateId
()
{
return
FunctionBreakpointInputRenderer
.
ID
;
return
FunctionBreakpointInputRenderer
.
ID
;
...
...
src/vs/workbench/parts/debug/electron-browser/electronDebugActions.ts
浏览文件 @
54707c13
...
@@ -13,7 +13,7 @@ import { IDebugService, IStackFrame } from 'vs/workbench/parts/debug/common/debu
...
@@ -13,7 +13,7 @@ import { IDebugService, IStackFrame } from 'vs/workbench/parts/debug/common/debu
import
{
clipboard
}
from
'
electron
'
;
import
{
clipboard
}
from
'
electron
'
;
export
class
CopyValueAction
extends
Action
{
export
class
CopyValueAction
extends
Action
{
static
ID
=
'
workbench.debug.viewlet.action.copyValue
'
;
static
readonly
ID
=
'
workbench.debug.viewlet.action.copyValue
'
;
static
LABEL
=
nls
.
localize
(
'
copyValue
'
,
"
Copy Value
"
);
static
LABEL
=
nls
.
localize
(
'
copyValue
'
,
"
Copy Value
"
);
constructor
(
id
:
string
,
label
:
string
,
private
value
:
any
,
@
IDebugService
private
debugService
:
IDebugService
)
{
constructor
(
id
:
string
,
label
:
string
,
private
value
:
any
,
@
IDebugService
private
debugService
:
IDebugService
)
{
...
@@ -35,7 +35,7 @@ export class CopyValueAction extends Action {
...
@@ -35,7 +35,7 @@ export class CopyValueAction extends Action {
}
}
export
class
CopyAction
extends
Action
{
export
class
CopyAction
extends
Action
{
static
ID
=
'
workbench.debug.action.copy
'
;
static
readonly
ID
=
'
workbench.debug.action.copy
'
;
static
LABEL
=
nls
.
localize
(
'
copy
'
,
"
Copy
"
);
static
LABEL
=
nls
.
localize
(
'
copy
'
,
"
Copy
"
);
public
run
():
TPromise
<
any
>
{
public
run
():
TPromise
<
any
>
{
...
@@ -45,7 +45,7 @@ export class CopyAction extends Action {
...
@@ -45,7 +45,7 @@ export class CopyAction extends Action {
}
}
export
class
CopyAllAction
extends
Action
{
export
class
CopyAllAction
extends
Action
{
static
ID
=
'
workbench.debug.action.copyAll
'
;
static
readonly
ID
=
'
workbench.debug.action.copyAll
'
;
static
LABEL
=
nls
.
localize
(
'
copyAll
'
,
"
Copy All
"
);
static
LABEL
=
nls
.
localize
(
'
copyAll
'
,
"
Copy All
"
);
constructor
(
id
:
string
,
label
:
string
,
private
tree
:
ITree
)
{
constructor
(
id
:
string
,
label
:
string
,
private
tree
:
ITree
)
{
...
@@ -69,7 +69,7 @@ export class CopyAllAction extends Action {
...
@@ -69,7 +69,7 @@ export class CopyAllAction extends Action {
}
}
export
class
CopyStackTraceAction
extends
Action
{
export
class
CopyStackTraceAction
extends
Action
{
static
ID
=
'
workbench.action.debug.copyStackTrace
'
;
static
readonly
ID
=
'
workbench.action.debug.copyStackTrace
'
;
static
LABEL
=
nls
.
localize
(
'
copyStackTrace
'
,
"
Copy Call Stack
"
);
static
LABEL
=
nls
.
localize
(
'
copyStackTrace
'
,
"
Copy Call Stack
"
);
public
run
(
frame
:
IStackFrame
):
TPromise
<
any
>
{
public
run
(
frame
:
IStackFrame
):
TPromise
<
any
>
{
...
...
src/vs/workbench/parts/extensions/browser/extensionsActions.ts
浏览文件 @
54707c13
...
@@ -350,7 +350,7 @@ export class DropDownMenuActionItem extends ActionItem {
...
@@ -350,7 +350,7 @@ export class DropDownMenuActionItem extends ActionItem {
export
class
ManageExtensionAction
extends
Action
{
export
class
ManageExtensionAction
extends
Action
{
static
ID
=
'
extensions.manage
'
;
static
readonly
ID
=
'
extensions.manage
'
;
private
static
readonly
Class
=
'
extension-action manage
'
;
private
static
readonly
Class
=
'
extension-action manage
'
;
private
static
readonly
HideManageExtensionClass
=
`
${
ManageExtensionAction
.
Class
}
hide`
;
private
static
readonly
HideManageExtensionClass
=
`
${
ManageExtensionAction
.
Class
}
hide`
;
...
@@ -413,7 +413,7 @@ export class ManageExtensionAction extends Action {
...
@@ -413,7 +413,7 @@ export class ManageExtensionAction extends Action {
export
class
EnableForWorkspaceAction
extends
Action
implements
IExtensionAction
{
export
class
EnableForWorkspaceAction
extends
Action
implements
IExtensionAction
{
static
ID
=
'
extensions.enableForWorkspace
'
;
static
readonly
ID
=
'
extensions.enableForWorkspace
'
;
static
LABEL
=
localize
(
'
enableForWorkspaceAction
'
,
"
Enable (Workspace)
"
);
static
LABEL
=
localize
(
'
enableForWorkspaceAction
'
,
"
Enable (Workspace)
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -453,7 +453,7 @@ export class EnableForWorkspaceAction extends Action implements IExtensionAction
...
@@ -453,7 +453,7 @@ export class EnableForWorkspaceAction extends Action implements IExtensionAction
export
class
EnableGloballyAction
extends
Action
implements
IExtensionAction
{
export
class
EnableGloballyAction
extends
Action
implements
IExtensionAction
{
static
ID
=
'
extensions.enableGlobally
'
;
static
readonly
ID
=
'
extensions.enableGlobally
'
;
static
LABEL
=
localize
(
'
enableGloballyAction
'
,
"
Enable
"
);
static
LABEL
=
localize
(
'
enableGloballyAction
'
,
"
Enable
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -491,7 +491,7 @@ export class EnableGloballyAction extends Action implements IExtensionAction {
...
@@ -491,7 +491,7 @@ export class EnableGloballyAction extends Action implements IExtensionAction {
export
class
EnableAction
extends
Action
{
export
class
EnableAction
extends
Action
{
static
ID
=
'
extensions.enable
'
;
static
readonly
ID
=
'
extensions.enable
'
;
private
static
readonly
EnabledClass
=
'
extension-action prominent enable
'
;
private
static
readonly
EnabledClass
=
'
extension-action prominent enable
'
;
private
static
readonly
DisabledClass
=
`
${
EnableAction
.
EnabledClass
}
disabled`
;
private
static
readonly
DisabledClass
=
`
${
EnableAction
.
EnabledClass
}
disabled`
;
...
@@ -549,7 +549,7 @@ export class EnableAction extends Action {
...
@@ -549,7 +549,7 @@ export class EnableAction extends Action {
export
class
DisableForWorkspaceAction
extends
Action
implements
IExtensionAction
{
export
class
DisableForWorkspaceAction
extends
Action
implements
IExtensionAction
{
static
ID
=
'
extensions.disableForWorkspace
'
;
static
readonly
ID
=
'
extensions.disableForWorkspace
'
;
static
LABEL
=
localize
(
'
disableForWorkspaceAction
'
,
"
Disable (Workspace)
"
);
static
LABEL
=
localize
(
'
disableForWorkspaceAction
'
,
"
Disable (Workspace)
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -588,7 +588,7 @@ export class DisableForWorkspaceAction extends Action implements IExtensionActio
...
@@ -588,7 +588,7 @@ export class DisableForWorkspaceAction extends Action implements IExtensionActio
export
class
DisableGloballyAction
extends
Action
implements
IExtensionAction
{
export
class
DisableGloballyAction
extends
Action
implements
IExtensionAction
{
static
ID
=
'
extensions.disableGlobally
'
;
static
readonly
ID
=
'
extensions.disableGlobally
'
;
static
LABEL
=
localize
(
'
disableGloballyAction
'
,
"
Disable
"
);
static
LABEL
=
localize
(
'
disableGloballyAction
'
,
"
Disable
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -625,7 +625,7 @@ export class DisableGloballyAction extends Action implements IExtensionAction {
...
@@ -625,7 +625,7 @@ export class DisableGloballyAction extends Action implements IExtensionAction {
export
class
DisableAction
extends
Action
{
export
class
DisableAction
extends
Action
{
static
ID
=
'
extensions.disable
'
;
static
readonly
ID
=
'
extensions.disable
'
;
private
static
readonly
EnabledClass
=
'
extension-action disable
'
;
private
static
readonly
EnabledClass
=
'
extension-action disable
'
;
private
static
readonly
DisabledClass
=
`
${
DisableAction
.
EnabledClass
}
disabled`
;
private
static
readonly
DisabledClass
=
`
${
DisableAction
.
EnabledClass
}
disabled`
;
...
@@ -680,7 +680,7 @@ export class DisableAction extends Action {
...
@@ -680,7 +680,7 @@ export class DisableAction extends Action {
export
class
CheckForUpdatesAction
extends
Action
{
export
class
CheckForUpdatesAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.checkForUpdates
'
;
static
readonly
ID
=
'
workbench.extensions.action.checkForUpdates
'
;
static
LABEL
=
localize
(
'
checkForUpdates
'
,
"
Check for Updates
"
);
static
LABEL
=
localize
(
'
checkForUpdates
'
,
"
Check for Updates
"
);
constructor
(
constructor
(
...
@@ -720,7 +720,7 @@ export class ToggleAutoUpdateAction extends Action {
...
@@ -720,7 +720,7 @@ export class ToggleAutoUpdateAction extends Action {
export
class
EnableAutoUpdateAction
extends
ToggleAutoUpdateAction
{
export
class
EnableAutoUpdateAction
extends
ToggleAutoUpdateAction
{
static
ID
=
'
workbench.extensions.action.enableAutoUpdate
'
;
static
readonly
ID
=
'
workbench.extensions.action.enableAutoUpdate
'
;
static
LABEL
=
localize
(
'
enableAutoUpdate
'
,
"
Enable Auto Updating Extensions
"
);
static
LABEL
=
localize
(
'
enableAutoUpdate
'
,
"
Enable Auto Updating Extensions
"
);
constructor
(
constructor
(
...
@@ -734,7 +734,7 @@ export class EnableAutoUpdateAction extends ToggleAutoUpdateAction {
...
@@ -734,7 +734,7 @@ export class EnableAutoUpdateAction extends ToggleAutoUpdateAction {
export
class
DisableAutoUpdateAction
extends
ToggleAutoUpdateAction
{
export
class
DisableAutoUpdateAction
extends
ToggleAutoUpdateAction
{
static
ID
=
'
workbench.extensions.action.disableAutoUpdate
'
;
static
readonly
ID
=
'
workbench.extensions.action.disableAutoUpdate
'
;
static
LABEL
=
localize
(
'
disableAutoUpdate
'
,
"
Disable Auto Updating Extensions
"
);
static
LABEL
=
localize
(
'
disableAutoUpdate
'
,
"
Disable Auto Updating Extensions
"
);
constructor
(
constructor
(
...
@@ -748,7 +748,7 @@ export class DisableAutoUpdateAction extends ToggleAutoUpdateAction {
...
@@ -748,7 +748,7 @@ export class DisableAutoUpdateAction extends ToggleAutoUpdateAction {
export
class
UpdateAllAction
extends
Action
{
export
class
UpdateAllAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.updateAllExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.updateAllExtensions
'
;
static
LABEL
=
localize
(
'
updateAll
'
,
"
Update All Extensions
"
);
static
LABEL
=
localize
(
'
updateAll
'
,
"
Update All Extensions
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -899,7 +899,7 @@ export class InstallExtensionsAction extends OpenExtensionsViewletAction {
...
@@ -899,7 +899,7 @@ export class InstallExtensionsAction extends OpenExtensionsViewletAction {
export
class
ShowEnabledExtensionsAction
extends
Action
{
export
class
ShowEnabledExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.showEnabledExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.showEnabledExtensions
'
;
static
LABEL
=
localize
(
'
showEnabledExtensions
'
,
'
Show Enabled Extensions
'
);
static
LABEL
=
localize
(
'
showEnabledExtensions
'
,
'
Show Enabled Extensions
'
);
constructor
(
constructor
(
...
@@ -922,7 +922,7 @@ export class ShowEnabledExtensionsAction extends Action {
...
@@ -922,7 +922,7 @@ export class ShowEnabledExtensionsAction extends Action {
export
class
ShowInstalledExtensionsAction
extends
Action
{
export
class
ShowInstalledExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.showInstalledExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.showInstalledExtensions
'
;
static
LABEL
=
localize
(
'
showInstalledExtensions
'
,
"
Show Installed Extensions
"
);
static
LABEL
=
localize
(
'
showInstalledExtensions
'
,
"
Show Installed Extensions
"
);
constructor
(
constructor
(
...
@@ -945,7 +945,7 @@ export class ShowInstalledExtensionsAction extends Action {
...
@@ -945,7 +945,7 @@ export class ShowInstalledExtensionsAction extends Action {
export
class
ShowDisabledExtensionsAction
extends
Action
{
export
class
ShowDisabledExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.showDisabledExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.showDisabledExtensions
'
;
static
LABEL
=
localize
(
'
showDisabledExtensions
'
,
"
Show Disabled Extensions
"
);
static
LABEL
=
localize
(
'
showDisabledExtensions
'
,
"
Show Disabled Extensions
"
);
constructor
(
constructor
(
...
@@ -968,7 +968,7 @@ export class ShowDisabledExtensionsAction extends Action {
...
@@ -968,7 +968,7 @@ export class ShowDisabledExtensionsAction extends Action {
export
class
ClearExtensionsInputAction
extends
Action
{
export
class
ClearExtensionsInputAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.clearExtensionsInput
'
;
static
readonly
ID
=
'
workbench.extensions.action.clearExtensionsInput
'
;
static
LABEL
=
localize
(
'
clearExtensionsInput
'
,
"
Clear Extensions Input
"
);
static
LABEL
=
localize
(
'
clearExtensionsInput
'
,
"
Clear Extensions Input
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -1004,7 +1004,7 @@ export class ClearExtensionsInputAction extends Action {
...
@@ -1004,7 +1004,7 @@ export class ClearExtensionsInputAction extends Action {
export
class
ShowOutdatedExtensionsAction
extends
Action
{
export
class
ShowOutdatedExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.listOutdatedExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.listOutdatedExtensions
'
;
static
LABEL
=
localize
(
'
showOutdatedExtensions
'
,
"
Show Outdated Extensions
"
);
static
LABEL
=
localize
(
'
showOutdatedExtensions
'
,
"
Show Outdated Extensions
"
);
constructor
(
constructor
(
...
@@ -1027,7 +1027,7 @@ export class ShowOutdatedExtensionsAction extends Action {
...
@@ -1027,7 +1027,7 @@ export class ShowOutdatedExtensionsAction extends Action {
export
class
ShowPopularExtensionsAction
extends
Action
{
export
class
ShowPopularExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.showPopularExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.showPopularExtensions
'
;
static
LABEL
=
localize
(
'
showPopularExtensions
'
,
"
Show Popular Extensions
"
);
static
LABEL
=
localize
(
'
showPopularExtensions
'
,
"
Show Popular Extensions
"
);
constructor
(
constructor
(
...
@@ -1050,7 +1050,7 @@ export class ShowPopularExtensionsAction extends Action {
...
@@ -1050,7 +1050,7 @@ export class ShowPopularExtensionsAction extends Action {
export
class
ShowRecommendedExtensionsAction
extends
Action
{
export
class
ShowRecommendedExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.showRecommendedExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.showRecommendedExtensions
'
;
static
LABEL
=
localize
(
'
showRecommendedExtensions
'
,
"
Show Recommended Extensions
"
);
static
LABEL
=
localize
(
'
showRecommendedExtensions
'
,
"
Show Recommended Extensions
"
);
constructor
(
constructor
(
...
@@ -1073,7 +1073,7 @@ export class ShowRecommendedExtensionsAction extends Action {
...
@@ -1073,7 +1073,7 @@ export class ShowRecommendedExtensionsAction extends Action {
export
class
InstallWorkspaceRecommendedExtensionsAction
extends
Action
{
export
class
InstallWorkspaceRecommendedExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.installWorkspaceRecommendedExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.installWorkspaceRecommendedExtensions
'
;
static
LABEL
=
localize
(
'
installWorkspaceRecommendedExtensions
'
,
"
Install All Workspace Recommended Extensions
"
);
static
LABEL
=
localize
(
'
installWorkspaceRecommendedExtensions
'
,
"
Install All Workspace Recommended Extensions
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -1150,7 +1150,7 @@ export class InstallWorkspaceRecommendedExtensionsAction extends Action {
...
@@ -1150,7 +1150,7 @@ export class InstallWorkspaceRecommendedExtensionsAction extends Action {
export
class
InstallRecommendedExtensionAction
extends
Action
{
export
class
InstallRecommendedExtensionAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.installRecommendedExtension
'
;
static
readonly
ID
=
'
workbench.extensions.action.installRecommendedExtension
'
;
static
LABEL
=
localize
(
'
installRecommendedExtension
'
,
"
Install Recommended Extension
"
);
static
LABEL
=
localize
(
'
installRecommendedExtension
'
,
"
Install Recommended Extension
"
);
private
extensionId
:
string
;
private
extensionId
:
string
;
...
@@ -1200,7 +1200,7 @@ export class InstallRecommendedExtensionAction extends Action {
...
@@ -1200,7 +1200,7 @@ export class InstallRecommendedExtensionAction extends Action {
export
class
ShowRecommendedKeymapExtensionsAction
extends
Action
{
export
class
ShowRecommendedKeymapExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.showRecommendedKeymapExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.showRecommendedKeymapExtensions
'
;
static
SHORT_LABEL
=
localize
(
'
showRecommendedKeymapExtensionsShort
'
,
"
Keymaps
"
);
static
SHORT_LABEL
=
localize
(
'
showRecommendedKeymapExtensionsShort
'
,
"
Keymaps
"
);
constructor
(
constructor
(
...
@@ -1223,7 +1223,7 @@ export class ShowRecommendedKeymapExtensionsAction extends Action {
...
@@ -1223,7 +1223,7 @@ export class ShowRecommendedKeymapExtensionsAction extends Action {
export
class
ShowLanguageExtensionsAction
extends
Action
{
export
class
ShowLanguageExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.showLanguageExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.showLanguageExtensions
'
;
static
SHORT_LABEL
=
localize
(
'
showLanguageExtensionsShort
'
,
"
Language Extensions
"
);
static
SHORT_LABEL
=
localize
(
'
showLanguageExtensionsShort
'
,
"
Language Extensions
"
);
constructor
(
constructor
(
...
@@ -1246,7 +1246,7 @@ export class ShowLanguageExtensionsAction extends Action {
...
@@ -1246,7 +1246,7 @@ export class ShowLanguageExtensionsAction extends Action {
export
class
ShowAzureExtensionsAction
extends
Action
{
export
class
ShowAzureExtensionsAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.showAzureExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.showAzureExtensions
'
;
static
SHORT_LABEL
=
localize
(
'
showAzureExtensionsShort
'
,
"
Azure Extensions
"
);
static
SHORT_LABEL
=
localize
(
'
showAzureExtensionsShort
'
,
"
Azure Extensions
"
);
constructor
(
constructor
(
...
@@ -1445,7 +1445,7 @@ export abstract class AbstractConfigureRecommendedExtensionsAction extends Actio
...
@@ -1445,7 +1445,7 @@ export abstract class AbstractConfigureRecommendedExtensionsAction extends Actio
export
class
ConfigureWorkspaceRecommendedExtensionsAction
extends
AbstractConfigureRecommendedExtensionsAction
{
export
class
ConfigureWorkspaceRecommendedExtensionsAction
extends
AbstractConfigureRecommendedExtensionsAction
{
static
ID
=
'
workbench.extensions.action.configureWorkspaceRecommendedExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.configureWorkspaceRecommendedExtensions
'
;
static
LABEL
=
localize
(
'
configureWorkspaceRecommendedExtensions
'
,
"
Configure Recommended Extensions (Workspace)
"
);
static
LABEL
=
localize
(
'
configureWorkspaceRecommendedExtensions
'
,
"
Configure Recommended Extensions (Workspace)
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -1486,7 +1486,7 @@ export class ConfigureWorkspaceRecommendedExtensionsAction extends AbstractConfi
...
@@ -1486,7 +1486,7 @@ export class ConfigureWorkspaceRecommendedExtensionsAction extends AbstractConfi
export
class
ConfigureWorkspaceFolderRecommendedExtensionsAction
extends
AbstractConfigureRecommendedExtensionsAction
{
export
class
ConfigureWorkspaceFolderRecommendedExtensionsAction
extends
AbstractConfigureRecommendedExtensionsAction
{
static
ID
=
'
workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions
'
;
static
readonly
ID
=
'
workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions
'
;
static
LABEL
=
localize
(
'
configureWorkspaceFolderRecommendedExtensions
'
,
"
Configure Recommended Extensions (Workspace Folder)
"
);
static
LABEL
=
localize
(
'
configureWorkspaceFolderRecommendedExtensions
'
,
"
Configure Recommended Extensions (Workspace Folder)
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -1555,7 +1555,7 @@ export class BuiltinStatusLabelAction extends Action {
...
@@ -1555,7 +1555,7 @@ export class BuiltinStatusLabelAction extends Action {
export
class
DisableAllAction
extends
Action
{
export
class
DisableAllAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.disableAll
'
;
static
readonly
ID
=
'
workbench.extensions.action.disableAll
'
;
static
LABEL
=
localize
(
'
disableAll
'
,
"
Disable All Installed Extensions
"
);
static
LABEL
=
localize
(
'
disableAll
'
,
"
Disable All Installed Extensions
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -1585,7 +1585,7 @@ export class DisableAllAction extends Action {
...
@@ -1585,7 +1585,7 @@ export class DisableAllAction extends Action {
export
class
DisableAllWorkpsaceAction
extends
Action
{
export
class
DisableAllWorkpsaceAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.disableAllWorkspace
'
;
static
readonly
ID
=
'
workbench.extensions.action.disableAllWorkspace
'
;
static
LABEL
=
localize
(
'
disableAllWorkspace
'
,
"
Disable All Installed Extensions for this Workspace
"
);
static
LABEL
=
localize
(
'
disableAllWorkspace
'
,
"
Disable All Installed Extensions for this Workspace
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -1617,7 +1617,7 @@ export class DisableAllWorkpsaceAction extends Action {
...
@@ -1617,7 +1617,7 @@ export class DisableAllWorkpsaceAction extends Action {
export
class
EnableAllAction
extends
Action
{
export
class
EnableAllAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.enableAll
'
;
static
readonly
ID
=
'
workbench.extensions.action.enableAll
'
;
static
LABEL
=
localize
(
'
enableAll
'
,
"
Enable All Installed Extensions
"
);
static
LABEL
=
localize
(
'
enableAll
'
,
"
Enable All Installed Extensions
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
@@ -1648,7 +1648,7 @@ export class EnableAllAction extends Action {
...
@@ -1648,7 +1648,7 @@ export class EnableAllAction extends Action {
export
class
EnableAllWorkpsaceAction
extends
Action
{
export
class
EnableAllWorkpsaceAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.enableAllWorkspace
'
;
static
readonly
ID
=
'
workbench.extensions.action.enableAllWorkspace
'
;
static
LABEL
=
localize
(
'
enableAllWorkspace
'
,
"
Enable All Installed Extensions for this Workspace
"
);
static
LABEL
=
localize
(
'
enableAllWorkspace
'
,
"
Enable All Installed Extensions for this Workspace
"
);
private
disposables
:
IDisposable
[]
=
[];
private
disposables
:
IDisposable
[]
=
[];
...
...
src/vs/workbench/parts/extensions/common/extensionsInput.ts
浏览文件 @
54707c13
...
@@ -13,7 +13,7 @@ import URI from 'vs/base/common/uri';
...
@@ -13,7 +13,7 @@ import URI from 'vs/base/common/uri';
export
class
ExtensionsInput
extends
EditorInput
{
export
class
ExtensionsInput
extends
EditorInput
{
static
ID
=
'
workbench.extensions.input2
'
;
static
readonly
ID
=
'
workbench.extensions.input2
'
;
get
extension
():
IExtension
{
return
this
.
_extension
;
}
get
extension
():
IExtension
{
return
this
.
_extension
;
}
constructor
(
private
_extension
:
IExtension
)
{
constructor
(
private
_extension
:
IExtension
)
{
...
...
src/vs/workbench/parts/extensions/electron-browser/extensionsActions.ts
浏览文件 @
54707c13
...
@@ -20,7 +20,7 @@ import { mnemonicButtonLabel } from 'vs/base/common/labels';
...
@@ -20,7 +20,7 @@ import { mnemonicButtonLabel } from 'vs/base/common/labels';
export
class
OpenExtensionsFolderAction
extends
Action
{
export
class
OpenExtensionsFolderAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.openExtensionsFolder
'
;
static
readonly
ID
=
'
workbench.extensions.action.openExtensionsFolder
'
;
static
LABEL
=
localize
(
'
openExtensionsFolder
'
,
"
Open Extensions Folder
"
);
static
LABEL
=
localize
(
'
openExtensionsFolder
'
,
"
Open Extensions Folder
"
);
constructor
(
constructor
(
...
@@ -51,7 +51,7 @@ export class OpenExtensionsFolderAction extends Action {
...
@@ -51,7 +51,7 @@ export class OpenExtensionsFolderAction extends Action {
export
class
InstallVSIXAction
extends
Action
{
export
class
InstallVSIXAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.installVSIX
'
;
static
readonly
ID
=
'
workbench.extensions.action.installVSIX
'
;
static
LABEL
=
localize
(
'
installVSIX
'
,
"
Install from VSIX...
"
);
static
LABEL
=
localize
(
'
installVSIX
'
,
"
Install from VSIX...
"
);
constructor
(
constructor
(
...
...
src/vs/workbench/parts/extensions/electron-browser/runtimeExtensionsEditor.ts
浏览文件 @
54707c13
...
@@ -413,7 +413,7 @@ export class RuntimeExtensionsEditor extends BaseEditor {
...
@@ -413,7 +413,7 @@ export class RuntimeExtensionsEditor extends BaseEditor {
export
class
RuntimeExtensionsInput
extends
EditorInput
{
export
class
RuntimeExtensionsInput
extends
EditorInput
{
static
ID
=
'
workbench.runtimeExtensions.input
'
;
static
readonly
ID
=
'
workbench.runtimeExtensions.input
'
;
constructor
()
{
constructor
()
{
super
();
super
();
...
@@ -451,7 +451,7 @@ export class RuntimeExtensionsInput extends EditorInput {
...
@@ -451,7 +451,7 @@ export class RuntimeExtensionsInput extends EditorInput {
}
}
export
class
ShowRuntimeExtensionsAction
extends
Action
{
export
class
ShowRuntimeExtensionsAction
extends
Action
{
static
ID
=
'
workbench.action.showRuntimeExtensions
'
;
static
readonly
ID
=
'
workbench.action.showRuntimeExtensions
'
;
static
LABEL
=
nls
.
localize
(
'
showRuntimeExtensions
'
,
"
Show Running Extensions
"
);
static
LABEL
=
nls
.
localize
(
'
showRuntimeExtensions
'
,
"
Show Running Extensions
"
);
constructor
(
constructor
(
...
@@ -468,7 +468,7 @@ export class ShowRuntimeExtensionsAction extends Action {
...
@@ -468,7 +468,7 @@ export class ShowRuntimeExtensionsAction extends Action {
}
}
class
ReportExtensionIssueAction
extends
Action
{
class
ReportExtensionIssueAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.reportExtensionIssue
'
;
static
readonly
ID
=
'
workbench.extensions.action.reportExtensionIssue
'
;
static
LABEL
=
nls
.
localize
(
'
reportExtensionIssue
'
,
"
Report Issue
"
);
static
LABEL
=
nls
.
localize
(
'
reportExtensionIssue
'
,
"
Report Issue
"
);
constructor
(
constructor
(
...
@@ -506,7 +506,7 @@ class ReportExtensionIssueAction extends Action {
...
@@ -506,7 +506,7 @@ class ReportExtensionIssueAction extends Action {
}
}
class
ExtensionHostProfileAction
extends
Action
{
class
ExtensionHostProfileAction
extends
Action
{
static
ID
=
'
workbench.extensions.action.extensionHostProfile
'
;
static
readonly
ID
=
'
workbench.extensions.action.extensionHostProfile
'
;
static
LABEL_START
=
nls
.
localize
(
'
extensionHostProfileStart
'
,
"
Start Extension Host Profile
"
);
static
LABEL_START
=
nls
.
localize
(
'
extensionHostProfileStart
'
,
"
Start Extension Host Profile
"
);
static
LABEL_STOP
=
nls
.
localize
(
'
extensionHostProfileStop
'
,
"
Stop Extension Host Profile
"
);
static
LABEL_STOP
=
nls
.
localize
(
'
extensionHostProfileStop
'
,
"
Stop Extension Host Profile
"
);
static
STOP_CSS_CLASS
=
'
extension-host-profile-stop
'
;
static
STOP_CSS_CLASS
=
'
extension-host-profile-stop
'
;
...
@@ -549,7 +549,7 @@ class ExtensionHostProfileAction extends Action {
...
@@ -549,7 +549,7 @@ class ExtensionHostProfileAction extends Action {
class
SaveExtensionHostProfileAction
extends
Action
{
class
SaveExtensionHostProfileAction
extends
Action
{
static
LABEL
=
nls
.
localize
(
'
saveExtensionHostProfile
'
,
"
Save Extension Host Profile
"
);
static
LABEL
=
nls
.
localize
(
'
saveExtensionHostProfile
'
,
"
Save Extension Host Profile
"
);
static
ID
=
'
workbench.extensions.action.saveExtensionHostProfile
'
;
static
readonly
ID
=
'
workbench.extensions.action.saveExtensionHostProfile
'
;
constructor
(
constructor
(
id
:
string
=
SaveExtensionHostProfileAction
.
ID
,
label
:
string
=
SaveExtensionHostProfileAction
.
LABEL
,
id
:
string
=
SaveExtensionHostProfileAction
.
ID
,
label
:
string
=
SaveExtensionHostProfileAction
.
LABEL
,
...
...
src/vs/workbench/parts/files/electron-browser/views/openEditorsView.ts
浏览文件 @
54707c13
...
@@ -47,7 +47,7 @@ export class OpenEditorsView extends ViewsViewletPanel {
...
@@ -47,7 +47,7 @@ export class OpenEditorsView extends ViewsViewletPanel {
private
static
readonly
DEFAULT_VISIBLE_OPEN_EDITORS
=
9
;
private
static
readonly
DEFAULT_VISIBLE_OPEN_EDITORS
=
9
;
private
static
readonly
DEFAULT_DYNAMIC_HEIGHT
=
true
;
private
static
readonly
DEFAULT_DYNAMIC_HEIGHT
=
true
;
static
ID
=
'
workbench.explorer.openEditorsView
'
;
static
readonly
ID
=
'
workbench.explorer.openEditorsView
'
;
static
NAME
=
nls
.
localize
({
key
:
'
openEditors
'
,
comment
:
[
'
Open is an adjective
'
]
},
"
Open Editors
"
);
static
NAME
=
nls
.
localize
({
key
:
'
openEditors
'
,
comment
:
[
'
Open is an adjective
'
]
},
"
Open Editors
"
);
private
model
:
IEditorStacksModel
;
private
model
:
IEditorStacksModel
;
...
@@ -413,7 +413,7 @@ class OpenEditorsDelegate implements IDelegate<OpenEditor | IEditorGroup> {
...
@@ -413,7 +413,7 @@ class OpenEditorsDelegate implements IDelegate<OpenEditor | IEditorGroup> {
}
}
class
EditorGroupRenderer
implements
IRenderer
<
IEditorGroup
,
IEditorGroupTemplateData
>
{
class
EditorGroupRenderer
implements
IRenderer
<
IEditorGroup
,
IEditorGroupTemplateData
>
{
static
ID
=
'
editorgroup
'
;
static
readonly
ID
=
'
editorgroup
'
;
constructor
(
constructor
(
private
keybindingService
:
IKeybindingService
,
private
keybindingService
:
IKeybindingService
,
...
@@ -478,7 +478,7 @@ class EditorGroupRenderer implements IRenderer<IEditorGroup, IEditorGroupTemplat
...
@@ -478,7 +478,7 @@ class EditorGroupRenderer implements IRenderer<IEditorGroup, IEditorGroupTemplat
}
}
class
OpenEditorRenderer
implements
IRenderer
<
OpenEditor
,
IOpenEditorTemplateData
>
{
class
OpenEditorRenderer
implements
IRenderer
<
OpenEditor
,
IOpenEditorTemplateData
>
{
static
ID
=
'
openeditor
'
;
static
readonly
ID
=
'
openeditor
'
;
public
static
DRAGGED_OPEN_EDITOR
:
OpenEditor
;
public
static
DRAGGED_OPEN_EDITOR
:
OpenEditor
;
constructor
(
constructor
(
...
...
src/vs/workbench/parts/preferences/browser/keybindingsEditorContribution.ts
浏览文件 @
54707c13
...
@@ -356,7 +356,7 @@ export class KeybindingEditorDecorationsRenderer extends Disposable {
...
@@ -356,7 +356,7 @@ export class KeybindingEditorDecorationsRenderer extends Disposable {
class
DefineKeybindingCommand
extends
EditorCommand
{
class
DefineKeybindingCommand
extends
EditorCommand
{
static
ID
=
'
editor.action.defineKeybinding
'
;
static
readonly
ID
=
'
editor.action.defineKeybinding
'
;
constructor
()
{
constructor
()
{
super
({
super
({
...
...
src/vs/workbench/parts/scm/electron-browser/scm.contribution.ts
浏览文件 @
54707c13
...
@@ -23,7 +23,7 @@ import { IConfigurationRegistry, Extensions as ConfigurationExtensions } from 'v
...
@@ -23,7 +23,7 @@ import { IConfigurationRegistry, Extensions as ConfigurationExtensions } from 'v
class
OpenSCMViewletAction
extends
ToggleViewletAction
{
class
OpenSCMViewletAction
extends
ToggleViewletAction
{
static
ID
=
VIEWLET_ID
;
static
readonly
ID
=
VIEWLET_ID
;
static
LABEL
=
localize
(
'
toggleGitViewlet
'
,
"
Show Git
"
);
static
LABEL
=
localize
(
'
toggleGitViewlet
'
,
"
Show Git
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IViewletService
viewletService
:
IViewletService
,
@
IWorkbenchEditorService
editorService
:
IWorkbenchEditorService
)
{
constructor
(
id
:
string
,
label
:
string
,
@
IViewletService
viewletService
:
IViewletService
,
@
IWorkbenchEditorService
editorService
:
IWorkbenchEditorService
)
{
...
...
src/vs/workbench/parts/themes/electron-browser/themes.contribution.ts
浏览文件 @
54707c13
...
@@ -28,7 +28,7 @@ import { LIGHT, DARK, HIGH_CONTRAST } from 'vs/platform/theme/common/themeServic
...
@@ -28,7 +28,7 @@ import { LIGHT, DARK, HIGH_CONTRAST } from 'vs/platform/theme/common/themeServic
export
class
SelectColorThemeAction
extends
Action
{
export
class
SelectColorThemeAction
extends
Action
{
static
ID
=
'
workbench.action.selectTheme
'
;
static
readonly
ID
=
'
workbench.action.selectTheme
'
;
static
LABEL
=
localize
(
'
selectTheme.label
'
,
"
Color Theme
"
);
static
LABEL
=
localize
(
'
selectTheme.label
'
,
"
Color Theme
"
);
constructor
(
constructor
(
...
@@ -87,7 +87,7 @@ export class SelectColorThemeAction extends Action {
...
@@ -87,7 +87,7 @@ export class SelectColorThemeAction extends Action {
class
SelectIconThemeAction
extends
Action
{
class
SelectIconThemeAction
extends
Action
{
static
ID
=
'
workbench.action.selectIconTheme
'
;
static
readonly
ID
=
'
workbench.action.selectIconTheme
'
;
static
LABEL
=
localize
(
'
selectIconTheme.label
'
,
"
File Icon Theme
"
);
static
LABEL
=
localize
(
'
selectIconTheme.label
'
,
"
File Icon Theme
"
);
constructor
(
constructor
(
...
@@ -171,7 +171,7 @@ function toEntries(themes: (IColorTheme | IFileIconTheme)[], label?: string, bor
...
@@ -171,7 +171,7 @@ function toEntries(themes: (IColorTheme | IFileIconTheme)[], label?: string, bor
class
GenerateColorThemeAction
extends
Action
{
class
GenerateColorThemeAction
extends
Action
{
static
ID
=
'
workbench.action.generateColorTheme
'
;
static
readonly
ID
=
'
workbench.action.generateColorTheme
'
;
static
LABEL
=
localize
(
'
generateColorTheme.label
'
,
"
Generate Color Theme From Current Settings
"
);
static
LABEL
=
localize
(
'
generateColorTheme.label
'
,
"
Generate Color Theme From Current Settings
"
);
constructor
(
constructor
(
...
...
src/vs/workbench/parts/update/electron-browser/releaseNotesInput.ts
浏览文件 @
54707c13
...
@@ -12,7 +12,7 @@ import URI from 'vs/base/common/uri';
...
@@ -12,7 +12,7 @@ import URI from 'vs/base/common/uri';
export
class
ReleaseNotesInput
extends
EditorInput
{
export
class
ReleaseNotesInput
extends
EditorInput
{
static
ID
=
'
workbench.releaseNotes.input
'
;
static
readonly
ID
=
'
workbench.releaseNotes.input
'
;
get
version
():
string
{
return
this
.
_version
;
}
get
version
():
string
{
return
this
.
_version
;
}
get
text
():
string
{
return
this
.
_text
;
}
get
text
():
string
{
return
this
.
_text
;
}
...
...
src/vs/workbench/parts/update/electron-browser/update.ts
浏览文件 @
54707c13
...
@@ -165,7 +165,7 @@ export class ShowReleaseNotesAction extends AbstractShowReleaseNotesAction {
...
@@ -165,7 +165,7 @@ export class ShowReleaseNotesAction extends AbstractShowReleaseNotesAction {
export
class
ShowCurrentReleaseNotesAction
extends
AbstractShowReleaseNotesAction
{
export
class
ShowCurrentReleaseNotesAction
extends
AbstractShowReleaseNotesAction
{
static
ID
=
'
update.showCurrentReleaseNotes
'
;
static
readonly
ID
=
'
update.showCurrentReleaseNotes
'
;
static
LABEL
=
nls
.
localize
(
'
showReleaseNotes
'
,
"
Show Release Notes
"
);
static
LABEL
=
nls
.
localize
(
'
showReleaseNotes
'
,
"
Show Release Notes
"
);
constructor
(
constructor
(
...
...
src/vs/workbench/parts/welcome/page/electron-browser/welcomePage.ts
浏览文件 @
54707c13
...
@@ -585,7 +585,7 @@ function stripVersion(id: string): string {
...
@@ -585,7 +585,7 @@ function stripVersion(id: string): string {
export
class
WelcomeInputFactory
implements
IEditorInputFactory
{
export
class
WelcomeInputFactory
implements
IEditorInputFactory
{
static
ID
=
welcomeInputTypeId
;
static
readonly
ID
=
welcomeInputTypeId
;
public
serialize
(
editorInput
:
EditorInput
):
string
{
public
serialize
(
editorInput
:
EditorInput
):
string
{
return
'
{}
'
;
return
'
{}
'
;
...
...
src/vs/workbench/parts/welcome/walkThrough/electron-browser/editor/editorWalkThrough.ts
浏览文件 @
54707c13
...
@@ -47,7 +47,7 @@ export class EditorWalkThroughAction extends Action {
...
@@ -47,7 +47,7 @@ export class EditorWalkThroughAction extends Action {
export
class
EditorWalkThroughInputFactory
implements
IEditorInputFactory
{
export
class
EditorWalkThroughInputFactory
implements
IEditorInputFactory
{
static
ID
=
typeId
;
static
readonly
ID
=
typeId
;
public
serialize
(
editorInput
:
EditorInput
):
string
{
public
serialize
(
editorInput
:
EditorInput
):
string
{
return
'
{}
'
;
return
'
{}
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录