Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
7a7e566e
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7a7e566e
编写于
2月 14, 2018
作者:
M
Matt Bierner
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mark ids readonly
上级
7f2cdefd
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
30 addition
and
30 deletion
+30
-30
src/vs/editor/contrib/codelens/codelensController.ts
src/vs/editor/contrib/codelens/codelensController.ts
+1
-1
src/vs/editor/contrib/colorPicker/colorDetector.ts
src/vs/editor/contrib/colorPicker/colorDetector.ts
+1
-1
src/vs/editor/contrib/links/links.ts
src/vs/editor/contrib/links/links.ts
+1
-1
src/vs/editor/contrib/suggest/suggestController.ts
src/vs/editor/contrib/suggest/suggestController.ts
+1
-1
src/vs/editor/contrib/suggest/suggestWidget.ts
src/vs/editor/contrib/suggest/suggestWidget.ts
+1
-1
src/vs/workbench/browser/parts/editor/sideBySideEditor.ts
src/vs/workbench/browser/parts/editor/sideBySideEditor.ts
+1
-1
src/vs/workbench/common/editor.ts
src/vs/workbench/common/editor.ts
+1
-1
src/vs/workbench/common/editor/dataUriEditorInput.ts
src/vs/workbench/common/editor/dataUriEditorInput.ts
+1
-1
src/vs/workbench/common/editor/resourceEditorInput.ts
src/vs/workbench/common/editor/resourceEditorInput.ts
+1
-1
src/vs/workbench/common/editor/untitledEditorInput.ts
src/vs/workbench/common/editor/untitledEditorInput.ts
+1
-1
src/vs/workbench/parts/extensions/browser/extensionEditor.ts
src/vs/workbench/parts/extensions/browser/extensionEditor.ts
+1
-1
src/vs/workbench/parts/extensions/electron-browser/runtimeExtensionsEditor.ts
...ts/extensions/electron-browser/runtimeExtensionsEditor.ts
+1
-1
src/vs/workbench/parts/files/electron-browser/views/emptyView.ts
...workbench/parts/files/electron-browser/views/emptyView.ts
+1
-1
src/vs/workbench/parts/files/electron-browser/views/explorerView.ts
...kbench/parts/files/electron-browser/views/explorerView.ts
+1
-1
src/vs/workbench/parts/html/browser/htmlPreviewPart.ts
src/vs/workbench/parts/html/browser/htmlPreviewPart.ts
+1
-1
src/vs/workbench/parts/markers/browser/markersPanelActions.ts
...vs/workbench/parts/markers/browser/markersPanelActions.ts
+1
-1
src/vs/workbench/parts/preferences/browser/keybindingsEditor.ts
.../workbench/parts/preferences/browser/keybindingsEditor.ts
+2
-2
src/vs/workbench/parts/preferences/browser/preferencesEditor.ts
.../workbench/parts/preferences/browser/preferencesEditor.ts
+5
-5
src/vs/workbench/parts/search/browser/searchActions.ts
src/vs/workbench/parts/search/browser/searchActions.ts
+4
-4
src/vs/workbench/parts/search/browser/searchWidget.ts
src/vs/workbench/parts/search/browser/searchWidget.ts
+1
-1
src/vs/workbench/parts/update/electron-browser/releaseNotesEditor.ts
...bench/parts/update/electron-browser/releaseNotesEditor.ts
+1
-1
src/vs/workbench/parts/welcome/walkThrough/electron-browser/walkThroughPart.ts
...s/welcome/walkThrough/electron-browser/walkThroughPart.ts
+1
-1
未找到文件。
src/vs/editor/contrib/codelens/codelensController.ts
浏览文件 @
7a7e566e
...
...
@@ -22,7 +22,7 @@ import { IModelDecorationsChangeAccessor } from 'vs/editor/common/model';
export
class
CodeLensContribution
implements
editorCommon
.
IEditorContribution
{
private
static
ID
:
string
=
'
css.editor.codeLens
'
;
private
static
readonly
ID
:
string
=
'
css.editor.codeLens
'
;
private
_isEnabled
:
boolean
;
...
...
src/vs/editor/contrib/colorPicker/colorDetector.ts
浏览文件 @
7a7e566e
...
...
@@ -21,7 +21,7 @@ const MAX_DECORATORS = 500;
export
class
ColorDetector
implements
IEditorContribution
{
private
static
ID
:
string
=
'
editor.contrib.colorDetector
'
;
private
static
readonly
ID
:
string
=
'
editor.contrib.colorDetector
'
;
static
RECOMPUTE_TIME
=
1000
;
// ms
...
...
src/vs/editor/contrib/links/links.ts
浏览文件 @
7a7e566e
...
...
@@ -130,7 +130,7 @@ class LinkOccurrence {
class
LinkDetector
implements
editorCommon
.
IEditorContribution
{
private
static
ID
:
string
=
'
editor.linkDetector
'
;
private
static
readonly
ID
:
string
=
'
editor.linkDetector
'
;
public
static
get
(
editor
:
ICodeEditor
):
LinkDetector
{
return
editor
.
getContribution
<
LinkDetector
>
(
LinkDetector
.
ID
);
...
...
src/vs/editor/contrib/suggest/suggestController.ts
浏览文件 @
7a7e566e
...
...
@@ -77,7 +77,7 @@ class AcceptOnCharacterOracle {
export
class
SuggestController
implements
IEditorContribution
{
private
static
ID
:
string
=
'
editor.contrib.suggestController
'
;
private
static
readonly
ID
:
string
=
'
editor.contrib.suggestController
'
;
public
static
get
(
editor
:
ICodeEditor
):
SuggestController
{
return
editor
.
getContribution
<
SuggestController
>
(
SuggestController
.
ID
);
...
...
src/vs/editor/contrib/suggest/suggestWidget.ts
浏览文件 @
7a7e566e
...
...
@@ -343,7 +343,7 @@ export interface ISelectedSuggestion {
export
class
SuggestWidget
implements
IContentWidget
,
IDelegate
<
ICompletionItem
>
,
IDisposable
{
private
static
ID
:
string
=
'
editor.widget.suggestWidget
'
;
private
static
readonly
ID
:
string
=
'
editor.widget.suggestWidget
'
;
static
LOADING_MESSAGE
:
string
=
nls
.
localize
(
'
suggestWidget.loading
'
,
"
Loading...
"
);
static
NO_SUGGESTIONS_MESSAGE
:
string
=
nls
.
localize
(
'
suggestWidget.noSuggestions
'
,
"
No suggestions.
"
);
...
...
src/vs/workbench/browser/parts/editor/sideBySideEditor.ts
浏览文件 @
7a7e566e
...
...
@@ -21,7 +21,7 @@ import { IEditorRegistry, Extensions as EditorExtensions } from 'vs/workbench/br
export
class
SideBySideEditor
extends
BaseEditor
{
public
static
ID
:
string
=
'
workbench.editor.sidebysideEditor
'
;
public
static
readonly
ID
:
string
=
'
workbench.editor.sidebysideEditor
'
;
private
dimension
:
Dimension
;
...
...
src/vs/workbench/common/editor.ts
浏览文件 @
7a7e566e
...
...
@@ -355,7 +355,7 @@ export interface IFileEditorInput extends IEditorInput, IEncodingSupport {
*/
export
class
SideBySideEditorInput
extends
EditorInput
{
public
static
ID
:
string
=
'
workbench.editorinputs.sidebysideEditorInput
'
;
public
static
readonly
ID
:
string
=
'
workbench.editorinputs.sidebysideEditorInput
'
;
private
_toUnbind
:
IDisposable
[];
...
...
src/vs/workbench/common/editor/dataUriEditorInput.ts
浏览文件 @
7a7e566e
...
...
@@ -18,7 +18,7 @@ import { DataUri } from 'vs/workbench/common/resources';
*/
export
class
DataUriEditorInput
extends
EditorInput
{
static
ID
:
string
=
'
workbench.editors.dataUriEditorInput
'
;
static
readonly
ID
:
string
=
'
workbench.editors.dataUriEditorInput
'
;
private
resource
:
URI
;
private
name
:
string
;
...
...
src/vs/workbench/common/editor/resourceEditorInput.ts
浏览文件 @
7a7e566e
...
...
@@ -19,7 +19,7 @@ import { IHashService } from 'vs/workbench/services/hash/common/hashService';
*/
export
class
ResourceEditorInput
extends
EditorInput
{
static
ID
:
string
=
'
workbench.editors.resourceEditorInput
'
;
static
readonly
ID
:
string
=
'
workbench.editors.resourceEditorInput
'
;
private
modelReference
:
TPromise
<
IReference
<
ITextEditorModel
>>
;
private
resource
:
URI
;
...
...
src/vs/workbench/common/editor/untitledEditorInput.ts
浏览文件 @
7a7e566e
...
...
@@ -29,7 +29,7 @@ import { IHashService } from 'vs/workbench/services/hash/common/hashService';
*/
export
class
UntitledEditorInput
extends
EditorInput
implements
IEncodingSupport
{
public
static
ID
:
string
=
'
workbench.editors.untitledEditorInput
'
;
public
static
readonly
ID
:
string
=
'
workbench.editors.untitledEditorInput
'
;
private
_hasAssociatedFilePath
:
boolean
;
private
cachedModel
:
UntitledEditorModel
;
...
...
src/vs/workbench/parts/extensions/browser/extensionEditor.ts
浏览文件 @
7a7e566e
...
...
@@ -150,7 +150,7 @@ interface ILayoutParticipant {
export
class
ExtensionEditor
extends
BaseEditor
{
static
ID
:
string
=
'
workbench.editor.extension
'
;
static
readonly
ID
:
string
=
'
workbench.editor.extension
'
;
private
icon
:
HTMLImageElement
;
private
name
:
HTMLElement
;
...
...
src/vs/workbench/parts/extensions/electron-browser/runtimeExtensionsEditor.ts
浏览文件 @
7a7e566e
...
...
@@ -88,7 +88,7 @@ interface IRuntimeExtension {
export
class
RuntimeExtensionsEditor
extends
BaseEditor
{
static
ID
:
string
=
'
workbench.editor.runtimeExtensions
'
;
static
readonly
ID
:
string
=
'
workbench.editor.runtimeExtensions
'
;
private
_list
:
WorkbenchList
<
IRuntimeExtension
>
;
private
_profileInfo
:
IExtensionHostProfile
;
...
...
src/vs/workbench/parts/files/electron-browser/views/emptyView.ts
浏览文件 @
7a7e566e
...
...
@@ -25,7 +25,7 @@ import { IConfigurationService } from 'vs/platform/configuration/common/configur
export
class
EmptyView
extends
ViewsViewletPanel
{
public
static
ID
:
string
=
'
workbench.explorer.emptyView
'
;
public
static
readonly
ID
:
string
=
'
workbench.explorer.emptyView
'
;
public
static
readonly
NAME
=
nls
.
localize
(
'
noWorkspace
'
,
"
No Folder Opened
"
);
private
button
:
Button
;
...
...
src/vs/workbench/parts/files/electron-browser/views/explorerView.ts
浏览文件 @
7a7e566e
...
...
@@ -51,7 +51,7 @@ export interface IExplorerViewOptions extends IViewletViewOptions {
export
class
ExplorerView
extends
TreeViewsViewletPanel
implements
IExplorerView
{
public
static
ID
:
string
=
'
workbench.explorer.fileView
'
;
public
static
readonly
ID
:
string
=
'
workbench.explorer.fileView
'
;
private
static
readonly
EXPLORER_FILE_CHANGES_REACT_DELAY
=
500
;
// delay in ms to react to file changes to give our internal events a chance to react first
private
static
readonly
EXPLORER_FILE_CHANGES_REFRESH_DELAY
=
100
;
// delay in ms to refresh the explorer from disk file changes
...
...
src/vs/workbench/parts/html/browser/htmlPreviewPart.ts
浏览文件 @
7a7e566e
...
...
@@ -34,7 +34,7 @@ import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace
*/
export
class
HtmlPreviewPart
extends
WebviewEditor
{
static
ID
:
string
=
'
workbench.editor.htmlPreviewPart
'
;
static
readonly
ID
:
string
=
'
workbench.editor.htmlPreviewPart
'
;
static
class
:
string
=
'
htmlPreviewPart
'
;
private
_webviewDisposables
:
IDisposable
[];
...
...
src/vs/workbench/parts/markers/browser/markersPanelActions.ts
浏览文件 @
7a7e566e
...
...
@@ -64,7 +64,7 @@ export class CollapseAllAction extends TreeCollapseAction {
export
class
FilterAction
extends
Action
{
public
static
ID
:
string
=
'
workbench.actions.problems.filter
'
;
public
static
readonly
ID
:
string
=
'
workbench.actions.problems.filter
'
;
constructor
()
{
super
(
FilterAction
.
ID
,
Messages
.
MARKERS_PANEL_ACTION_TOOLTIP_FILTER
,
'
markers-panel-action-filter
'
,
true
);
...
...
src/vs/workbench/parts/preferences/browser/keybindingsEditor.ts
浏览文件 @
7a7e566e
...
...
@@ -46,7 +46,7 @@ let $ = DOM.$;
export
class
KeybindingsEditorInput
extends
EditorInput
{
public
static
ID
:
string
=
'
workbench.input.keybindings
'
;
public
static
readonly
ID
:
string
=
'
workbench.input.keybindings
'
;
public
readonly
keybindingsModel
:
KeybindingsEditorModel
;
constructor
(
@
IInstantiationService
instantiationService
:
IInstantiationService
)
{
...
...
@@ -73,7 +73,7 @@ export class KeybindingsEditorInput extends EditorInput {
export
class
KeybindingsEditor
extends
BaseEditor
implements
IKeybindingsEditor
{
public
static
ID
:
string
=
'
workbench.editor.keybindings
'
;
public
static
readonly
ID
:
string
=
'
workbench.editor.keybindings
'
;
private
keybindingsEditorModel
:
KeybindingsEditorModel
;
...
...
src/vs/workbench/parts/preferences/browser/preferencesEditor.ts
浏览文件 @
7a7e566e
...
...
@@ -64,7 +64,7 @@ import { IProgressService } from 'vs/platform/progress/common/progress';
import
{
ILogService
}
from
'
vs/platform/log/common/log
'
;
export
class
PreferencesEditorInput
extends
SideBySideEditorInput
{
public
static
ID
:
string
=
'
workbench.editorinputs.preferencesEditorInput
'
;
public
static
readonly
ID
:
string
=
'
workbench.editorinputs.preferencesEditorInput
'
;
getTypeId
():
string
{
return
PreferencesEditorInput
.
ID
;
...
...
@@ -105,7 +105,7 @@ export class DefaultPreferencesEditorInput extends ResourceEditorInput {
export
class
PreferencesEditor
extends
BaseEditor
{
public
static
ID
:
string
=
'
workbench.editor.preferencesEditor
'
;
public
static
readonly
ID
:
string
=
'
workbench.editor.preferencesEditor
'
;
private
defaultSettingsEditorContextKey
:
IContextKey
<
boolean
>
;
private
focusSettingsContextKey
:
IContextKey
<
boolean
>
;
...
...
@@ -974,7 +974,7 @@ class SideBySidePreferencesWidget extends Widget {
export
class
DefaultPreferencesEditor
extends
BaseTextEditor
{
public
static
ID
:
string
=
'
workbench.editor.defaultPreferences
'
;
public
static
readonly
ID
:
string
=
'
workbench.editor.defaultPreferences
'
;
constructor
(
@
ITelemetryService
telemetryService
:
ITelemetryService
,
...
...
@@ -1150,7 +1150,7 @@ abstract class AbstractSettingsEditorContribution extends Disposable implements
class
DefaultSettingsEditorContribution
extends
AbstractSettingsEditorContribution
implements
ISettingsEditorContribution
{
static
ID
:
string
=
'
editor.contrib.defaultsettings
'
;
static
readonly
ID
:
string
=
'
editor.contrib.defaultsettings
'
;
getId
():
string
{
return
DefaultSettingsEditorContribution
.
ID
;
...
...
@@ -1171,7 +1171,7 @@ class DefaultSettingsEditorContribution extends AbstractSettingsEditorContributi
class
SettingsEditorContribution
extends
AbstractSettingsEditorContribution
implements
ISettingsEditorContribution
{
static
ID
:
string
=
'
editor.contrib.settings
'
;
static
readonly
ID
:
string
=
'
editor.contrib.settings
'
;
constructor
(
editor
:
ICodeEditor
,
@
IInstantiationService
instantiationService
:
IInstantiationService
,
...
...
src/vs/workbench/parts/search/browser/searchActions.ts
浏览文件 @
7a7e566e
...
...
@@ -297,7 +297,7 @@ export abstract class SearchAction extends Action {
export
class
RefreshAction
extends
SearchAction
{
static
ID
:
string
=
'
search.action.refreshSearchResults
'
;
static
readonly
ID
:
string
=
'
search.action.refreshSearchResults
'
;
static
LABEL
:
string
=
nls
.
localize
(
'
RefreshAction.label
'
,
"
Refresh
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IViewletService
viewletService
:
IViewletService
)
{
...
...
@@ -322,7 +322,7 @@ export class RefreshAction extends SearchAction {
export
class
CollapseDeepestExpandedLevelAction
extends
SearchAction
{
static
ID
:
string
=
'
search.action.collapseSearchResults
'
;
static
readonly
ID
:
string
=
'
search.action.collapseSearchResults
'
;
static
LABEL
:
string
=
nls
.
localize
(
'
CollapseDeepestExpandedLevelAction.label
'
,
"
Collapse All
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IViewletService
viewletService
:
IViewletService
)
{
...
...
@@ -356,7 +356,7 @@ export class CollapseDeepestExpandedLevelAction extends SearchAction {
export
class
ClearSearchResultsAction
extends
SearchAction
{
static
ID
:
string
=
'
search.action.clearSearchResults
'
;
static
readonly
ID
:
string
=
'
search.action.clearSearchResults
'
;
static
LABEL
:
string
=
nls
.
localize
(
'
ClearSearchResultsAction.label
'
,
"
Clear
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IViewletService
viewletService
:
IViewletService
)
{
...
...
@@ -381,7 +381,7 @@ export class ClearSearchResultsAction extends SearchAction {
export
class
CancelSearchAction
extends
SearchAction
{
static
ID
:
string
=
'
search.action.cancelSearch
'
;
static
readonly
ID
:
string
=
'
search.action.cancelSearch
'
;
static
LABEL
:
string
=
nls
.
localize
(
'
CancelSearchAction.label
'
,
"
Cancel Search
"
);
constructor
(
id
:
string
,
label
:
string
,
@
IViewletService
viewletService
:
IViewletService
)
{
...
...
src/vs/workbench/parts/search/browser/searchWidget.ts
浏览文件 @
7a7e566e
...
...
@@ -44,7 +44,7 @@ export interface ISearchWidgetOptions {
class
ReplaceAllAction
extends
Action
{
private
static
fgInstance
:
ReplaceAllAction
=
null
;
public
static
ID
:
string
=
'
search.action.replaceAll
'
;
public
static
readonly
ID
:
string
=
'
search.action.replaceAll
'
;
static
get
INSTANCE
():
ReplaceAllAction
{
if
(
ReplaceAllAction
.
fgInstance
===
null
)
{
...
...
src/vs/workbench/parts/update/electron-browser/releaseNotesEditor.ts
浏览文件 @
7a7e566e
...
...
@@ -50,7 +50,7 @@ function renderBody(
export
class
ReleaseNotesEditor
extends
WebviewEditor
{
static
ID
:
string
=
'
workbench.editor.releaseNotes
'
;
static
readonly
ID
:
string
=
'
workbench.editor.releaseNotes
'
;
private
contentDisposables
:
IDisposable
[]
=
[];
private
scrollYPercentage
:
number
=
0
;
...
...
src/vs/workbench/parts/welcome/walkThrough/electron-browser/walkThroughPart.ts
浏览文件 @
7a7e566e
...
...
@@ -83,7 +83,7 @@ class WalkThroughCodeEditor extends CodeEditor {
export
class
WalkThroughPart
extends
BaseEditor
{
static
ID
:
string
=
'
workbench.editor.walkThroughPart
'
;
static
readonly
ID
:
string
=
'
workbench.editor.walkThroughPart
'
;
private
disposables
:
IDisposable
[]
=
[];
private
contentDisposables
:
IDisposable
[]
=
[];
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录