Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
aef80e80
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,发现更多精彩内容 >>
提交
aef80e80
编写于
3月 05, 2019
作者:
M
Matt Bierner
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Auto marking fields as readonly in mainThread files
上级
ff1d5301
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
74 addition
and
74 deletion
+74
-74
src/vs/workbench/api/electron-browser/mainThreadComments.ts
src/vs/workbench/api/electron-browser/mainThreadComments.ts
+11
-11
src/vs/workbench/api/electron-browser/mainThreadDebugService.ts
.../workbench/api/electron-browser/mainThreadDebugService.ts
+7
-7
src/vs/workbench/api/electron-browser/mainThreadDecorations.ts
...s/workbench/api/electron-browser/mainThreadDecorations.ts
+1
-1
src/vs/workbench/api/electron-browser/mainThreadDocuments.ts
src/vs/workbench/api/electron-browser/mainThreadDocuments.ts
+9
-9
src/vs/workbench/api/electron-browser/mainThreadDocumentsAndEditors.ts
...nch/api/electron-browser/mainThreadDocumentsAndEditors.ts
+2
-2
src/vs/workbench/api/electron-browser/mainThreadEditor.ts
src/vs/workbench/api/electron-browser/mainThreadEditor.ts
+3
-3
src/vs/workbench/api/electron-browser/mainThreadEditors.ts
src/vs/workbench/api/electron-browser/mainThreadEditors.ts
+3
-3
src/vs/workbench/api/electron-browser/mainThreadHeapService.ts
...s/workbench/api/electron-browser/mainThreadHeapService.ts
+1
-1
src/vs/workbench/api/electron-browser/mainThreadLanguageFeatures.ts
...kbench/api/electron-browser/mainThreadLanguageFeatures.ts
+4
-4
src/vs/workbench/api/electron-browser/mainThreadOutputService.ts
...workbench/api/electron-browser/mainThreadOutputService.ts
+1
-1
src/vs/workbench/api/electron-browser/mainThreadProgress.ts
src/vs/workbench/api/electron-browser/mainThreadProgress.ts
+2
-2
src/vs/workbench/api/electron-browser/mainThreadQuickOpen.ts
src/vs/workbench/api/electron-browser/mainThreadQuickOpen.ts
+3
-3
src/vs/workbench/api/electron-browser/mainThreadSCM.ts
src/vs/workbench/api/electron-browser/mainThreadSCM.ts
+13
-13
src/vs/workbench/api/electron-browser/mainThreadSaveParticipant.ts
...rkbench/api/electron-browser/mainThreadSaveParticipant.ts
+1
-1
src/vs/workbench/api/electron-browser/mainThreadStorage.ts
src/vs/workbench/api/electron-browser/mainThreadStorage.ts
+4
-4
src/vs/workbench/api/electron-browser/mainThreadTask.ts
src/vs/workbench/api/electron-browser/mainThreadTask.ts
+3
-3
src/vs/workbench/api/electron-browser/mainThreadTreeViews.ts
src/vs/workbench/api/electron-browser/mainThreadTreeViews.ts
+6
-6
未找到文件。
src/vs/workbench/api/electron-browser/mainThreadComments.ts
浏览文件 @
aef80e80
...
...
@@ -26,9 +26,9 @@ import { IRange } from 'vs/editor/common/core/range';
import
{
Emitter
,
Event
}
from
'
vs/base/common/event
'
;
export
class
MainThreadDocumentCommentProvider
implements
modes
.
DocumentCommentProvider
{
private
_proxy
:
ExtHostCommentsShape
;
private
_handle
:
number
;
private
_features
:
CommentProviderFeatures
;
private
readonly
_proxy
:
ExtHostCommentsShape
;
private
readonly
_handle
:
number
;
private
readonly
_features
:
CommentProviderFeatures
;
get
startDraftLabel
():
string
|
undefined
{
return
this
.
_features
.
startDraftLabel
;
}
get
deleteDraftLabel
():
string
|
undefined
{
return
this
.
_features
.
deleteDraftLabel
;
}
get
finishDraftLabel
():
string
|
undefined
{
return
this
.
_features
.
finishDraftLabel
;
}
...
...
@@ -197,14 +197,14 @@ export class MainThreadCommentControl {
return
this
.
_label
;
}
private
_threads
:
Map
<
number
,
MainThreadCommentThread
>
=
new
Map
<
number
,
MainThreadCommentThread
>
();
private
_commentingRanges
:
Map
<
number
,
MainThreadCommentingRanges
>
=
new
Map
<
number
,
MainThreadCommentingRanges
>
();
private
readonly
_threads
:
Map
<
number
,
MainThreadCommentThread
>
=
new
Map
<
number
,
MainThreadCommentThread
>
();
private
readonly
_commentingRanges
:
Map
<
number
,
MainThreadCommentingRanges
>
=
new
Map
<
number
,
MainThreadCommentingRanges
>
();
constructor
(
private
_proxy
:
ExtHostCommentsShape
,
private
_commentService
:
ICommentService
,
private
_handle
:
number
,
private
_id
:
string
,
private
_label
:
string
private
readonly
_proxy
:
ExtHostCommentsShape
,
private
readonly
_commentService
:
ICommentService
,
private
readonly
_handle
:
number
,
private
readonly
_id
:
string
,
private
readonly
_label
:
string
)
{
}
createCommentThread
(
commentThreadHandle
:
number
,
threadId
:
string
,
resource
:
UriComponents
,
range
:
IRange
,
comments
:
modes
.
Comment
[],
commands
:
modes
.
Command
[],
collapseState
:
modes
.
CommentThreadCollapsibleState
):
modes
.
CommentThread2
{
...
...
@@ -331,7 +331,7 @@ export class MainThreadCommentControl {
export
class
MainThreadComments
extends
Disposable
implements
MainThreadCommentsShape
{
private
_disposables
:
IDisposable
[];
private
_activeCommentThreadDisposables
:
IDisposable
[];
private
_proxy
:
ExtHostCommentsShape
;
private
readonly
_proxy
:
ExtHostCommentsShape
;
private
_documentProviders
=
new
Map
<
number
,
IDisposable
>
();
private
_workspaceProviders
=
new
Map
<
number
,
IDisposable
>
();
private
_handlers
=
new
Map
<
number
,
string
>
();
...
...
src/vs/workbench/api/electron-browser/mainThreadDebugService.ts
浏览文件 @
aef80e80
...
...
@@ -19,15 +19,15 @@ import { convertToVSCPaths, convertToDAPaths } from 'vs/workbench/contrib/debug/
@
extHostNamedCustomer
(
MainContext
.
MainThreadDebugService
)
export
class
MainThreadDebugService
implements
MainThreadDebugServiceShape
,
IDebugAdapterFactory
{
private
_proxy
:
ExtHostDebugServiceShape
;
private
readonly
_proxy
:
ExtHostDebugServiceShape
;
private
_toDispose
:
IDisposable
[];
private
_breakpointEventsActive
:
boolean
;
private
_debugAdapters
:
Map
<
number
,
ExtensionHostDebugAdapter
>
;
private
readonly
_debugAdapters
:
Map
<
number
,
ExtensionHostDebugAdapter
>
;
private
_debugAdaptersHandleCounter
=
1
;
private
_debugConfigurationProviders
:
Map
<
number
,
IDebugConfigurationProvider
>
;
private
_debugAdapterDescriptorFactories
:
Map
<
number
,
IDebugAdapterDescriptorFactory
>
;
private
_debugAdapterTrackerFactories
:
Map
<
number
,
IDebugAdapterTrackerFactory
>
;
private
_sessions
:
Set
<
DebugSessionUUID
>
;
private
readonly
_debugConfigurationProviders
:
Map
<
number
,
IDebugConfigurationProvider
>
;
private
readonly
_debugAdapterDescriptorFactories
:
Map
<
number
,
IDebugAdapterDescriptorFactory
>
;
private
readonly
_debugAdapterTrackerFactories
:
Map
<
number
,
IDebugAdapterTrackerFactory
>
;
private
readonly
_sessions
:
Set
<
DebugSessionUUID
>
;
constructor
(
extHostContext
:
IExtHostContext
,
...
...
@@ -343,7 +343,7 @@ export class MainThreadDebugService implements MainThreadDebugServiceShape, IDeb
*/
class
ExtensionHostDebugAdapter
extends
AbstractDebugAdapter
{
constructor
(
private
_ds
:
MainThreadDebugService
,
private
_handle
:
number
,
private
_proxy
:
ExtHostDebugServiceShape
,
private
_session
:
IDebugSession
)
{
constructor
(
private
readonly
_ds
:
MainThreadDebugService
,
private
_handle
:
number
,
private
_proxy
:
ExtHostDebugServiceShape
,
private
_session
:
IDebugSession
)
{
super
();
}
...
...
src/vs/workbench/api/electron-browser/mainThreadDecorations.ts
浏览文件 @
aef80e80
...
...
@@ -21,7 +21,7 @@ class DecorationRequestsQueue {
private
_timer
:
any
;
constructor
(
private
_proxy
:
ExtHostDecorationsShape
private
readonly
_proxy
:
ExtHostDecorationsShape
)
{
//
}
...
...
src/vs/workbench/api/electron-browser/mainThreadDocuments.ts
浏览文件 @
aef80e80
...
...
@@ -24,8 +24,8 @@ export class BoundModelReferenceCollection {
private
_length
=
0
;
constructor
(
private
_maxAge
:
number
=
1000
*
60
*
3
,
private
_maxLength
:
number
=
1024
*
1024
*
80
private
readonly
_maxAge
:
number
=
1000
*
60
*
3
,
private
readonly
_maxLength
:
number
=
1024
*
1024
*
80
)
{
//
}
...
...
@@ -64,16 +64,16 @@ export class BoundModelReferenceCollection {
export
class
MainThreadDocuments
implements
MainThreadDocumentsShape
{
private
_modelService
:
IModelService
;
private
_textModelResolverService
:
ITextModelService
;
private
_textFileService
:
ITextFileService
;
private
_fileService
:
IFileService
;
private
_untitledEditorService
:
IUntitledEditorService
;
private
readonly
_modelService
:
IModelService
;
private
readonly
_textModelResolverService
:
ITextModelService
;
private
readonly
_textFileService
:
ITextFileService
;
private
readonly
_fileService
:
IFileService
;
private
readonly
_untitledEditorService
:
IUntitledEditorService
;
private
_toDispose
:
IDisposable
[];
private
_modelToDisposeMap
:
{
[
modelUrl
:
string
]:
IDisposable
;
};
private
_proxy
:
ExtHostDocumentsShape
;
private
_modelIsSynced
:
{
[
modelId
:
string
]:
boolean
;
};
private
readonly
_proxy
:
ExtHostDocumentsShape
;
private
readonly
_modelIsSynced
:
{
[
modelId
:
string
]:
boolean
;
};
private
_modelReferenceCollection
=
new
BoundModelReferenceCollection
();
constructor
(
...
...
src/vs/workbench/api/electron-browser/mainThreadDocumentsAndEditors.ts
浏览文件 @
aef80e80
...
...
@@ -304,8 +304,8 @@ class MainThreadDocumentAndEditorStateComputer {
export
class
MainThreadDocumentsAndEditors
{
private
_toDispose
:
IDisposable
[];
private
_proxy
:
ExtHostDocumentsAndEditorsShape
;
private
_stateComputer
:
MainThreadDocumentAndEditorStateComputer
;
private
readonly
_proxy
:
ExtHostDocumentsAndEditorsShape
;
private
readonly
_stateComputer
:
MainThreadDocumentAndEditorStateComputer
;
private
_textEditors
=
<
{
[
id
:
string
]:
MainThreadTextEditor
}
>
Object
.
create
(
null
);
private
_onTextEditorAdd
=
new
Emitter
<
MainThreadTextEditor
[]
>
();
...
...
src/vs/workbench/api/electron-browser/mainThreadEditor.ts
浏览文件 @
aef80e80
...
...
@@ -181,12 +181,12 @@ export class MainThreadTextEditorProperties {
*/
export
class
MainThreadTextEditor
{
private
_id
:
string
;
private
readonly
_id
:
string
;
private
_model
:
ITextModel
;
private
_modelService
:
IModelService
;
private
readonly
_modelService
:
IModelService
;
private
_modelListeners
:
IDisposable
[];
private
_codeEditor
:
ICodeEditor
|
null
;
private
_focusTracker
:
IFocusTracker
;
private
readonly
_focusTracker
:
IFocusTracker
;
private
_codeEditorListeners
:
IDisposable
[];
private
_properties
:
MainThreadTextEditorProperties
;
...
...
src/vs/workbench/api/electron-browser/mainThreadEditors.ts
浏览文件 @
aef80e80
...
...
@@ -31,9 +31,9 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
private
static
INSTANCE_COUNT
:
number
=
0
;
private
_instanceId
:
string
;
private
_proxy
:
ExtHostEditorsShape
;
private
_documentsAndEditors
:
MainThreadDocumentsAndEditors
;
private
readonly
_instanceId
:
string
;
private
readonly
_proxy
:
ExtHostEditorsShape
;
private
readonly
_documentsAndEditors
:
MainThreadDocumentsAndEditors
;
private
_toDispose
:
IDisposable
[];
private
_textEditorsListenersMap
:
{
[
editorId
:
string
]:
IDisposable
[];
};
private
_editorPositionData
:
ITextEditorPositionData
|
null
;
...
...
src/vs/workbench/api/electron-browser/mainThreadHeapService.ts
浏览文件 @
aef80e80
...
...
@@ -96,7 +96,7 @@ export class HeapService implements IHeapService {
@
extHostCustomer
export
class
MainThreadHeapService
{
private
_toDispose
:
IDisposable
;
private
readonly
_toDispose
:
IDisposable
;
constructor
(
extHostContext
:
IExtHostContext
,
...
...
src/vs/workbench/api/electron-browser/mainThreadLanguageFeatures.ts
浏览文件 @
aef80e80
...
...
@@ -26,10 +26,10 @@ import { ExtensionIdentifier } from 'vs/platform/extensions/common/extensions';
@
extHostNamedCustomer
(
MainContext
.
MainThreadLanguageFeatures
)
export
class
MainThreadLanguageFeatures
implements
MainThreadLanguageFeaturesShape
{
private
_proxy
:
ExtHostLanguageFeaturesShape
;
private
_heapService
:
IHeapService
;
private
_modeService
:
IModeService
;
private
_registrations
:
{
[
handle
:
number
]:
IDisposable
;
}
=
Object
.
create
(
null
);
private
readonly
_proxy
:
ExtHostLanguageFeaturesShape
;
private
readonly
_heapService
:
IHeapService
;
private
readonly
_modeService
:
IModeService
;
private
readonly
_registrations
:
{
[
handle
:
number
]:
IDisposable
;
}
=
Object
.
create
(
null
);
constructor
(
extHostContext
:
IExtHostContext
,
...
...
src/vs/workbench/api/electron-browser/mainThreadOutputService.ts
浏览文件 @
aef80e80
...
...
@@ -18,7 +18,7 @@ export class MainThreadOutputService extends Disposable implements MainThreadOut
private
static
_idPool
=
1
;
private
_proxy
:
ExtHostOutputServiceShape
;
private
readonly
_proxy
:
ExtHostOutputServiceShape
;
private
readonly
_outputService
:
IOutputService
;
private
readonly
_partService
:
IPartService
;
private
readonly
_panelService
:
IPanelService
;
...
...
src/vs/workbench/api/electron-browser/mainThreadProgress.ts
浏览文件 @
aef80e80
...
...
@@ -10,9 +10,9 @@ import { extHostNamedCustomer } from 'vs/workbench/api/electron-browser/extHostC
@
extHostNamedCustomer
(
MainContext
.
MainThreadProgress
)
export
class
MainThreadProgress
implements
MainThreadProgressShape
{
private
_progressService
:
IProgressService2
;
private
readonly
_progressService
:
IProgressService2
;
private
_progress
=
new
Map
<
number
,
{
resolve
:
()
=>
void
,
progress
:
IProgress
<
IProgressStep
>
}
>
();
private
_proxy
:
ExtHostProgressShape
;
private
readonly
_proxy
:
ExtHostProgressShape
;
constructor
(
extHostContext
:
IExtHostContext
,
...
...
src/vs/workbench/api/electron-browser/mainThreadQuickOpen.ts
浏览文件 @
aef80e80
...
...
@@ -18,9 +18,9 @@ interface QuickInputSession {
@
extHostNamedCustomer
(
MainContext
.
MainThreadQuickOpen
)
export
class
MainThreadQuickOpen
implements
MainThreadQuickOpenShape
{
private
_proxy
:
ExtHostQuickOpenShape
;
private
_quickInputService
:
IQuickInputService
;
private
_items
:
Record
<
number
,
{
private
readonly
_proxy
:
ExtHostQuickOpenShape
;
private
readonly
_quickInputService
:
IQuickInputService
;
private
readonly
_items
:
Record
<
number
,
{
resolve
(
items
:
TransferQuickPickItems
[]):
void
;
reject
(
error
:
Error
):
void
;
}
>
=
{};
...
...
src/vs/workbench/api/electron-browser/mainThreadSCM.ts
浏览文件 @
aef80e80
...
...
@@ -27,8 +27,8 @@ class MainThreadSCMResourceGroup implements ISCMResourceGroup {
get
onDidChange
():
Event
<
void
>
{
return
this
.
_onDidChange
.
event
;
}
constructor
(
private
sourceControlHandle
:
number
,
private
handle
:
number
,
private
readonly
sourceControlHandle
:
number
,
private
readonly
handle
:
number
,
public
provider
:
ISCMProvider
,
public
features
:
SCMGroupFeatures
,
public
label
:
string
,
...
...
@@ -62,10 +62,10 @@ class MainThreadSCMResourceGroup implements ISCMResourceGroup {
class
MainThreadSCMResource
implements
ISCMResource
{
constructor
(
private
proxy
:
ExtHostSCMShape
,
private
sourceControlHandle
:
number
,
private
groupHandle
:
number
,
private
handle
:
number
,
private
readonly
proxy
:
ExtHostSCMShape
,
private
readonly
sourceControlHandle
:
number
,
private
readonly
groupHandle
:
number
,
private
readonly
handle
:
number
,
public
sourceUri
:
URI
,
public
resourceGroup
:
ISCMResourceGroup
,
public
decorations
:
ISCMResourceDecorations
...
...
@@ -92,7 +92,7 @@ class MainThreadSCMProvider implements ISCMProvider {
get
id
():
string
{
return
this
.
_id
;
}
readonly
groups
=
new
Sequence
<
MainThreadSCMResourceGroup
>
();
private
_groupsByHandle
:
{
[
handle
:
number
]:
MainThreadSCMResourceGroup
;
}
=
Object
.
create
(
null
);
private
readonly
_groupsByHandle
:
{
[
handle
:
number
]:
MainThreadSCMResourceGroup
;
}
=
Object
.
create
(
null
);
// get groups(): ISequence<ISCMResourceGroup> {
// return {
...
...
@@ -129,11 +129,11 @@ class MainThreadSCMProvider implements ISCMProvider {
get
onDidChange
():
Event
<
void
>
{
return
this
.
_onDidChange
.
event
;
}
constructor
(
private
proxy
:
ExtHostSCMShape
,
private
_handle
:
number
,
private
_contextValue
:
string
,
private
_label
:
string
,
private
_rootUri
:
URI
|
undefined
,
private
readonly
proxy
:
ExtHostSCMShape
,
private
readonly
_handle
:
number
,
private
readonly
_contextValue
:
string
,
private
readonly
_label
:
string
,
private
readonly
_rootUri
:
URI
|
undefined
,
@
ISCMService
scmService
:
ISCMService
)
{
}
...
...
@@ -265,7 +265,7 @@ class MainThreadSCMProvider implements ISCMProvider {
@
extHostNamedCustomer
(
MainContext
.
MainThreadSCM
)
export
class
MainThreadSCM
implements
MainThreadSCMShape
{
private
_proxy
:
ExtHostSCMShape
;
private
readonly
_proxy
:
ExtHostSCMShape
;
private
_repositories
:
{
[
handle
:
number
]:
ISCMRepository
;
}
=
Object
.
create
(
null
);
private
_inputDisposables
:
{
[
handle
:
number
]:
IDisposable
;
}
=
Object
.
create
(
null
);
private
_disposables
:
IDisposable
[]
=
[];
...
...
src/vs/workbench/api/electron-browser/mainThreadSaveParticipant.ts
浏览文件 @
aef80e80
...
...
@@ -367,7 +367,7 @@ class CodeActionOnSaveParticipant implements ISaveParticipant {
class
ExtHostSaveParticipant
implements
ISaveParticipantParticipant
{
private
_proxy
:
ExtHostDocumentSaveParticipantShape
;
private
readonly
_proxy
:
ExtHostDocumentSaveParticipantShape
;
constructor
(
extHostContext
:
IExtHostContext
)
{
this
.
_proxy
=
extHostContext
.
getProxy
(
ExtHostContext
.
ExtHostDocumentSaveParticipant
);
...
...
src/vs/workbench/api/electron-browser/mainThreadStorage.ts
浏览文件 @
aef80e80
...
...
@@ -11,10 +11,10 @@ import { IDisposable } from 'vs/base/common/lifecycle';
@
extHostNamedCustomer
(
MainContext
.
MainThreadStorage
)
export
class
MainThreadStorage
implements
MainThreadStorageShape
{
private
_storageService
:
IStorageService
;
private
_proxy
:
ExtHostStorageShape
;
private
_storageListener
:
IDisposable
;
private
_sharedStorageKeysToWatch
:
Map
<
string
,
boolean
>
=
new
Map
<
string
,
boolean
>
();
private
readonly
_storageService
:
IStorageService
;
private
readonly
_proxy
:
ExtHostStorageShape
;
private
readonly
_storageListener
:
IDisposable
;
private
readonly
_sharedStorageKeysToWatch
:
Map
<
string
,
boolean
>
=
new
Map
<
string
,
boolean
>
();
constructor
(
extHostContext
:
IExtHostContext
,
...
...
src/vs/workbench/api/electron-browser/mainThreadTask.ts
浏览文件 @
aef80e80
...
...
@@ -382,9 +382,9 @@ namespace TaskFilterDTO {
@
extHostNamedCustomer
(
MainContext
.
MainThreadTask
)
export
class
MainThreadTask
implements
MainThreadTaskShape
{
private
_extHostContext
:
IExtHostContext
;
private
_proxy
:
ExtHostTaskShape
;
private
_providers
:
Map
<
number
,
{
disposable
:
IDisposable
,
provider
:
ITaskProvider
}
>
;
private
readonly
_extHostContext
:
IExtHostContext
;
private
readonly
_proxy
:
ExtHostTaskShape
;
private
readonly
_providers
:
Map
<
number
,
{
disposable
:
IDisposable
,
provider
:
ITaskProvider
}
>
;
constructor
(
extHostContext
:
IExtHostContext
,
...
...
src/vs/workbench/api/electron-browser/mainThreadTreeViews.ts
浏览文件 @
aef80e80
...
...
@@ -15,8 +15,8 @@ import { IMarkdownString } from 'vs/base/common/htmlContent';
@
extHostNamedCustomer
(
MainContext
.
MainThreadTreeViews
)
export
class
MainThreadTreeViews
extends
Disposable
implements
MainThreadTreeViewsShape
{
private
_proxy
:
ExtHostTreeViewsShape
;
private
_dataProviders
:
Map
<
string
,
TreeViewDataProvider
>
=
new
Map
<
string
,
TreeViewDataProvider
>
();
private
readonly
_proxy
:
ExtHostTreeViewsShape
;
private
readonly
_dataProviders
:
Map
<
string
,
TreeViewDataProvider
>
=
new
Map
<
string
,
TreeViewDataProvider
>
();
constructor
(
extHostContext
:
IExtHostContext
,
...
...
@@ -133,11 +133,11 @@ type TreeItemHandle = string;
class
TreeViewDataProvider
implements
ITreeViewDataProvider
{
private
itemsMap
:
Map
<
TreeItemHandle
,
ITreeItem
>
=
new
Map
<
TreeItemHandle
,
ITreeItem
>
();
private
readonly
itemsMap
:
Map
<
TreeItemHandle
,
ITreeItem
>
=
new
Map
<
TreeItemHandle
,
ITreeItem
>
();
constructor
(
private
treeViewId
:
string
,
private
_proxy
:
ExtHostTreeViewsShape
,
private
notificationService
:
INotificationService
constructor
(
private
readonly
treeViewId
:
string
,
private
readonly
_proxy
:
ExtHostTreeViewsShape
,
private
readonly
notificationService
:
INotificationService
)
{
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录