Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
49ea79bb
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,发现更多精彩内容 >>
提交
49ea79bb
编写于
8月 25, 2020
作者:
J
Johannes Rieken
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
make bulk edit service implementation a contrib,
https://github.com/microsoft/vscode/issues/105283
上级
fe83bef4
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
12 addition
and
13 deletion
+12
-13
src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.ts
src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.ts
+2
-2
src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.ts
src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.ts
+0
-0
src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.ts
src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.ts
+0
-0
src/vs/workbench/contrib/bulkEdit/browser/conflicts.ts
src/vs/workbench/contrib/bulkEdit/browser/conflicts.ts
+0
-0
src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts
...contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts
+2
-3
src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.css
...s/workbench/contrib/bulkEdit/browser/preview/bulkEdit.css
+0
-0
src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPane.ts
...orkbench/contrib/bulkEdit/browser/preview/bulkEditPane.ts
+2
-2
src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPreview.ts
...bench/contrib/bulkEdit/browser/preview/bulkEditPreview.ts
+1
-1
src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditTree.ts
...orkbench/contrib/bulkEdit/browser/preview/bulkEditTree.ts
+1
-1
src/vs/workbench/contrib/bulkEdit/test/browser/bulkEditPreview.test.ts
...nch/contrib/bulkEdit/test/browser/bulkEditPreview.test.ts
+1
-1
src/vs/workbench/test/browser/api/mainThreadEditors.test.ts
src/vs/workbench/test/browser/api/mainThreadEditors.test.ts
+1
-1
src/vs/workbench/workbench.common.main.ts
src/vs/workbench/workbench.common.main.ts
+2
-2
未找到文件。
src/vs/workbench/
services
/bulkEdit/browser/bulkEditService.ts
→
src/vs/workbench/
contrib
/bulkEdit/browser/bulkEditService.ts
浏览文件 @
49ea79bb
...
...
@@ -14,8 +14,8 @@ import { IProgress, IProgressStep, Progress } from 'vs/platform/progress/common/
import
{
IEditorService
}
from
'
vs/workbench/services/editor/common/editorService
'
;
import
{
EditorOption
}
from
'
vs/editor/common/config/editorOptions
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
BulkTextEdits
}
from
'
vs/workbench/
services
/bulkEdit/browser/bulkTextEdits
'
;
import
{
BulkFileEdits
}
from
'
vs/workbench/
services
/bulkEdit/browser/bulkFileEdits
'
;
import
{
BulkTextEdits
}
from
'
vs/workbench/
contrib
/bulkEdit/browser/bulkTextEdits
'
;
import
{
BulkFileEdits
}
from
'
vs/workbench/
contrib
/bulkEdit/browser/bulkFileEdits
'
;
import
{
ResourceMap
}
from
'
vs/base/common/map
'
;
type
Edit
=
WorkspaceFileEdit
|
WorkspaceTextEdit
;
...
...
src/vs/workbench/
services
/bulkEdit/browser/bulkFileEdits.ts
→
src/vs/workbench/
contrib
/bulkEdit/browser/bulkFileEdits.ts
浏览文件 @
49ea79bb
文件已移动
src/vs/workbench/
services
/bulkEdit/browser/bulkTextEdits.ts
→
src/vs/workbench/
contrib
/bulkEdit/browser/bulkTextEdits.ts
浏览文件 @
49ea79bb
文件已移动
src/vs/workbench/
services
/bulkEdit/browser/conflicts.ts
→
src/vs/workbench/
contrib
/bulkEdit/browser/conflicts.ts
浏览文件 @
49ea79bb
文件已移动
src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.contribution.ts
→
src/vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEdit.contribution.ts
浏览文件 @
49ea79bb
...
...
@@ -9,14 +9,14 @@ import { Extensions as WorkbenchExtensions, IWorkbenchContributionsRegistry } fr
import
{
IPanelService
}
from
'
vs/workbench/services/panel/common/panelService
'
;
import
{
IBulkEditService
}
from
'
vs/editor/browser/services/bulkEditService
'
;
import
{
WorkspaceEdit
}
from
'
vs/editor/common/modes
'
;
import
{
BulkEditPane
}
from
'
vs/workbench/contrib/bulkEdit/browser/bulkEditPane
'
;
import
{
BulkEditPane
}
from
'
vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditPane
'
;
import
{
IViewContainersRegistry
,
Extensions
as
ViewContainerExtensions
,
ViewContainerLocation
,
IViewsRegistry
,
FocusedViewContext
,
IViewsService
}
from
'
vs/workbench/common/views
'
;
import
{
localize
}
from
'
vs/nls
'
;
import
{
ViewPaneContainer
}
from
'
vs/workbench/browser/parts/views/viewPaneContainer
'
;
import
{
RawContextKey
,
IContextKeyService
,
IContextKey
,
ContextKeyExpr
}
from
'
vs/platform/contextkey/common/contextkey
'
;
import
{
IEditorGroupsService
}
from
'
vs/workbench/services/editor/common/editorGroupsService
'
;
import
{
DiffEditorInput
}
from
'
vs/workbench/common/editor/diffEditorInput
'
;
import
{
BulkEditPreviewProvider
}
from
'
vs/workbench/contrib/bulkEdit/browser/bulkEditPreview
'
;
import
{
BulkEditPreviewProvider
}
from
'
vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditPreview
'
;
import
{
KeybindingWeight
}
from
'
vs/platform/keybinding/common/keybindingsRegistry
'
;
import
{
KeyMod
,
KeyCode
}
from
'
vs/base/common/keyCodes
'
;
import
{
WorkbenchListFocusContextKey
}
from
'
vs/platform/list/browser/listService
'
;
...
...
@@ -366,4 +366,3 @@ Registry.as<IViewsRegistry>(ViewContainerExtensions.ViewsRegistry).registerViews
ctorDescriptor
:
new
SyncDescriptor
(
BulkEditPane
),
containerIcon
:
Codicon
.
lightbulb
.
classNames
,
}],
container
);
src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.css
→
src/vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEdit.css
浏览文件 @
49ea79bb
文件已移动
src/vs/workbench/contrib/bulkEdit/browser/bulkEditPane.ts
→
src/vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditPane.ts
浏览文件 @
49ea79bb
...
...
@@ -6,7 +6,7 @@
import
'
vs/css!./bulkEdit
'
;
import
{
WorkbenchAsyncDataTree
,
IOpenEvent
}
from
'
vs/platform/list/browser/listService
'
;
import
{
WorkspaceEdit
}
from
'
vs/editor/common/modes
'
;
import
{
BulkEditElement
,
BulkEditDelegate
,
TextEditElementRenderer
,
FileElementRenderer
,
BulkEditDataSource
,
BulkEditIdentityProvider
,
FileElement
,
TextEditElement
,
BulkEditAccessibilityProvider
,
CategoryElementRenderer
,
BulkEditNaviLabelProvider
,
CategoryElement
,
BulkEditSorter
}
from
'
vs/workbench/contrib/bulkEdit/browser/bulkEditTree
'
;
import
{
BulkEditElement
,
BulkEditDelegate
,
TextEditElementRenderer
,
FileElementRenderer
,
BulkEditDataSource
,
BulkEditIdentityProvider
,
FileElement
,
TextEditElement
,
BulkEditAccessibilityProvider
,
CategoryElementRenderer
,
BulkEditNaviLabelProvider
,
CategoryElement
,
BulkEditSorter
}
from
'
vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditTree
'
;
import
{
FuzzyScore
}
from
'
vs/base/common/filters
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
registerThemingParticipant
,
IColorTheme
,
ICssStyleCollector
,
IThemeService
}
from
'
vs/platform/theme/common/themeService
'
;
...
...
@@ -14,7 +14,7 @@ import { diffInserted, diffRemoved } from 'vs/platform/theme/common/colorRegistr
import
{
localize
}
from
'
vs/nls
'
;
import
{
DisposableStore
}
from
'
vs/base/common/lifecycle
'
;
import
{
IEditorService
}
from
'
vs/workbench/services/editor/common/editorService
'
;
import
{
BulkEditPreviewProvider
,
BulkFileOperations
,
BulkFileOperationType
}
from
'
vs/workbench/contrib/bulkEdit/browser/bulkEditPreview
'
;
import
{
BulkEditPreviewProvider
,
BulkFileOperations
,
BulkFileOperationType
}
from
'
vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditPreview
'
;
import
{
ILabelService
}
from
'
vs/platform/label/common/label
'
;
import
{
ITextModelService
}
from
'
vs/editor/common/services/resolverService
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
...
...
src/vs/workbench/contrib/bulkEdit/browser/bulkEditPreview.ts
→
src/vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditPreview.ts
浏览文件 @
49ea79bb
...
...
@@ -17,7 +17,7 @@ import { ServicesAccessor, IInstantiationService } from 'vs/platform/instantiati
import
{
IFileService
}
from
'
vs/platform/files/common/files
'
;
import
{
Emitter
,
Event
}
from
'
vs/base/common/event
'
;
import
{
IIdentifiedSingleEditOperation
}
from
'
vs/editor/common/model
'
;
import
{
ConflictDetector
}
from
'
vs/workbench/
services
/bulkEdit/browser/conflicts
'
;
import
{
ConflictDetector
}
from
'
vs/workbench/
contrib
/bulkEdit/browser/conflicts
'
;
import
{
ResourceMap
}
from
'
vs/base/common/map
'
;
import
{
localize
}
from
'
vs/nls
'
;
import
{
extUri
}
from
'
vs/base/common/resources
'
;
...
...
src/vs/workbench/contrib/bulkEdit/browser/bulkEditTree.ts
→
src/vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditTree.ts
浏览文件 @
49ea79bb
...
...
@@ -14,7 +14,7 @@ import * as dom from 'vs/base/browser/dom';
import
{
ITextModel
}
from
'
vs/editor/common/model
'
;
import
{
IDisposable
,
DisposableStore
}
from
'
vs/base/common/lifecycle
'
;
import
{
TextModel
}
from
'
vs/editor/common/model/textModel
'
;
import
{
BulkFileOperations
,
BulkFileOperation
,
BulkFileOperationType
,
BulkTextEdit
,
BulkCategory
}
from
'
vs/workbench/contrib/bulkEdit/browser/bulkEditPreview
'
;
import
{
BulkFileOperations
,
BulkFileOperation
,
BulkFileOperationType
,
BulkTextEdit
,
BulkCategory
}
from
'
vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditPreview
'
;
import
{
FileKind
}
from
'
vs/platform/files/common/files
'
;
import
{
localize
}
from
'
vs/nls
'
;
import
{
ILabelService
}
from
'
vs/platform/label/common/label
'
;
...
...
src/vs/workbench/contrib/bulkEdit/test/browser/bulkEditPreview.test.ts
浏览文件 @
49ea79bb
...
...
@@ -13,7 +13,7 @@ import { IInstantiationService } from 'vs/platform/instantiation/common/instanti
import
{
IModelService
}
from
'
vs/editor/common/services/modelService
'
;
import
type
{
WorkspaceEdit
}
from
'
vs/editor/common/modes
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
import
{
BulkFileOperations
}
from
'
vs/workbench/contrib/bulkEdit/browser/bulkEditPreview
'
;
import
{
BulkFileOperations
}
from
'
vs/workbench/contrib/bulkEdit/browser/
preview/
bulkEditPreview
'
;
import
{
Range
}
from
'
vs/editor/common/core/range
'
;
suite
(
'
BulkEditPreview
'
,
function
()
{
...
...
src/vs/workbench/test/browser/api/mainThreadEditors.test.ts
浏览文件 @
49ea79bb
...
...
@@ -20,7 +20,7 @@ import { Position } from 'vs/editor/common/core/position';
import
{
IModelService
}
from
'
vs/editor/common/services/modelService
'
;
import
{
EditOperation
}
from
'
vs/editor/common/core/editOperation
'
;
import
{
TestFileService
,
TestEditorService
,
TestEditorGroupsService
,
TestEnvironmentService
}
from
'
vs/workbench/test/browser/workbenchTestServices
'
;
import
{
BulkEditService
}
from
'
vs/workbench/
services
/bulkEdit/browser/bulkEditService
'
;
import
{
BulkEditService
}
from
'
vs/workbench/
contrib
/bulkEdit/browser/bulkEditService
'
;
import
{
NullLogService
,
ILogService
}
from
'
vs/platform/log/common/log
'
;
import
{
ITextModelService
,
IResolvedTextEditorModel
}
from
'
vs/editor/common/services/resolverService
'
;
import
{
IReference
,
ImmortalReference
}
from
'
vs/base/common/lifecycle
'
;
...
...
src/vs/workbench/workbench.common.main.ts
浏览文件 @
49ea79bb
...
...
@@ -55,7 +55,6 @@ import 'vs/workbench/browser/parts/views/viewsService';
import
'
vs/platform/undoRedo/common/undoRedoService
'
;
import
'
vs/workbench/services/uriIdentity/common/uriIdentityService
'
;
import
'
vs/workbench/services/extensions/browser/extensionUrlHandler
'
;
import
'
vs/workbench/services/bulkEdit/browser/bulkEditService
'
;
import
'
vs/workbench/services/keybinding/common/keybindingEditing
'
;
import
'
vs/workbench/services/decorations/browser/decorationsService
'
;
import
'
vs/workbench/services/progress/browser/progressService
'
;
...
...
@@ -165,7 +164,8 @@ import 'vs/workbench/contrib/files/browser/files.contribution';
import
'
vs/workbench/contrib/backup/common/backup.contribution
'
;
// bulkEdit
import
'
vs/workbench/contrib/bulkEdit/browser/bulkEdit.contribution
'
;
import
'
vs/workbench/contrib/bulkEdit/browser/bulkEditService
'
;
import
'
vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution
'
;
// Search
import
'
vs/workbench/contrib/search/browser/search.contribution
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录