Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
徽霖
Vscode
提交
511a9054
V
Vscode
项目概览
徽霖
/
Vscode
通知
9
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,发现更多精彩内容 >>
提交
511a9054
编写于
2月 12, 2019
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
debt - use our paths lib over node
上级
6e71414c
变更
47
隐藏空白更改
内联
并排
Showing
47 changed file
with
47 addition
and
47 deletion
+47
-47
src/vs/base/test/node/config.test.ts
src/vs/base/test/node/config.test.ts
+1
-1
src/vs/base/test/node/console.test.ts
src/vs/base/test/node/console.test.ts
+1
-1
src/vs/base/test/node/extfs/extfs.test.ts
src/vs/base/test/node/extfs/extfs.test.ts
+1
-1
src/vs/base/test/node/glob.test.ts
src/vs/base/test/node/glob.test.ts
+1
-1
src/vs/base/test/node/pfs.test.ts
src/vs/base/test/node/pfs.test.ts
+1
-1
src/vs/base/test/node/storage/storage.test.ts
src/vs/base/test/node/storage/storage.test.ts
+1
-1
src/vs/base/test/node/utils.ts
src/vs/base/test/node/utils.ts
+1
-1
src/vs/code/electron-main/app.ts
src/vs/code/electron-main/app.ts
+1
-1
src/vs/code/electron-main/logUploader.ts
src/vs/code/electron-main/logUploader.ts
+1
-1
src/vs/code/electron-main/window.ts
src/vs/code/electron-main/window.ts
+1
-1
src/vs/code/electron-main/windows.ts
src/vs/code/electron-main/windows.ts
+1
-1
src/vs/code/test/electron-main/windowsStateStorage.test.ts
src/vs/code/test/electron-main/windowsStateStorage.test.ts
+1
-1
src/vs/code/test/node/windowsFinder.test.ts
src/vs/code/test/node/windowsFinder.test.ts
+1
-1
src/vs/platform/backup/electron-main/backupMainService.ts
src/vs/platform/backup/electron-main/backupMainService.ts
+1
-1
src/vs/platform/backup/test/electron-main/backupMainService.test.ts
...tform/backup/test/electron-main/backupMainService.test.ts
+1
-1
src/vs/platform/configuration/test/node/configurationService.test.ts
...form/configuration/test/node/configurationService.test.ts
+1
-1
src/vs/platform/diagnostics/electron-main/diagnosticsService.ts
.../platform/diagnostics/electron-main/diagnosticsService.ts
+1
-1
src/vs/platform/environment/test/node/environmentService.test.ts
...platform/environment/test/node/environmentService.test.ts
+1
-1
src/vs/platform/extensionManagement/test/node/extensionGalleryService.test.ts
...nsionManagement/test/node/extensionGalleryService.test.ts
+1
-1
src/vs/platform/history/test/electron-main/historyStorage.test.ts
...latform/history/test/electron-main/historyStorage.test.ts
+1
-1
src/vs/platform/node/test/zip.test.ts
src/vs/platform/node/test/zip.test.ts
+1
-1
src/vs/platform/state/test/node/state.test.ts
src/vs/platform/state/test/node/state.test.ts
+1
-1
src/vs/platform/storage/test/node/storageService.test.ts
src/vs/platform/storage/test/node/storageService.test.ts
+1
-1
src/vs/platform/telemetry/test/electron-browser/commonProperties.test.ts
.../telemetry/test/electron-browser/commonProperties.test.ts
+1
-1
src/vs/platform/theme/test/electron-browser/colorRegistry.releaseTest.ts
.../theme/test/electron-browser/colorRegistry.releaseTest.ts
+1
-1
src/vs/platform/update/electron-main/updateService.linux.ts
src/vs/platform/update/electron-main/updateService.linux.ts
+1
-1
src/vs/platform/update/electron-main/updateService.snap.ts
src/vs/platform/update/electron-main/updateService.snap.ts
+1
-1
src/vs/platform/update/electron-main/updateService.win32.ts
src/vs/platform/update/electron-main/updateService.win32.ts
+1
-1
src/vs/platform/workspaces/electron-main/workspacesMainService.ts
...latform/workspaces/electron-main/workspacesMainService.ts
+1
-1
src/vs/platform/workspaces/test/electron-main/workspacesMainService.test.ts
...rkspaces/test/electron-main/workspacesMainService.test.ts
+1
-1
src/vs/workbench/contrib/extensions/test/electron-browser/extensionsTipsService.test.ts
...sions/test/electron-browser/extensionsTipsService.test.ts
+1
-1
src/vs/workbench/contrib/tasks/electron-browser/terminalTaskSystem.ts
...ench/contrib/tasks/electron-browser/terminalTaskSystem.ts
+1
-1
src/vs/workbench/contrib/terminal/test/electron-browser/terminalLinkHandler.test.ts
...erminal/test/electron-browser/terminalLinkHandler.test.ts
+1
-1
src/vs/workbench/services/backup/test/electron-browser/backupFileService.test.ts
...es/backup/test/electron-browser/backupFileService.test.ts
+1
-1
src/vs/workbench/services/configuration/test/electron-browser/configurationEditingService.test.ts
...test/electron-browser/configurationEditingService.test.ts
+1
-1
src/vs/workbench/services/configuration/test/electron-browser/configurationService.test.ts
...ration/test/electron-browser/configurationService.test.ts
+1
-1
src/vs/workbench/services/files/node/watcher/unix/test/chockidarWatcherService.test.ts
...es/node/watcher/unix/test/chockidarWatcherService.test.ts
+1
-1
src/vs/workbench/services/files/test/electron-browser/fileService.test.ts
.../services/files/test/electron-browser/fileService.test.ts
+1
-1
src/vs/workbench/services/files/test/electron-browser/resolver.test.ts
...nch/services/files/test/electron-browser/resolver.test.ts
+1
-1
src/vs/workbench/services/keybinding/test/electron-browser/keybindingEditing.test.ts
...eybinding/test/electron-browser/keybindingEditing.test.ts
+1
-1
src/vs/workbench/services/keybinding/test/keyboardMapperTestUtils.ts
...bench/services/keybinding/test/keyboardMapperTestUtils.ts
+1
-1
src/vs/workbench/services/search/test/node/rawSearchService.test.ts
...kbench/services/search/test/node/rawSearchService.test.ts
+1
-1
src/vs/workbench/services/search/test/node/search.test.ts
src/vs/workbench/services/search/test/node/search.test.ts
+1
-1
src/vs/workbench/services/search/test/node/textSearch.integrationTest.ts
...h/services/search/test/node/textSearch.integrationTest.ts
+1
-1
src/vs/workbench/test/electron-browser/api/extHostWorkspace.test.ts
...kbench/test/electron-browser/api/extHostWorkspace.test.ts
+1
-1
src/vs/workbench/test/electron-browser/quickopen.perf.integrationTest.ts
...h/test/electron-browser/quickopen.perf.integrationTest.ts
+1
-1
src/vs/workbench/test/electron-browser/textsearch.perf.integrationTest.ts
.../test/electron-browser/textsearch.perf.integrationTest.ts
+1
-1
未找到文件。
src/vs/base/test/node/config.test.ts
浏览文件 @
511a9054
...
...
@@ -6,7 +6,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
uuid
from
'
vs/base/common/uuid
'
;
import
{
ConfigWatcher
}
from
'
vs/base/node/config
'
;
...
...
src/vs/base/test/node/console.test.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
*
as
assert
from
'
assert
'
;
import
{
getFirstFrame
}
from
'
vs/base/node/console
'
;
import
{
normalize
}
from
'
path
'
;
import
{
normalize
}
from
'
vs/base/common/paths.node
'
;
suite
(
'
Console
'
,
()
=>
{
...
...
src/vs/base/test/node/extfs/extfs.test.ts
浏览文件 @
511a9054
...
...
@@ -6,7 +6,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
Readable
}
from
'
stream
'
;
import
{
canNormalize
}
from
'
vs/base/common/normalization
'
;
import
{
isLinux
,
isWindows
}
from
'
vs/base/common/platform
'
;
...
...
src/vs/base/test/node/glob.test.ts
浏览文件 @
511a9054
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
glob
from
'
vs/base/common/glob
'
;
import
{
isWindows
}
from
'
vs/base/common/platform
'
;
...
...
src/vs/base/test/node/pfs.test.ts
浏览文件 @
511a9054
...
...
@@ -6,7 +6,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
uuid
from
'
vs/base/common/uuid
'
;
...
...
src/vs/base/test/node/storage/storage.test.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
{
Storage
,
SQLiteStorageDatabase
,
IStorageDatabase
,
ISQLiteStorageDatabaseOptions
,
IStorageItemsChangeEvent
}
from
'
vs/base/node/storage
'
;
import
{
generateUuid
}
from
'
vs/base/common/uuid
'
;
import
{
join
}
from
'
path
'
;
import
{
join
}
from
'
vs/base/common/paths.node
'
;
import
{
tmpdir
}
from
'
os
'
;
import
{
equal
,
ok
}
from
'
assert
'
;
import
{
mkdirp
,
del
,
writeFile
,
exists
,
unlink
}
from
'
vs/base/node/pfs
'
;
...
...
src/vs/base/test/node/utils.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
{
generateUuid
}
from
'
vs/base/common/uuid
'
;
import
{
join
}
from
'
path
'
;
import
{
join
}
from
'
vs/base/common/paths.node
'
;
import
{
tmpdir
}
from
'
os
'
;
import
{
mkdirp
,
del
}
from
'
vs/base/node/pfs
'
;
...
...
src/vs/code/electron-main/app.ts
浏览文件 @
511a9054
...
...
@@ -65,7 +65,7 @@ import { registerContextMenuListener } from 'vs/base/parts/contextmenu/electron-
import
{
storeBackgroundColor
}
from
'
vs/code/electron-main/theme
'
;
import
{
join
}
from
'
vs/base/common/paths
'
;
import
{
homedir
}
from
'
os
'
;
import
{
sep
}
from
'
path
'
;
import
{
sep
}
from
'
vs/base/common/paths.node
'
;
import
{
localize
}
from
'
vs/nls
'
;
import
{
REMOTE_HOST_SCHEME
}
from
'
vs/platform/remote/common/remoteHosts
'
;
import
{
REMOTE_FILE_SYSTEM_CHANNEL_NAME
}
from
'
vs/platform/remote/node/remoteAgentFileSystemChannel
'
;
...
...
src/vs/code/electron-main/logUploader.ts
浏览文件 @
511a9054
...
...
@@ -6,8 +6,8 @@
import
*
as
os
from
'
os
'
;
import
*
as
cp
from
'
child_process
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
localize
}
from
'
vs/nls
'
;
import
product
from
'
vs/platform/node/product
'
;
import
{
IRequestService
}
from
'
vs/platform/request/node/request
'
;
...
...
src/vs/code/electron-main/window.ts
浏览文件 @
511a9054
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
objects
from
'
vs/base/common/objects
'
;
import
*
as
nls
from
'
vs/nls
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
...
...
src/vs/code/electron-main/windows.ts
浏览文件 @
511a9054
...
...
@@ -3,8 +3,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
{
basename
,
normalize
,
join
,
dirname
}
from
'
path
'
;
import
*
as
fs
from
'
fs
'
;
import
{
basename
,
normalize
,
join
,
dirname
}
from
'
vs/base/common/paths.node
'
;
import
{
localize
}
from
'
vs/nls
'
;
import
*
as
arrays
from
'
vs/base/common/arrays
'
;
import
{
assign
,
mixin
,
equals
}
from
'
vs/base/common/objects
'
;
...
...
src/vs/code/test/electron-main/windowsStateStorage.test.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
restoreWindowsState
,
getWindowsStateStoreData
}
from
'
vs/code/electron-main/windowsStateStorage
'
;
import
{
IWindowState
as
IWindowUIState
,
WindowMode
}
from
'
vs/platform/windows/electron-main/windows
'
;
...
...
src/vs/code/test/node/windowsFinder.test.ts
浏览文件 @
511a9054
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
findBestWindowOrFolderForFile
,
ISimpleWindow
,
IBestWindowOrFolderOptions
}
from
'
vs/code/node/windowsFinder
'
;
import
{
OpenContext
}
from
'
vs/platform/windows/common/windows
'
;
import
{
IWorkspaceIdentifier
}
from
'
vs/platform/workspaces/common/workspaces
'
;
...
...
src/vs/platform/backup/electron-main/backupMainService.ts
浏览文件 @
511a9054
...
...
@@ -4,8 +4,8 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
fs
from
'
fs
'
;
import
*
as
path
from
'
path
'
;
import
*
as
crypto
from
'
crypto
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
platform
from
'
vs/base/common/platform
'
;
import
{
writeFileAndFlushSync
}
from
'
vs/base/node/extfs
'
;
import
*
as
arrays
from
'
vs/base/common/arrays
'
;
...
...
src/vs/platform/backup/test/electron-main/backupMainService.test.ts
浏览文件 @
511a9054
...
...
@@ -7,7 +7,7 @@ import * as assert from 'assert';
import
*
as
platform
from
'
vs/base/common/platform
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
pfs
from
'
vs/base/node/pfs
'
;
import
{
URI
as
Uri
,
URI
}
from
'
vs/base/common/uri
'
;
import
{
EnvironmentService
}
from
'
vs/platform/environment/node/environmentService
'
;
...
...
src/vs/platform/configuration/test/node/configurationService.test.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
fs
from
'
fs
'
;
import
{
Registry
}
from
'
vs/platform/registry/common/platform
'
;
...
...
src/vs/platform/diagnostics/electron-main/diagnosticsService.ts
浏览文件 @
511a9054
...
...
@@ -13,7 +13,7 @@ import { virtualMachineHint } from 'vs/base/node/id';
import
{
repeat
,
pad
}
from
'
vs/base/common/strings
'
;
import
{
isWindows
}
from
'
vs/base/common/platform
'
;
import
{
app
}
from
'
electron
'
;
import
{
basename
}
from
'
path
'
;
import
{
basename
}
from
'
vs/base/common/paths.node
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
import
{
createDecorator
}
from
'
vs/platform/instantiation/common/instantiation
'
;
...
...
src/vs/platform/environment/test/node/environmentService.test.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
parseArgs
}
from
'
vs/platform/environment/node/argv
'
;
import
{
parseExtensionHostPort
,
parseUserDataDir
}
from
'
vs/platform/environment/node/environmentService
'
;
...
...
src/vs/platform/extensionManagement/test/node/extensionGalleryService.test.ts
浏览文件 @
511a9054
...
...
@@ -9,7 +9,7 @@ import * as extfs from 'vs/base/node/extfs';
import
{
EnvironmentService
}
from
'
vs/platform/environment/node/environmentService
'
;
import
{
parseArgs
}
from
'
vs/platform/environment/node/argv
'
;
import
{
getRandomTestPath
}
from
'
vs/workbench/test/workbenchTestServices
'
;
import
{
join
}
from
'
path
'
;
import
{
join
}
from
'
vs/base/common/paths.node
'
;
import
{
mkdirp
}
from
'
vs/base/node/pfs
'
;
import
{
resolveMarketplaceHeaders
}
from
'
vs/platform/extensionManagement/node/extensionGalleryService
'
;
import
{
isUUID
}
from
'
vs/base/common/uuid
'
;
...
...
src/vs/platform/history/test/electron-main/historyStorage.test.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
IWorkspaceIdentifier
}
from
'
vs/platform/workspaces/common/workspaces
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
...
...
src/vs/platform/node/test/zip.test.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
os
from
'
os
'
;
import
{
extract
}
from
'
vs/platform/node/zip
'
;
import
{
generateUuid
}
from
'
vs/base/common/uuid
'
;
...
...
src/vs/platform/state/test/node/state.test.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
extfs
from
'
vs/base/node/extfs
'
;
import
{
getRandomTestPath
}
from
'
vs/workbench/test/workbenchTestServices
'
;
import
{
FileStorage
}
from
'
vs/platform/state/node/stateService
'
;
...
...
src/vs/platform/storage/test/node/storageService.test.ts
浏览文件 @
511a9054
...
...
@@ -8,7 +8,7 @@ import { StorageScope } from 'vs/platform/storage/common/storage';
import
{
TestStorageService
}
from
'
vs/workbench/test/workbenchTestServices
'
;
import
{
StorageService
}
from
'
vs/platform/storage/node/storageService
'
;
import
{
generateUuid
}
from
'
vs/base/common/uuid
'
;
import
{
join
}
from
'
path
'
;
import
{
join
}
from
'
vs/base/common/paths.node
'
;
import
{
tmpdir
}
from
'
os
'
;
import
{
mkdirp
,
del
}
from
'
vs/base/node/pfs
'
;
import
{
NullLogService
}
from
'
vs/platform/log/common/log
'
;
...
...
src/vs/platform/telemetry/test/electron-browser/commonProperties.test.ts
浏览文件 @
511a9054
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
os
from
'
os
'
;
import
*
as
fs
from
'
fs
'
;
import
{
resolveWorkbenchCommonProperties
}
from
'
vs/platform/telemetry/node/workbenchCommonProperties
'
;
...
...
src/vs/platform/theme/test/electron-browser/colorRegistry.releaseTest.ts
浏览文件 @
511a9054
...
...
@@ -14,7 +14,7 @@ import { buttonBackground } from 'vs/workbench/contrib/welcome/page/electron-bro
import
{
embeddedEditorBackground
}
from
'
vs/workbench/contrib/welcome/walkThrough/electron-browser/walkThroughPart
'
;
import
{
request
,
asText
}
from
'
vs/base/node/request
'
;
import
*
as
pfs
from
'
vs/base/node/pfs
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
assert
from
'
assert
'
;
import
{
getPathFromAmdModule
}
from
'
vs/base/common/amd
'
;
import
{
CancellationToken
}
from
'
vs/base/common/cancellation
'
;
...
...
src/vs/platform/update/electron-main/updateService.linux.ts
浏览文件 @
511a9054
...
...
@@ -15,7 +15,7 @@ import { createUpdateURL, AbstractUpdateService } from 'vs/platform/update/elect
import
{
asJson
}
from
'
vs/base/node/request
'
;
import
{
shell
}
from
'
electron
'
;
import
{
CancellationToken
}
from
'
vs/base/common/cancellation
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
spawn
}
from
'
child_process
'
;
import
{
realpath
}
from
'
fs
'
;
...
...
src/vs/platform/update/electron-main/updateService.snap.ts
浏览文件 @
511a9054
...
...
@@ -9,7 +9,7 @@ import { ILifecycleService } from 'vs/platform/lifecycle/electron-main/lifecycle
import
{
IUpdateService
,
State
,
StateType
,
AvailableForDownload
,
UpdateType
}
from
'
vs/platform/update/common/update
'
;
import
{
IEnvironmentService
}
from
'
vs/platform/environment/common/environment
'
;
import
{
ILogService
}
from
'
vs/platform/log/common/log
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
realpath
,
watch
}
from
'
fs
'
;
import
{
spawn
}
from
'
child_process
'
;
import
{
ITelemetryService
}
from
'
vs/platform/telemetry/common/telemetry
'
;
...
...
src/vs/platform/update/electron-main/updateService.win32.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
fs
from
'
fs
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
pfs
from
'
vs/base/node/pfs
'
;
import
{
memoize
}
from
'
vs/base/common/decorators
'
;
import
{
IConfigurationService
}
from
'
vs/platform/configuration/common/configuration
'
;
...
...
src/vs/platform/workspaces/electron-main/workspacesMainService.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
{
IWorkspacesMainService
,
IWorkspaceIdentifier
,
hasWorkspaceFileExtension
,
UNTITLED_WORKSPACE_NAME
,
IResolvedWorkspace
,
IStoredWorkspaceFolder
,
isStoredWorkspaceFolder
,
IWorkspaceFolderCreationData
,
massageFolderPathForWorkspace
,
rewriteWorkspaceFileForNewLocation
}
from
'
vs/platform/workspaces/common/workspaces
'
;
import
{
IEnvironmentService
}
from
'
vs/platform/environment/common/environment
'
;
import
{
join
,
dirname
}
from
'
path
'
;
import
{
join
,
dirname
}
from
'
vs/base/common/paths.node
'
;
import
{
mkdirp
,
writeFile
,
readFile
}
from
'
vs/base/node/pfs
'
;
import
{
readFileSync
,
existsSync
,
mkdirSync
,
writeFileSync
}
from
'
fs
'
;
import
{
isLinux
}
from
'
vs/base/common/platform
'
;
...
...
src/vs/platform/workspaces/test/electron-main/workspacesMainService.test.ts
浏览文件 @
511a9054
...
...
@@ -6,7 +6,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
extfs
from
'
vs/base/node/extfs
'
;
import
*
as
pfs
from
'
vs/base/node/pfs
'
;
import
{
EnvironmentService
}
from
'
vs/platform/environment/node/environmentService
'
;
...
...
src/vs/workbench/contrib/extensions/test/electron-browser/extensionsTipsService.test.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
*
as
sinon
from
'
sinon
'
;
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
os
from
'
os
'
;
import
*
as
uuid
from
'
vs/base/common/uuid
'
;
...
...
src/vs/workbench/contrib/tasks/electron-browser/terminalTaskSystem.ts
浏览文件 @
511a9054
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
nls
from
'
vs/nls
'
;
import
*
as
Objects
from
'
vs/base/common/objects
'
;
...
...
src/vs/workbench/contrib/terminal/test/electron-browser/terminalLinkHandler.test.ts
浏览文件 @
511a9054
...
...
@@ -7,7 +7,7 @@ import * as assert from 'assert';
import
{
Platform
}
from
'
vs/base/common/platform
'
;
import
{
TerminalLinkHandler
,
LineColumnInfo
}
from
'
vs/workbench/contrib/terminal/electron-browser/terminalLinkHandler
'
;
import
*
as
strings
from
'
vs/base/common/strings
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
sinon
from
'
sinon
'
;
class
TestTerminalLinkHandler
extends
TerminalLinkHandler
{
...
...
src/vs/workbench/services/backup/test/electron-browser/backupFileService.test.ts
浏览文件 @
511a9054
...
...
@@ -7,7 +7,7 @@ import * as assert from 'assert';
import
*
as
platform
from
'
vs/base/common/platform
'
;
import
*
as
os
from
'
os
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
pfs
from
'
vs/base/node/pfs
'
;
import
{
URI
as
Uri
}
from
'
vs/base/common/uri
'
;
import
{
BackupFileService
,
BackupFilesModel
,
hashPath
}
from
'
vs/workbench/services/backup/node/backupFileService
'
;
...
...
src/vs/workbench/services/configuration/test/electron-browser/configurationEditingService.test.ts
浏览文件 @
511a9054
...
...
@@ -6,7 +6,7 @@
import
*
as
sinon
from
'
sinon
'
;
import
*
as
assert
from
'
assert
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
json
from
'
vs/base/common/json
'
;
import
{
Registry
}
from
'
vs/platform/registry/common/platform
'
;
...
...
src/vs/workbench/services/configuration/test/electron-browser/configurationService.test.ts
浏览文件 @
511a9054
...
...
@@ -6,7 +6,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
sinon
from
'
sinon
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
os
from
'
os
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
import
{
Registry
}
from
'
vs/platform/registry/common/platform
'
;
...
...
src/vs/workbench/services/files/node/watcher/unix/test/chockidarWatcherService.test.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
pfs
from
'
vs/base/node/pfs
'
;
import
{
normalizeRoots
,
ChokidarWatcherService
}
from
'
../chokidarWatcherService
'
;
...
...
src/vs/workbench/services/files/test/electron-browser/fileService.test.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
fs
from
'
fs
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
os
from
'
os
'
;
import
*
as
assert
from
'
assert
'
;
import
{
FileService
}
from
'
vs/workbench/services/files/electron-browser/fileService
'
;
...
...
src/vs/workbench/services/files/test/electron-browser/resolver.test.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
fs
from
'
fs
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
assert
from
'
assert
'
;
import
{
StatResolver
}
from
'
vs/workbench/services/files/electron-browser/fileService
'
;
...
...
src/vs/workbench/services/keybinding/test/electron-browser/keybindingEditing.test.ts
浏览文件 @
511a9054
...
...
@@ -6,7 +6,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
fs
from
'
fs
'
;
import
*
as
os
from
'
os
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
*
as
json
from
'
vs/base/common/json
'
;
import
{
ChordKeybinding
,
KeyCode
,
SimpleKeybinding
}
from
'
vs/base/common/keyCodes
'
;
import
{
OS
}
from
'
vs/base/common/platform
'
;
...
...
src/vs/workbench/services/keybinding/test/keyboardMapperTestUtils.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
getPathFromAmdModule
}
from
'
vs/base/common/amd
'
;
import
{
Keybinding
,
ResolvedKeybinding
,
SimpleKeybinding
}
from
'
vs/base/common/keyCodes
'
;
import
{
ScanCodeBinding
}
from
'
vs/base/common/scanCode
'
;
...
...
src/vs/workbench/services/search/test/node/rawSearchService.test.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
getPathFromAmdModule
}
from
'
vs/base/common/amd
'
;
import
{
CancelablePromise
,
createCancelablePromise
}
from
'
vs/base/common/async
'
;
import
{
Emitter
,
Event
}
from
'
vs/base/common/event
'
;
...
...
src/vs/workbench/services/search/test/node/search.test.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
getPathFromAmdModule
}
from
'
vs/base/common/amd
'
;
import
{
join
,
normalize
}
from
'
vs/base/common/paths
'
;
import
*
as
platform
from
'
vs/base/common/platform
'
;
...
...
src/vs/workbench/services/search/test/node/textSearch.integrationTest.ts
浏览文件 @
511a9054
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import
*
as
assert
from
'
assert
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
getPathFromAmdModule
}
from
'
vs/base/common/amd
'
;
import
{
CancellationTokenSource
}
from
'
vs/base/common/cancellation
'
;
import
*
as
glob
from
'
vs/base/common/glob
'
;
...
...
src/vs/workbench/test/electron-browser/api/extHostWorkspace.test.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
*
as
assert
from
'
assert
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
import
{
basename
}
from
'
path
'
;
import
{
basename
}
from
'
vs/base/common/paths.node
'
;
import
{
ExtHostWorkspaceProvider
}
from
'
vs/workbench/api/node/extHostWorkspace
'
;
import
{
TestRPCProtocol
}
from
'
./testRPCProtocol
'
;
import
{
normalize
}
from
'
vs/base/common/paths
'
;
...
...
src/vs/workbench/test/electron-browser/quickopen.perf.integrationTest.ts
浏览文件 @
511a9054
...
...
@@ -5,7 +5,7 @@
import
*
as
assert
from
'
assert
'
;
import
*
as
minimist
from
'
minimist
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
CancellationToken
}
from
'
vs/base/common/cancellation
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
import
{
IModelService
}
from
'
vs/editor/common/services/modelService
'
;
...
...
src/vs/workbench/test/electron-browser/textsearch.perf.integrationTest.ts
浏览文件 @
511a9054
...
...
@@ -14,7 +14,7 @@ import { ITelemetryService, ITelemetryInfo } from 'vs/platform/telemetry/common/
import
{
IUntitledEditorService
,
UntitledEditorService
}
from
'
vs/workbench/services/untitled/common/untitledEditorService
'
;
import
{
IEditorService
}
from
'
vs/workbench/services/editor/common/editorService
'
;
import
*
as
minimist
from
'
minimist
'
;
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
vs/base/common/paths.node
'
;
import
{
SearchService
}
from
'
vs/workbench/services/search/node/searchService
'
;
import
{
ServiceCollection
}
from
'
vs/platform/instantiation/common/serviceCollection
'
;
import
{
TestEnvironmentService
,
TestContextService
,
TestEditorService
,
TestEditorGroupsService
,
TestTextResourcePropertiesService
}
from
'
vs/workbench/test/workbenchTestServices
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录