Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
9d88369f
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,发现更多精彩内容 >>
未验证
提交
9d88369f
编写于
6月 16, 2019
作者:
D
Daniel Imms
提交者:
GitHub
6月 16, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #75565 from hwhung0111/FixCommentTypos
Fix some typos in comment
上级
a0a6761d
0a7bfcf3
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
16 addition
and
16 deletion
+16
-16
src/vs/base/common/event.ts
src/vs/base/common/event.ts
+2
-2
src/vs/base/node/id.ts
src/vs/base/node/id.ts
+1
-1
src/vs/platform/notification/common/notification.ts
src/vs/platform/notification/common/notification.ts
+4
-4
src/vs/platform/opener/common/opener.ts
src/vs/platform/opener/common/opener.ts
+1
-1
src/vs/workbench/browser/labels.ts
src/vs/workbench/browser/labels.ts
+3
-3
src/vs/workbench/browser/parts/editor/editorGroupView.ts
src/vs/workbench/browser/parts/editor/editorGroupView.ts
+1
-1
src/vs/workbench/contrib/files/browser/views/explorerViewer.ts
...s/workbench/contrib/files/browser/views/explorerViewer.ts
+1
-1
src/vs/workbench/contrib/outline/browser/outlinePanel.ts
src/vs/workbench/contrib/outline/browser/outlinePanel.ts
+1
-1
src/vs/workbench/services/textfile/common/textfiles.ts
src/vs/workbench/services/textfile/common/textfiles.ts
+2
-2
未找到文件。
src/vs/base/common/event.ts
浏览文件 @
9d88369f
...
...
@@ -49,7 +49,7 @@ export namespace Event {
/**
* Given an event and a `map` function, returns another event which maps each element
* through
t
the mapping function.
* through the mapping function.
*/
export
function
map
<
I
,
O
>
(
event
:
Event
<
I
>
,
map
:
(
i
:
I
)
=>
O
):
Event
<
O
>
{
return
snapshot
((
listener
,
thisArgs
=
null
,
disposables
?)
=>
event
(
i
=>
listener
.
call
(
thisArgs
,
map
(
i
)),
null
,
disposables
));
...
...
@@ -90,7 +90,7 @@ export namespace Event {
/**
* Given an event and a `merge` function, returns another event which maps each element
* and the cum
mulative result throught
the `merge` function. Similar to `map`, but with memory.
* and the cum
ulative result through
the `merge` function. Similar to `map`, but with memory.
*/
export
function
reduce
<
I
,
O
>
(
event
:
Event
<
I
>
,
merge
:
(
last
:
O
|
undefined
,
event
:
I
)
=>
O
,
initial
?:
O
):
Event
<
O
>
{
let
output
:
O
|
undefined
=
initial
;
...
...
src/vs/base/node/id.ts
浏览文件 @
9d88369f
...
...
@@ -11,7 +11,7 @@ import { TernarySearchTree } from 'vs/base/common/map';
// http://www.techrepublic.com/blog/data-center/mac-address-scorecard-for-common-virtual-machine-platforms/
// VMware ESX 3, Server, Workstation, Player 00-50-56, 00-0C-29, 00-05-69
// Microsoft Hyper-V, Virtual Server, Virtual PC 00-03-FF
// Parallel
l
s Desktop, Workstation, Server, Virtuozzo 00-1C-42
// Parallels Desktop, Workstation, Server, Virtuozzo 00-1C-42
// Virtual Iron 4 00-0F-4B
// Red Hat Xen 00-16-3E
// Oracle VM 00-16-3E
...
...
src/vs/platform/notification/common/notification.ts
浏览文件 @
9d88369f
...
...
@@ -210,19 +210,19 @@ export interface INotificationService {
notify
(
notification
:
INotification
):
INotificationHandle
;
/**
* A conv
i
nient way of reporting infos. Use the `INotificationService.notify`
* A conv
e
nient way of reporting infos. Use the `INotificationService.notify`
* method if you need more control over the notification.
*/
info
(
message
:
NotificationMessage
|
NotificationMessage
[]):
void
;
/**
* A conv
i
nient way of reporting warnings. Use the `INotificationService.notify`
* A conv
e
nient way of reporting warnings. Use the `INotificationService.notify`
* method if you need more control over the notification.
*/
warn
(
message
:
NotificationMessage
|
NotificationMessage
[]):
void
;
/**
* A conv
i
nient way of reporting errors. Use the `INotificationService.notify`
* A conv
e
nient way of reporting errors. Use the `INotificationService.notify`
* method if you need more control over the notification.
*/
error
(
message
:
NotificationMessage
|
NotificationMessage
[]):
void
;
...
...
@@ -239,7 +239,7 @@ export interface INotificationService {
prompt
(
severity
:
Severity
,
message
:
string
,
choices
:
IPromptChoice
[],
options
?:
IPromptOptions
):
INotificationHandle
;
/**
* Shows a status message in the status area with the provied text.
* Shows a status message in the status area with the provi
d
ed text.
*
* @param message the message to show as status
* @param options provides some optional configuration options
...
...
src/vs/platform/opener/common/opener.ts
浏览文件 @
9d88369f
...
...
@@ -21,7 +21,7 @@ export interface IOpenerService {
registerOpener
(
opener
:
IOpener
):
IDisposable
;
/**
* Opens a resource, like a webadress, a document uri, or executes command.
* Opens a resource, like a webad
d
ress, a document uri, or executes command.
*
* @param resource A resource
* @return A promise that resolves when the opening is done.
...
...
src/vs/workbench/browser/labels.ts
浏览文件 @
9d88369f
...
...
@@ -52,19 +52,19 @@ export interface IResourceLabel extends IDisposable {
setLabel
(
label
?:
string
,
description
?:
string
,
options
?:
IIconLabelValueOptions
):
void
;
/**
* Conv
i
nient method to apply a label by passing a resource along.
* Conv
e
nient method to apply a label by passing a resource along.
*
* Note: for file resources consider to use the #setFile() method instead.
*/
setResource
(
label
:
IResourceLabelProps
,
options
?:
IResourceLabelOptions
):
void
;
/**
* Conv
i
nient method to render a file label based on a resource.
* Conv
e
nient method to render a file label based on a resource.
*/
setFile
(
resource
:
URI
,
options
?:
IFileLabelOptions
):
void
;
/**
* Conv
i
nient method to apply a label by passing an editor along.
* Conv
e
nient method to apply a label by passing an editor along.
*/
setEditor
(
editor
:
IEditorInput
,
options
?:
IResourceLabelOptions
):
void
;
...
...
src/vs/workbench/browser/parts/editor/editorGroupView.ts
浏览文件 @
9d88369f
...
...
@@ -1280,7 +1280,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
// If the group is empty and the request is to close all editors, we still close
// the editor group is the related setting to close empty groups is enabled for
// a conv
i
nient way of removing empty editor groups for the user.
// a conv
e
nient way of removing empty editor groups for the user.
if
(
this
.
accessor
.
partOptions
.
closeEmptyGroups
)
{
this
.
accessor
.
removeGroup
(
this
);
}
...
...
src/vs/workbench/contrib/files/browser/views/explorerViewer.ts
浏览文件 @
9d88369f
...
...
@@ -484,7 +484,7 @@ export class FileDragAndDrop implements ITreeDragAndDrop<ExplorerItem> {
const
items
=
(
data
as
ElementsDragAndDropData
<
ExplorerItem
>
).
elements
;
if
(
!
target
)
{
// Droping onto the empty area. Do not accept if items dragged are already
// Drop
p
ing onto the empty area. Do not accept if items dragged are already
// children of the root unless we are copying the file
if
(
!
isCopy
&&
items
.
every
(
i
=>
!!
i
.
parent
&&
i
.
parent
.
isRoot
))
{
return
false
;
...
...
src/vs/workbench/contrib/outline/browser/outlinePanel.ts
浏览文件 @
9d88369f
...
...
@@ -113,7 +113,7 @@ class RequestOracle {
);
if
(
this
.
_lastState
&&
thisState
.
equals
(
this
.
_lastState
))
{
// prevent unnec
ce
sary changes...
// prevent unnec
es
sary changes...
return
;
}
dispose
(
this
.
_sessionDisposable
);
...
...
src/vs/workbench/services/textfile/common/textfiles.ts
浏览文件 @
9d88369f
...
...
@@ -136,12 +136,12 @@ export interface ITextFileService extends IDisposable {
confirmSave
(
resources
?:
URI
[]):
Promise
<
ConfirmResult
>
;
/**
* Conv
i
nient fast access to the current auto save mode.
* Conv
e
nient fast access to the current auto save mode.
*/
getAutoSaveMode
():
AutoSaveMode
;
/**
* Conv
i
nient fast access to the raw configured auto save settings.
* Conv
e
nient fast access to the raw configured auto save settings.
*/
getAutoSaveConfiguration
():
IAutoSaveConfiguration
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录