Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
8107cbff
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,发现更多精彩内容 >>
提交
8107cbff
编写于
4月 16, 2018
作者:
P
Peng Lyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
move comment widget out of editor
上级
64fb9e85
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
10 addition
and
6 deletion
+10
-6
build/lib/i18n.resources.json
build/lib/i18n.resources.json
+4
-0
src/vs/editor/editor.all.ts
src/vs/editor/editor.all.ts
+0
-1
src/vs/workbench/api/electron-browser/mainThreadComments.ts
src/vs/workbench/api/electron-browser/mainThreadComments.ts
+1
-1
src/vs/workbench/parts/comments/common/reviewModel.ts
src/vs/workbench/parts/comments/common/reviewModel.ts
+0
-0
src/vs/workbench/parts/comments/electron-browser/comments.contribution.ts
.../parts/comments/electron-browser/comments.contribution.ts
+1
-0
src/vs/workbench/parts/comments/electron-browser/commentsEditorContribution.ts
...s/comments/electron-browser/commentsEditorContribution.ts
+3
-3
src/vs/workbench/parts/comments/electron-browser/commentsPanel.ts
...orkbench/parts/comments/electron-browser/commentsPanel.ts
+1
-1
src/vs/workbench/parts/comments/electron-browser/media/close.svg
...workbench/parts/comments/electron-browser/media/close.svg
+0
-0
src/vs/workbench/parts/comments/electron-browser/media/comment.svg
...rkbench/parts/comments/electron-browser/media/comment.svg
+0
-0
src/vs/workbench/parts/comments/electron-browser/media/review.css
...orkbench/parts/comments/electron-browser/media/review.css
+0
-0
未找到文件。
build/lib/i18n.resources.json
浏览文件 @
8107cbff
...
...
@@ -34,6 +34,10 @@
"name"
:
"vs/workbench/parts/codeEditor"
,
"project"
:
"vscode-workbench"
},
{
"name"
:
"vs/workbench/parts/comments"
,
"project"
:
"vscode-workbench"
},
{
"name"
:
"vs/workbench/parts/debug"
,
"project"
:
"vscode-workbench"
...
...
src/vs/editor/editor.all.ts
浏览文件 @
8107cbff
...
...
@@ -22,7 +22,6 @@ import 'vs/editor/contrib/cursorUndo/cursorUndo';
import
'
vs/editor/contrib/dnd/dnd
'
;
import
'
vs/editor/contrib/find/findController
'
;
import
'
vs/editor/contrib/folding/folding
'
;
import
'
vs/editor/contrib/review/review
'
;
import
'
vs/editor/contrib/format/formatActions
'
;
import
'
vs/editor/contrib/goToDeclaration/goToDeclarationCommands
'
;
import
'
vs/editor/contrib/goToDeclaration/goToDeclarationMouse
'
;
...
...
src/vs/workbench/api/electron-browser/mainThreadComments.ts
浏览文件 @
8107cbff
...
...
@@ -8,7 +8,6 @@ import { Disposable, IDisposable } from 'vs/base/common/lifecycle';
import
{
ICodeEditor
}
from
'
vs/editor/browser/editorBrowser
'
;
import
{
ICodeEditorService
}
from
'
vs/editor/browser/services/codeEditorService
'
;
import
*
as
modes
from
'
vs/editor/common/modes
'
;
import
{
ReviewController
}
from
'
vs/editor/contrib/review/review
'
;
import
{
extHostNamedCustomer
}
from
'
vs/workbench/api/electron-browser/extHostCustomers
'
;
import
{
IEditorGroupService
}
from
'
vs/workbench/services/group/common/groupService
'
;
import
{
keys
}
from
'
../../../base/common/map
'
;
...
...
@@ -20,6 +19,7 @@ import { COMMENTS_PANEL_ID } from 'vs/workbench/parts/comments/electron-browser/
import
{
IPanelService
}
from
'
vs/workbench/services/panel/common/panelService
'
;
import
URI
from
'
vs/base/common/uri
'
;
import
{
ITextModel
}
from
'
vs/editor/common/model
'
;
import
{
ReviewController
}
from
'
vs/workbench/parts/comments/electron-browser/commentsEditorContribution
'
;
@
extHostNamedCustomer
(
MainContext
.
MainThreadComments
)
export
class
MainThreadComments
extends
Disposable
implements
MainThreadCommentsShape
{
...
...
src/vs/
editor/contrib/review
/reviewModel.ts
→
src/vs/
workbench/parts/comments/common
/reviewModel.ts
浏览文件 @
8107cbff
文件已移动
src/vs/workbench/parts/comments/electron-browser/comments.contribution.ts
浏览文件 @
8107cbff
...
...
@@ -9,6 +9,7 @@ import { Extensions as PanelExtensions, PanelDescriptor, PanelRegistry } from 'v
import
{
Extensions
as
WorkbenchExtensions
,
IWorkbenchContribution
,
IWorkbenchContributionsRegistry
}
from
'
vs/workbench/common/contributions
'
;
import
{
IPanelService
}
from
'
vs/workbench/services/panel/common/panelService
'
;
import
{
COMMENTS_PANEL_ID
,
COMMENTS_PANEL_TITLE
,
CommentsPanel
}
from
'
./commentsPanel
'
;
import
'
vs/workbench/parts/comments/electron-browser/commentsEditorContribution
'
;
export
class
CommentPanelVisibilityUpdater
implements
IWorkbenchContribution
{
...
...
src/vs/
editor/contrib/review/review
.ts
→
src/vs/
workbench/parts/comments/electron-browser/commentsEditorContribution
.ts
浏览文件 @
8107cbff
...
...
@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
'
use strict
'
;
import
'
vs/css!./review
'
;
import
'
vs/css!./
media/
review
'
;
import
*
as
nls
from
'
vs/nls
'
;
import
*
as
arrays
from
'
vs/base/common/arrays
'
;
import
*
as
modes
from
'
vs/editor/common/modes
'
;
...
...
@@ -15,7 +15,6 @@ import { IDisposable, dispose } from 'vs/base/common/lifecycle';
import
{
registerEditorContribution
}
from
'
vs/editor/browser/editorExtensions
'
;
import
{
ModelDecorationOptions
}
from
'
vs/editor/common/model/textModel
'
;
import
{
TrackedRangeStickiness
,
IModelDeltaDecoration
}
from
'
vs/editor/common/model
'
;
import
{
ZoneWidget
,
IOptions
}
from
'
../zoneWidget/zoneWidget
'
;
import
{
renderMarkdown
}
from
'
vs/base/browser/htmlContentRenderer
'
;
import
{
RawContextKey
,
IContextKeyService
,
IContextKey
}
from
'
vs/platform/contextkey/common/contextkey
'
;
import
{
KeybindingsRegistry
}
from
'
vs/platform/keybinding/common/keybindingsRegistry
'
;
...
...
@@ -31,8 +30,9 @@ import { Color } from 'vs/base/common/color';
import
{
IMarginData
}
from
'
vs/editor/browser/controller/mouseTarget
'
;
import
{
ICommandService
}
from
'
vs/platform/commands/common/commands
'
;
import
{
Emitter
,
Event
}
from
'
vs/base/common/event
'
;
import
{
ReviewModel
,
ReviewStyle
}
from
'
vs/editor/contrib/review/reviewModel
'
;
import
{
editorBackground
,
editorForeground
}
from
'
vs/platform/theme/common/colorRegistry
'
;
import
{
ZoneWidget
,
IOptions
}
from
'
vs/editor/contrib/zoneWidget/zoneWidget
'
;
import
{
ReviewModel
,
ReviewStyle
}
from
'
vs/workbench/parts/comments/common/reviewModel
'
;
export
const
ctxReviewPanelVisible
=
new
RawContextKey
<
boolean
>
(
'
reviewPanelVisible
'
,
false
);
export
const
ID
=
'
editor.contrib.review
'
;
...
...
src/vs/workbench/parts/comments/electron-browser/commentsPanel.ts
浏览文件 @
8107cbff
...
...
@@ -9,7 +9,6 @@ import { Promise, TPromise } from 'vs/base/common/winjs.base';
import
{
IDataSource
,
IFilter
,
IRenderer
,
ITree
}
from
'
vs/base/parts/tree/browser/tree
'
;
import
{
DefaultAccessibilityProvider
,
DefaultController
,
DefaultDragAndDrop
}
from
'
vs/base/parts/tree/browser/treeDefaults
'
;
import
{
isCodeEditor
}
from
'
vs/editor/browser/editorBrowser
'
;
import
{
ReviewController
}
from
'
vs/editor/contrib/review/review
'
;
import
{
IEditorService
}
from
'
vs/platform/editor/common/editor
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
TreeResourceNavigator
,
WorkbenchTree
}
from
'
vs/platform/list/browser/listService
'
;
...
...
@@ -18,6 +17,7 @@ import { IThemeService } from 'vs/platform/theme/common/themeService';
import
{
ResourceLabel
}
from
'
vs/workbench/browser/labels
'
;
import
{
Panel
}
from
'
vs/workbench/browser/panel
'
;
import
{
CommentNode
,
CommentsModel
,
ICommentService
,
ResourceCommentThreads
}
from
'
vs/workbench/services/comments/electron-browser/commentService
'
;
import
{
ReviewController
}
from
'
vs/workbench/parts/comments/electron-browser/commentsEditorContribution
'
;
export
const
COMMENTS_PANEL_ID
=
'
workbench.panel.comments
'
;
export
const
COMMENTS_PANEL_TITLE
=
'
Comments
'
;
...
...
src/vs/
editor/contrib/review
/close.svg
→
src/vs/
workbench/parts/comments/electron-browser/media
/close.svg
浏览文件 @
8107cbff
文件已移动
src/vs/
editor/contrib/review
/comment.svg
→
src/vs/
workbench/parts/comments/electron-browser/media
/comment.svg
浏览文件 @
8107cbff
文件已移动
src/vs/
editor/contrib/review
/review.css
→
src/vs/
workbench/parts/comments/electron-browser/media
/review.css
浏览文件 @
8107cbff
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录