Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
1e82a6c1
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,发现更多精彩内容 >>
提交
1e82a6c1
编写于
7月 19, 2018
作者:
A
Alex Dima
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improve type declarations
上级
8d9db180
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
13 addition
and
22 deletion
+13
-22
src/vs/base/parts/quickopen/browser/quickOpenModel.ts
src/vs/base/parts/quickopen/browser/quickOpenModel.ts
+2
-1
src/vs/editor/browser/widget/diffEditorWidget.ts
src/vs/editor/browser/widget/diffEditorWidget.ts
+4
-9
src/vs/editor/common/services/editorSimpleWorker.ts
src/vs/editor/common/services/editorSimpleWorker.ts
+2
-2
src/vs/editor/standalone/browser/standaloneCodeEditor.ts
src/vs/editor/standalone/browser/standaloneCodeEditor.ts
+5
-5
src/vs/editor/standalone/browser/standaloneServices.ts
src/vs/editor/standalone/browser/standaloneServices.ts
+0
-5
未找到文件。
src/vs/base/parts/quickopen/browser/quickOpenModel.ts
浏览文件 @
1e82a6c1
...
...
@@ -501,7 +501,8 @@ export class QuickOpenModel implements
IModel
<
QuickOpenEntry
>
,
IDataSource
<
QuickOpenEntry
>
,
IFilter
<
QuickOpenEntry
>
,
IRunner
<
QuickOpenEntry
>
IRunner
<
QuickOpenEntry
>
,
IAccessiblityProvider
<
QuickOpenEntry
>
{
private
_entries
:
QuickOpenEntry
[];
private
_dataSource
:
IDataSource
<
QuickOpenEntry
>
;
...
...
src/vs/editor/browser/widget/diffEditorWidget.ts
浏览文件 @
1e82a6c1
...
...
@@ -1177,7 +1177,7 @@ interface IDataSource {
getModifiedEditor
():
editorBrowser
.
ICodeEditor
;
}
abstract
class
DiffEditorWidgetStyle
extends
Disposable
{
abstract
class
DiffEditorWidgetStyle
extends
Disposable
implements
IDiffEditorWidgetStyle
{
_dataSource
:
IDataSource
;
_insertColor
:
Color
;
...
...
@@ -1228,6 +1228,9 @@ abstract class DiffEditorWidgetStyle extends Disposable {
protected
abstract
_getViewZones
(
lineChanges
:
editorCommon
.
ILineChange
[],
originalForeignVZ
:
IEditorWhitespace
[],
modifiedForeignVZ
:
IEditorWhitespace
[],
originalEditor
:
editorBrowser
.
ICodeEditor
,
modifiedEditor
:
editorBrowser
.
ICodeEditor
,
renderIndicators
:
boolean
):
IEditorsZones
;
protected
abstract
_getOriginalEditorDecorations
(
lineChanges
:
editorCommon
.
ILineChange
[],
ignoreTrimWhitespace
:
boolean
,
renderIndicators
:
boolean
,
originalEditor
:
editorBrowser
.
ICodeEditor
,
modifiedEditor
:
editorBrowser
.
ICodeEditor
):
IEditorDiffDecorations
;
protected
abstract
_getModifiedEditorDecorations
(
lineChanges
:
editorCommon
.
ILineChange
[],
ignoreTrimWhitespace
:
boolean
,
renderIndicators
:
boolean
,
originalEditor
:
editorBrowser
.
ICodeEditor
,
modifiedEditor
:
editorBrowser
.
ICodeEditor
):
IEditorDiffDecorations
;
public
abstract
setEnableSplitViewResizing
(
enableSplitViewResizing
:
boolean
):
void
;
public
abstract
layout
():
number
;
}
interface
IMyViewZone
extends
editorBrowser
.
IViewZone
{
...
...
@@ -1529,10 +1532,6 @@ class DiffEdtorWidgetSideBySide extends DiffEditorWidgetStyle implements IDiffEd
this
.
_sash
.
onDidReset
(()
=>
this
.
onSashReset
());
}
public
dispose
():
void
{
super
.
dispose
();
}
public
setEnableSplitViewResizing
(
enableSplitViewResizing
:
boolean
):
void
{
let
newDisableSash
=
(
enableSplitViewResizing
===
false
);
if
(
this
.
_disableSash
!==
newDisableSash
)
{
...
...
@@ -1778,10 +1777,6 @@ class DiffEdtorWidgetInline extends DiffEditorWidgetStyle implements IDiffEditor
}));
}
public
dispose
():
void
{
super
.
dispose
();
}
public
setEnableSplitViewResizing
(
enableSplitViewResizing
:
boolean
):
void
{
// Nothing to do..
}
...
...
src/vs/editor/common/services/editorSimpleWorker.ts
浏览文件 @
1e82a6c1
...
...
@@ -16,7 +16,7 @@ import * as editorCommon from 'vs/editor/common/editorCommon';
import
{
Position
,
IPosition
}
from
'
vs/editor/common/core/position
'
;
import
{
MirrorTextModel
as
BaseMirrorModel
,
IModelChangedEvent
}
from
'
vs/editor/common/model/mirrorTextModel
'
;
import
{
IInplaceReplaceSupportResult
,
ILink
,
ISuggestResult
,
ISuggestion
,
TextEdit
}
from
'
vs/editor/common/modes
'
;
import
{
computeLinks
}
from
'
vs/editor/common/modes/linkComputer
'
;
import
{
computeLinks
,
ILinkComputerTarget
}
from
'
vs/editor/common/modes/linkComputer
'
;
import
{
BasicInplaceReplace
}
from
'
vs/editor/common/modes/supports/inplaceReplaceSupport
'
;
import
{
getWordAtText
,
ensureValidWordDefinition
}
from
'
vs/editor/common/model/wordHelper
'
;
import
{
createMonacoBaseAPI
}
from
'
vs/editor/common/standalone/standaloneBase
'
;
...
...
@@ -50,7 +50,7 @@ export interface IRawModelData {
/**
* @internal
*/
export
interface
ICommonModel
{
export
interface
ICommonModel
extends
ILinkComputerTarget
,
IMirrorModel
{
uri
:
URI
;
version
:
number
;
eol
:
string
;
...
...
src/vs/editor/standalone/browser/standaloneCodeEditor.ts
浏览文件 @
1e82a6c1
...
...
@@ -17,7 +17,7 @@ import { ITextModel } from 'vs/editor/common/model';
import
{
ICodeEditorService
}
from
'
vs/editor/browser/services/codeEditorService
'
;
import
{
IEditorWorkerService
}
from
'
vs/editor/common/services/editorWorkerService
'
;
import
{
StandaloneKeybindingService
,
applyConfigurationValues
}
from
'
vs/editor/standalone/browser/simpleServices
'
;
import
{
IEditorContextViewService
}
from
'
vs/editor/standalone/browser/standaloneServices
'
;
import
{
ContextViewService
}
from
'
vs/platform/contextview/browser/contextViewService
'
;
import
{
CodeEditorWidget
}
from
'
vs/editor/browser/widget/codeEditorWidget
'
;
import
{
DiffEditorWidget
}
from
'
vs/editor/browser/widget/diffEditorWidget
'
;
import
{
ICodeEditor
,
IDiffEditor
}
from
'
vs/editor/browser/editorBrowser
'
;
...
...
@@ -284,7 +284,7 @@ export class StandaloneCodeEditor extends CodeEditorWidget implements IStandalon
export
class
StandaloneEditor
extends
StandaloneCodeEditor
implements
IStandaloneCodeEditor
{
private
_contextViewService
:
IEditor
ContextViewService
;
private
_contextViewService
:
ContextViewService
;
private
readonly
_configurationService
:
IConfigurationService
;
private
_ownsModel
:
boolean
;
...
...
@@ -311,7 +311,7 @@ export class StandaloneEditor extends StandaloneCodeEditor implements IStandalon
delete
options
.
model
;
super
(
domElement
,
options
,
instantiationService
,
codeEditorService
,
commandService
,
contextKeyService
,
keybindingService
,
themeService
,
notificationService
);
this
.
_contextViewService
=
<
IEditor
ContextViewService
>
contextViewService
;
this
.
_contextViewService
=
<
ContextViewService
>
contextViewService
;
this
.
_configurationService
=
configurationService
;
this
.
_register
(
toDispose
);
...
...
@@ -359,7 +359,7 @@ export class StandaloneEditor extends StandaloneCodeEditor implements IStandalon
export
class
StandaloneDiffEditor
extends
DiffEditorWidget
implements
IStandaloneDiffEditor
{
private
_contextViewService
:
IEditor
ContextViewService
;
private
_contextViewService
:
ContextViewService
;
private
readonly
_configurationService
:
IConfigurationService
;
constructor
(
...
...
@@ -384,7 +384,7 @@ export class StandaloneDiffEditor extends DiffEditorWidget implements IStandalon
super
(
domElement
,
options
,
editorWorkerService
,
contextKeyService
,
instantiationService
,
codeEditorService
,
themeService
,
notificationService
);
this
.
_contextViewService
=
<
IEditor
ContextViewService
>
contextViewService
;
this
.
_contextViewService
=
<
ContextViewService
>
contextViewService
;
this
.
_configurationService
=
configurationService
;
this
.
_register
(
toDispose
);
...
...
src/vs/editor/standalone/browser/standaloneServices.ts
浏览文件 @
1e82a6c1
...
...
@@ -45,11 +45,6 @@ import { IDialogService } from 'vs/platform/dialogs/common/dialogs';
import
{
IListService
,
ListService
}
from
'
vs/platform/list/browser/listService
'
;
import
{
IBulkEditService
}
from
'
vs/editor/browser/services/bulkEditService
'
;
export
interface
IEditorContextViewService
extends
IContextViewService
{
dispose
():
void
;
setContainer
(
domNode
:
HTMLElement
):
void
;
}
export
interface
IEditorOverrideServices
{
[
index
:
string
]:
any
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录