Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
d6a66ba9
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,发现更多精彩内容 >>
提交
d6a66ba9
编写于
4月 22, 2016
作者:
J
Johannes Rieken
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
debt - AsyncDescriptor is AsyncDescriptor0
上级
92085e6d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
7 deletion
+5
-7
src/vs/platform/actions/common/actions.ts
src/vs/platform/actions/common/actions.ts
+1
-1
src/vs/platform/instantiation/common/descriptors.ts
src/vs/platform/instantiation/common/descriptors.ts
+2
-2
src/vs/platform/instantiation/common/instantiation.ts
src/vs/platform/instantiation/common/instantiation.ts
+0
-2
src/vs/workbench/services/editor/browser/editorService.ts
src/vs/workbench/services/editor/browser/editorService.ts
+2
-2
未找到文件。
src/vs/platform/actions/common/actions.ts
浏览文件 @
d6a66ba9
...
...
@@ -75,7 +75,7 @@ export class DeferredAction extends Actions.Action {
private
_cachedAction
:
Actions
.
IAction
;
private
_emitterUnbind
:
EventEmitter
.
ListenerUnbind
;
constructor
(
private
_instantiationService
:
Instantiation
.
IInstantiationService
,
private
_descriptor
:
Descriptors
.
AsyncDescriptor
<
Actions
.
Action
>
,
constructor
(
private
_instantiationService
:
Instantiation
.
IInstantiationService
,
private
_descriptor
:
Descriptors
.
AsyncDescriptor
0
<
Actions
.
Action
>
,
id
:
string
,
label
=
''
,
cssClass
=
''
,
enabled
=
true
)
{
super
(
id
,
label
,
cssClass
,
enabled
);
...
...
src/vs/platform/instantiation/common/descriptors.ts
浏览文件 @
d6a66ba9
...
...
@@ -188,7 +188,7 @@ export interface SyncDescriptor8<A1, A2, A3, A4, A5, A6, A7, A8, T> {
bind
(
a1
:
A1
,
a2
:
A2
,
a3
:
A3
,
a4
:
A4
,
a5
:
A5
,
a6
:
A6
,
a7
:
A7
,
a8
:
A8
):
SyncDescriptor0
<
T
>
;
}
export
class
AsyncDescriptor
<
T
>
extends
AbstractDescriptor
<
T
>
implements
objects
.
IEqualable
{
export
class
AsyncDescriptor
<
T
>
extends
AbstractDescriptor
<
T
>
implements
AsyncDescriptor0
<
T
>
,
objects
.
IEqualable
{
public
static
create
<
T
>
(
moduleName
:
string
,
ctorName
:
string
):
AsyncDescriptor
<
T
>
{
return
new
AsyncDescriptor
<
T
>
(
moduleName
,
ctorName
);
...
...
@@ -220,7 +220,7 @@ export class AsyncDescriptor<T> extends AbstractDescriptor<T> implements objects
(
<
AsyncDescriptor
<
any
>>
other
).
ctorName
===
this
.
ctorName
;
}
protected
bind
(...
moreStaticArguments
):
AsyncDescriptor
<
T
>
{
bind
(...
moreStaticArguments
):
AsyncDescriptor
<
T
>
{
let
allArgs
=
[];
allArgs
=
allArgs
.
concat
(
this
.
staticArguments
());
allArgs
=
allArgs
.
concat
(
moreStaticArguments
);
...
...
src/vs/platform/instantiation/common/instantiation.ts
浏览文件 @
d6a66ba9
...
...
@@ -142,8 +142,6 @@ export interface IInstantiationService {
createInstance
<
A1
,
A2
,
A3
,
A4
,
A5
,
A6
,
A7
,
T
>
(
descriptor
:
descriptors
.
AsyncDescriptor7
<
A1
,
A2
,
A3
,
A4
,
A5
,
A6
,
A7
,
T
>
,
a1
:
A1
,
a2
:
A2
,
a3
:
A3
,
a4
:
A4
,
a5
:
A5
,
a6
:
A6
,
a7
:
A7
):
TPromise
<
T
>
;
createInstance
<
A1
,
A2
,
A3
,
A4
,
A5
,
A6
,
A7
,
A8
,
T
>
(
descriptor
:
descriptors
.
AsyncDescriptor8
<
A1
,
A2
,
A3
,
A4
,
A5
,
A6
,
A7
,
A8
,
T
>
,
a1
:
A1
,
a2
:
A2
,
a3
:
A3
,
a4
:
A4
,
a5
:
A5
,
a6
:
A6
,
a7
:
A7
,
a8
:
A8
):
TPromise
<
T
>
;
createInstance
<
T
>
(
descriptor
:
descriptors
.
AsyncDescriptor
<
T
>
,
...
args
:
any
[]):
TPromise
<
T
>
;
/**
*
*/
...
...
src/vs/workbench/services/editor/browser/editorService.ts
浏览文件 @
d6a66ba9
...
...
@@ -22,7 +22,7 @@ import {IUntitledEditorService} from 'vs/workbench/services/untitled/common/unti
import
{
IWorkbenchEditorService
,
EditorArrangement
}
from
'
vs/workbench/services/editor/common/editorService
'
;
import
{
IEditorInput
,
IEditorModel
,
IEditorOptions
,
Position
,
IEditor
,
IResourceInput
,
ITextEditorModel
}
from
'
vs/platform/editor/common/editor
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
AsyncDescriptor
}
from
'
vs/platform/instantiation/common/descriptors
'
;
import
{
AsyncDescriptor
0
}
from
'
vs/platform/instantiation/common/descriptors
'
;
export
interface
IEditorPart
{
setEditors
(
inputs
:
EditorInput
[],
options
?:
EditorOptions
[]):
TPromise
<
BaseEditor
[]
>
;
...
...
@@ -41,7 +41,7 @@ export class WorkbenchEditorService implements IWorkbenchEditorService {
public
serviceId
=
IWorkbenchEditorService
;
private
editorPart
:
IEditorPart
;
private
fileInputDescriptor
:
AsyncDescriptor
<
IFileEditorInput
>
;
private
fileInputDescriptor
:
AsyncDescriptor
0
<
IFileEditorInput
>
;
constructor
(
editorPart
:
IEditorPart
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录