Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
acd6a190
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,发现更多精彩内容 >>
提交
acd6a190
编写于
12月 21, 2015
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
debt: move extHostStatusBar to common
上级
b2cbd89d
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
16 addition
and
17 deletion
+16
-17
src/vs/workbench/api/browser/extHost.api.impl.ts
src/vs/workbench/api/browser/extHost.api.impl.ts
+1
-1
src/vs/workbench/api/common/extHostDocuments.ts
src/vs/workbench/api/common/extHostDocuments.ts
+0
-1
src/vs/workbench/api/common/extHostStatusBar.ts
src/vs/workbench/api/common/extHostStatusBar.ts
+5
-7
src/vs/workbench/browser/parts/statusbar/statusbar.ts
src/vs/workbench/browser/parts/statusbar/statusbar.ts
+2
-3
src/vs/workbench/browser/parts/statusbar/statusbarPart.ts
src/vs/workbench/browser/parts/statusbar/statusbarPart.ts
+1
-1
src/vs/workbench/browser/workbench.ts
src/vs/workbench/browser/workbench.ts
+1
-1
src/vs/workbench/electron-browser/shell.ts
src/vs/workbench/electron-browser/shell.ts
+1
-1
src/vs/workbench/services/message/browser/messageService.ts
src/vs/workbench/services/message/browser/messageService.ts
+1
-1
src/vs/workbench/services/statusbar/common/statusbarService.ts
...s/workbench/services/statusbar/common/statusbarService.ts
+4
-1
未找到文件。
src/vs/workbench/api/browser/extHost.api.impl.ts
浏览文件 @
acd6a190
...
...
@@ -14,7 +14,7 @@ import {ExtHostConfiguration} from 'vs/workbench/api/common/extHostConfiguration
import
{
ExtHostDiagnostics
}
from
'
vs/workbench/api/common/extHostDiagnostics
'
;
import
{
ExtHostWorkspace
}
from
'
vs/workbench/api/common/extHostWorkspace
'
;
import
{
ExtHostQuickOpen
}
from
'
vs/workbench/api/browser/extHostQuickOpen
'
;
import
{
ExtHostStatusBar
}
from
'
vs/workbench/api/
browser
/extHostStatusBar
'
;
import
{
ExtHostStatusBar
}
from
'
vs/workbench/api/
common
/extHostStatusBar
'
;
import
{
ExtHostCommands
}
from
'
vs/workbench/api/common/extHostCommands
'
;
import
{
ExtHostOutputService
}
from
'
vs/workbench/api/common/extHostOutputService
'
;
import
{
ExtHostMessageService
}
from
'
vs/workbench/api/common/extHostMessageService
'
;
...
...
src/vs/workbench/api/common/extHostDocuments.ts
浏览文件 @
acd6a190
...
...
@@ -23,7 +23,6 @@ import * as vscode from 'vscode';
import
{
WordHelper
}
from
'
vs/editor/common/model/textModelWithTokensHelpers
'
;
import
{
IFileService
}
from
'
vs/platform/files/common/files
'
;
import
{
IUntitledEditorService
}
from
'
vs/workbench/services/untitled/browser/untitledEditorService
'
;
import
{
UntitledEditorModel
}
from
'
vs/workbench/browser/parts/editor/untitledEditorModel
'
;
export
interface
IModelAddedData
{
url
:
URI
;
...
...
src/vs/workbench/api/
browser
/extHostStatusBar.ts
→
src/vs/workbench/api/
common
/extHostStatusBar.ts
浏览文件 @
acd6a190
...
...
@@ -4,12 +4,10 @@
*--------------------------------------------------------------------------------------------*/
'
use strict
'
;
import
{
TPromise
}
from
'
vs/base/common/winjs.base
'
;
import
{
Remotable
,
IThreadService
}
from
'
vs/platform/thread/common/thread
'
;
import
{
IStatusbarService
}
from
'
vs/workbench/services/statusbar/statusbarService
'
;
import
{
IDisposable
,
disposeAll
}
from
'
vs/base/common/lifecycle
'
;
import
{
StatusbarAlignment
as
MainThreadStatusBarAlignment
}
from
'
vs/workbench/browser/parts/statusbar/statusbar
'
;
import
{
StatusBarAlignment
as
ExtHostStatusBarAlignment
,
Disposable
}
from
'
../common/extHostTypes
'
;
import
{
IStatusbarService
,
StatusbarAlignment
as
MainThreadStatusBarAlignment
}
from
'
vs/workbench/services/statusbar/common/statusbarService
'
;
import
{
IDisposable
}
from
'
vs/base/common/lifecycle
'
;
import
{
StatusBarAlignment
as
ExtHostStatusBarAlignment
,
Disposable
}
from
'
./extHostTypes
'
;
import
{
StatusBarItem
,
StatusBarAlignment
}
from
'
vscode
'
;
export
class
ExtHostStatusBarEntry
implements
StatusBarItem
{
...
...
@@ -123,7 +121,7 @@ export class ExtHostStatusBarEntry implements StatusBarItem {
class
StatusBarMessage
{
private
_item
:
StatusBarItem
;
private
_messages
:
{
message
:
string
}[]
=
[];
private
_messages
:
{
message
:
string
}[]
=
[];
constructor
(
statusBar
:
ExtHostStatusBar
)
{
this
.
_item
=
statusBar
.
createStatusBarEntry
(
ExtHostStatusBarAlignment
.
Left
,
Number
.
MIN_VALUE
);
...
...
@@ -192,7 +190,7 @@ export class ExtHostStatusBar {
@
Remotable
.
MainContext
(
'
MainThreadStatusBar
'
)
export
class
MainThreadStatusBar
{
private
mapIdToDisposable
:
{
[
id
:
number
]:
IDisposable
};
private
mapIdToDisposable
:
{
[
id
:
number
]:
IDisposable
};
constructor
(
@
IStatusbarService
private
statusbarService
:
IStatusbarService
...
...
src/vs/workbench/browser/parts/statusbar/statusbar.ts
浏览文件 @
acd6a190
...
...
@@ -6,6 +6,7 @@
import
{
Registry
}
from
'
vs/platform/platform
'
;
import
{
IDisposable
}
from
'
vs/base/common/lifecycle
'
;
import
statusbarService
=
require
(
'
vs/workbench/services/statusbar/common/statusbarService
'
);
import
{
SyncDescriptor0
,
createSyncDescriptor
}
from
'
vs/platform/instantiation/common/descriptors
'
;
import
{
INewConstructorSignature0
}
from
'
vs/platform/instantiation/common/instantiation
'
;
...
...
@@ -13,9 +14,7 @@ export interface IStatusbarItem {
render
(
element
:
HTMLElement
):
IDisposable
;
}
export
enum
StatusbarAlignment
{
LEFT
,
RIGHT
}
export
import
StatusbarAlignment
=
statusbarService
.
StatusbarAlignment
;
export
class
StatusbarItemDescriptor
{
...
...
src/vs/workbench/browser/parts/statusbar/statusbarPart.ts
浏览文件 @
acd6a190
...
...
@@ -23,7 +23,7 @@ import {StatusbarAlignment, IStatusbarRegistry, Extensions, IStatusbarItem} from
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
ITelemetryService
}
from
'
vs/platform/telemetry/common/telemetry
'
;
import
{
IMessageService
,
Severity
}
from
'
vs/platform/message/common/message
'
;
import
{
IStatusbarService
,
IStatusbarEntry
}
from
'
vs/workbench/services/statusbar/statusbarService
'
;
import
{
IStatusbarService
,
IStatusbarEntry
}
from
'
vs/workbench/services/statusbar/
common/
statusbarService
'
;
export
class
StatusbarPart
extends
Part
implements
IStatusbarService
{
...
...
src/vs/workbench/browser/workbench.ts
浏览文件 @
acd6a190
...
...
@@ -59,7 +59,7 @@ import {ITelemetryService} from 'vs/platform/telemetry/common/telemetry';
import
{
IThreadService
}
from
'
vs/platform/thread/common/thread
'
;
import
{
IPluginService
}
from
'
vs/platform/plugins/common/plugins
'
;
import
{
AbstractThreadService
}
from
'
vs/platform/thread/common/abstractThreadService
'
;
import
{
IStatusbarService
}
from
'
vs/workbench/services/statusbar/statusbarService
'
;
import
{
IStatusbarService
}
from
'
vs/workbench/services/statusbar/
common/
statusbarService
'
;
interface
WorkbenchParams
{
workspace
?:
IWorkspace
;
...
...
src/vs/workbench/electron-browser/shell.ts
浏览文件 @
acd6a190
...
...
@@ -58,7 +58,7 @@ import {JSONValidationExtensionPoint} from 'vs/platform/jsonschemas/common/jsonV
import
{
LanguageConfigurationFileHandler
}
from
'
vs/editor/node/languageConfiguration
'
;
import
{
MainThreadFileSystemEventService
}
from
'
vs/workbench/api/common/extHostFileSystemEventService
'
;
import
{
MainThreadQuickOpen
}
from
'
vs/workbench/api/browser/extHostQuickOpen
'
;
import
{
MainThreadStatusBar
}
from
'
vs/workbench/api/
browser
/extHostStatusBar
'
;
import
{
MainThreadStatusBar
}
from
'
vs/workbench/api/
common
/extHostStatusBar
'
;
import
{
MainThreadCommands
}
from
'
vs/workbench/api/common/extHostCommands
'
;
import
{
RemoteTelemetryServiceHelper
}
from
'
vs/platform/telemetry/common/abstractRemoteTelemetryService
'
;
import
{
MainThreadDiagnostics
}
from
'
vs/workbench/api/common/extHostDiagnostics
'
;
...
...
src/vs/workbench/services/message/browser/messageService.ts
浏览文件 @
acd6a190
...
...
@@ -14,7 +14,7 @@ import {IMessageService, IMessageWithAction, IConfirmation, Severity} from 'vs/p
import
{
ITelemetryService
}
from
'
vs/platform/telemetry/common/telemetry
'
;
import
{
IKeybindingService
,
IKeybindingContextKey
}
from
'
vs/platform/keybinding/common/keybindingService
'
;
import
{
IQuickOpenService
}
from
'
vs/workbench/services/quickopen/browser/quickOpenService
'
;
import
{
IStatusbarService
}
from
'
vs/workbench/services/statusbar/statusbarService
'
;
import
{
IStatusbarService
}
from
'
vs/workbench/services/statusbar/
common/
statusbarService
'
;
interface
IBufferedMessage
{
severity
:
Severity
;
...
...
src/vs/workbench/services/statusbar/statusbarService.ts
→
src/vs/workbench/services/statusbar/
common/
statusbarService.ts
浏览文件 @
acd6a190
...
...
@@ -6,11 +6,14 @@
'
use strict
'
;
import
{
createDecorator
,
ServiceIdentifier
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
StatusbarAlignment
}
from
'
vs/workbench/browser/parts/statusbar/statusbar
'
;
import
{
IDisposable
}
from
'
vs/base/common/lifecycle
'
;
export
var
IStatusbarService
=
createDecorator
<
IStatusbarService
>
(
'
statusbarService
'
);
export
enum
StatusbarAlignment
{
LEFT
,
RIGHT
}
/**
* A declarative way of describing a status bar entry
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录