Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
0a5289e9
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,发现更多精彩内容 >>
提交
0a5289e9
编写于
3月 08, 2019
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
debt - declarative request service
上级
4df729ad
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
11 addition
and
16 deletion
+11
-16
src/vs/platform/contextview/browser/contextViewService.ts
src/vs/platform/contextview/browser/contextViewService.ts
+1
-4
src/vs/platform/extensionManagement/node/extensionGalleryService.ts
...tform/extensionManagement/node/extensionGalleryService.ts
+1
-4
src/vs/workbench/electron-browser/workbench.ts
src/vs/workbench/electron-browser/workbench.ts
+0
-5
src/vs/workbench/workbench.main.ts
src/vs/workbench/workbench.main.ts
+9
-3
未找到文件。
src/vs/platform/contextview/browser/contextViewService.ts
浏览文件 @
0a5289e9
...
...
@@ -7,7 +7,6 @@ import { IContextViewService, IContextViewDelegate } from './contextView';
import
{
ContextView
}
from
'
vs/base/browser/ui/contextview/contextview
'
;
import
{
Disposable
}
from
'
vs/base/common/lifecycle
'
;
import
{
ILayoutService
}
from
'
vs/platform/layout/browser/layoutService
'
;
import
{
registerSingleton
}
from
'
vs/platform/instantiation/common/extensions
'
;
export
class
ContextViewService
extends
Disposable
implements
IContextViewService
{
_serviceBrand
:
any
;
...
...
@@ -42,6 +41,4 @@ export class ContextViewService extends Disposable implements IContextViewServic
hideContextView
(
data
?:
any
):
void
{
this
.
contextView
.
hide
(
data
);
}
}
registerSingleton
(
IContextViewService
,
ContextViewService
,
true
);
\ No newline at end of file
}
\ No newline at end of file
src/vs/platform/extensionManagement/node/extensionGalleryService.ts
浏览文件 @
0a5289e9
...
...
@@ -25,7 +25,6 @@ import { values } from 'vs/base/common/map';
import
{
CancellationToken
}
from
'
vs/base/common/cancellation
'
;
import
{
ILogService
}
from
'
vs/platform/log/common/log
'
;
import
{
IExtensionManifest
}
from
'
vs/platform/extensions/common/extensions
'
;
import
{
registerSingleton
}
from
'
vs/platform/instantiation/common/extensions
'
;
interface
IRawGalleryExtensionFile
{
assetType
:
string
;
...
...
@@ -855,6 +854,4 @@ export function resolveMarketplaceHeaders(environmentService: IEnvironmentServic
'
X-Market-User-Id
'
:
uuid
};
});
}
registerSingleton
(
IExtensionGalleryService
,
ExtensionGalleryService
,
true
);
\ No newline at end of file
}
\ No newline at end of file
src/vs/workbench/electron-browser/workbench.ts
浏览文件 @
0a5289e9
...
...
@@ -76,7 +76,6 @@ import { connect as connectNet } from 'vs/base/parts/ipc/node/ipc.net';
import
{
DialogChannel
}
from
'
vs/platform/dialogs/node/dialogIpc
'
;
import
{
TelemetryAppenderClient
}
from
'
vs/platform/telemetry/node/telemetryIpc
'
;
import
{
resolveWorkbenchCommonProperties
}
from
'
vs/platform/telemetry/node/workbenchCommonProperties
'
;
import
{
IRequestService
}
from
'
vs/platform/request/node/request
'
;
import
{
IRemoteAgentService
}
from
'
vs/workbench/services/remote/node/remoteAgentService
'
;
import
{
DownloadServiceChannel
}
from
'
vs/platform/download/node/downloadIpc
'
;
import
{
LogLevelSetterChannel
}
from
'
vs/platform/log/node/logIpc
'
;
...
...
@@ -90,7 +89,6 @@ import { LifecycleService } from 'vs/platform/lifecycle/electron-browser/lifecyc
import
{
WindowService
}
from
'
vs/platform/windows/electron-browser/windowService
'
;
import
{
RemoteAuthorityResolverService
}
from
'
vs/platform/remote/electron-browser/remoteAuthorityResolverService
'
;
import
{
RemoteAgentService
}
from
'
vs/workbench/services/remote/electron-browser/remoteAgentServiceImpl
'
;
import
{
RequestService
}
from
'
vs/platform/request/electron-browser/requestService
'
;
import
{
IStatusbarService
}
from
'
vs/platform/statusbar/common/statusbar
'
;
import
{
IActivityBarService
}
from
'
vs/workbench/services/activityBar/browser/activityBarService
'
;
...
...
@@ -338,9 +336,6 @@ export class Workbench extends Disposable implements IWorkbenchLayoutService {
// Lifecycle
serviceCollection
.
set
(
ILifecycleService
,
new
SyncDescriptor
(
LifecycleService
));
// Request Service
serviceCollection
.
set
(
IRequestService
,
new
SyncDescriptor
(
RequestService
,
undefined
,
true
));
// Remote Resolver
serviceCollection
.
set
(
IRemoteAuthorityResolverService
,
new
SyncDescriptor
(
RemoteAuthorityResolverService
,
undefined
,
true
));
...
...
src/vs/workbench/workbench.main.ts
浏览文件 @
0a5289e9
...
...
@@ -62,8 +62,13 @@ import { ITextResourceConfigurationService } from 'vs/editor/common/services/res
import
{
TextResourceConfigurationService
}
from
'
vs/editor/common/services/resourceConfigurationImpl
'
;
import
{
IAccessibilityService
}
from
'
vs/platform/accessibility/common/accessibility
'
;
import
{
AccessibilityService
}
from
'
vs/platform/accessibility/node/accessibilityService
'
;
import
{
IExtensionEnablementService
}
from
'
vs/platform/extensionManagement/common/extensionManagement
'
;
import
{
IExtensionEnablementService
,
IExtensionGalleryService
}
from
'
vs/platform/extensionManagement/common/extensionManagement
'
;
import
{
ExtensionEnablementService
}
from
'
vs/platform/extensionManagement/common/extensionEnablementService
'
;
import
{
IContextViewService
}
from
'
vs/platform/contextview/browser/contextView
'
;
import
{
ContextViewService
}
from
'
vs/platform/contextview/browser/contextViewService
'
;
import
{
ExtensionGalleryService
}
from
'
vs/platform/extensionManagement/node/extensionGalleryService
'
;
import
{
IRequestService
}
from
'
vs/platform/request/node/request
'
;
import
{
RequestService
}
from
'
vs/platform/request/electron-browser/requestService
'
;
import
'
vs/workbench/services/bulkEdit/browser/bulkEditService
'
;
import
'
vs/workbench/services/integrity/node/integrityService
'
;
...
...
@@ -98,9 +103,7 @@ import 'vs/workbench/services/commands/common/commandService';
import
'
vs/workbench/services/themes/browser/workbenchThemeService
'
;
import
'
vs/workbench/services/extensions/electron-browser/extensionService
'
;
import
'
vs/workbench/services/contextmenu/electron-browser/contextmenuService
'
;
import
'
vs/platform/contextview/browser/contextViewService
'
;
import
'
vs/workbench/services/extensionManagement/node/multiExtensionManagement
'
;
import
'
vs/platform/extensionManagement/node/extensionGalleryService
'
;
registerSingleton
(
IMenuService
,
MenuService
,
true
);
registerSingleton
(
IListService
,
ListService
,
true
);
...
...
@@ -115,6 +118,9 @@ registerSingleton(IModelService, ModelServiceImpl, true);
registerSingleton
(
ITextResourceConfigurationService
,
TextResourceConfigurationService
);
registerSingleton
(
IAccessibilityService
,
AccessibilityService
,
true
);
registerSingleton
(
IExtensionEnablementService
,
ExtensionEnablementService
,
true
);
registerSingleton
(
IContextViewService
,
ContextViewService
,
true
);
registerSingleton
(
IExtensionGalleryService
,
ExtensionGalleryService
,
true
);
registerSingleton
(
IRequestService
,
RequestService
,
true
);
//#endregion
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录