Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
399a80f4
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,发现更多精彩内容 >>
提交
399a80f4
编写于
8月 10, 2018
作者:
A
Alex Dima
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unnecessary declarations
上级
933c8d4b
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
25 addition
and
87 deletion
+25
-87
build/monaco/monaco.d.ts.recipe
build/monaco/monaco.d.ts.recipe
+0
-7
build/monaco/package.json
build/monaco/package.json
+1
-1
src/vs/editor/common/modes.ts
src/vs/editor/common/modes.ts
+24
-2
src/vs/monaco.d.ts
src/vs/monaco.d.ts
+0
-77
未找到文件。
build/monaco/monaco.d.ts.recipe
浏览文件 @
399a80f4
...
...
@@ -25,13 +25,6 @@ declare namespace monaco {
dispose(): void;
}
export enum Severity {
Ignore = 0,
Info = 1,
Warning = 2,
Error = 3,
}
export enum MarkerTag {
Unnecessary = 1,
}
...
...
build/monaco/package.json
浏览文件 @
399a80f4
{
"name"
:
"monaco-editor-core"
,
"private"
:
true
,
"version"
:
"0.1
2.0
"
,
"version"
:
"0.1
4.1
"
,
"description"
:
"A browser based code editor"
,
"author"
:
"Microsoft Corporation"
,
"license"
:
"MIT"
,
...
...
src/vs/editor/common/modes.ts
浏览文件 @
399a80f4
...
...
@@ -938,6 +938,9 @@ export interface Command {
arguments
?:
any
[];
}
/**
* @internal
*/
export
interface
CommentInfo
{
owner
:
number
;
threads
:
CommentThread
[];
...
...
@@ -945,6 +948,9 @@ export interface CommentInfo {
reply
?:
Command
;
}
/**
* @internal
*/
export
enum
CommentThreadCollapsibleState
{
/**
* Determines an item is collapsed
...
...
@@ -956,6 +962,9 @@ export enum CommentThreadCollapsibleState {
Expanded
=
1
}
/**
* @internal
*/
export
interface
CommentThread
{
threadId
:
string
;
resource
:
string
;
...
...
@@ -965,11 +974,17 @@ export interface CommentThread {
reply
?:
Command
;
}
/**
* @internal
*/
export
interface
NewCommentAction
{
ranges
:
IRange
[];
actions
:
Command
[];
}
/**
* @internal
*/
export
interface
Comment
{
readonly
commentId
:
string
;
readonly
body
:
IMarkdownString
;
...
...
@@ -978,6 +993,9 @@ export interface Comment {
readonly
command
?:
Command
;
}
/**
* @internal
*/
export
interface
CommentThreadChangedEvent
{
readonly
owner
:
number
;
/**
...
...
@@ -996,7 +1014,9 @@ export interface CommentThreadChangedEvent {
readonly
changed
:
CommentThread
[];
}
/**
* @internal
*/
export
interface
DocumentCommentProvider
{
provideDocumentComments
(
resource
:
URI
,
token
:
CancellationToken
):
Promise
<
CommentInfo
>
;
createNewCommentThread
(
resource
:
URI
,
range
:
Range
,
text
:
string
,
token
:
CancellationToken
):
Promise
<
CommentThread
>
;
...
...
@@ -1004,7 +1024,9 @@ export interface DocumentCommentProvider {
onDidChangeCommentThreads
():
Event
<
CommentThreadChangedEvent
>
;
}
/**
* @internal
*/
export
interface
WorkspaceCommentProvider
{
provideWorkspaceComments
(
token
:
CancellationToken
):
Promise
<
CommentThread
[]
>
;
createNewCommentThread
(
resource
:
URI
,
range
:
Range
,
text
:
string
,
token
:
CancellationToken
):
Promise
<
CommentThread
>
;
...
...
src/vs/monaco.d.ts
浏览文件 @
399a80f4
...
...
@@ -25,13 +25,6 @@ declare namespace monaco {
dispose
():
void
;
}
export
enum
Severity
{
Ignore
=
0
,
Info
=
1
,
Warning
=
2
,
Error
=
3
,
}
export
enum
MarkerTag
{
Unnecessary
=
1
,
}
...
...
@@ -5309,76 +5302,6 @@ declare namespace monaco.languages {
arguments
?:
any
[];
}
export
interface
CommentInfo
{
owner
:
number
;
threads
:
CommentThread
[];
commentingRanges
?:
IRange
[];
reply
?:
Command
;
}
export
enum
CommentThreadCollapsibleState
{
/**
* Determines an item is collapsed
*/
Collapsed
=
0
,
/**
* Determines an item is expanded
*/
Expanded
=
1
}
export
interface
CommentThread
{
threadId
:
string
;
resource
:
string
;
range
:
IRange
;
comments
:
Comment
[];
collapsibleState
?:
CommentThreadCollapsibleState
;
reply
?:
Command
;
}
export
interface
NewCommentAction
{
ranges
:
IRange
[];
actions
:
Command
[];
}
export
interface
Comment
{
readonly
commentId
:
string
;
readonly
body
:
IMarkdownString
;
readonly
userName
:
string
;
readonly
gravatar
:
string
;
readonly
command
?:
Command
;
}
export
interface
CommentThreadChangedEvent
{
readonly
owner
:
number
;
/**
* Added comment threads.
*/
readonly
added
:
CommentThread
[];
/**
* Removed comment threads.
*/
readonly
removed
:
CommentThread
[];
/**
* Changed comment threads.
*/
readonly
changed
:
CommentThread
[];
}
export
interface
DocumentCommentProvider
{
provideDocumentComments
(
resource
:
Uri
,
token
:
CancellationToken
):
Promise
<
CommentInfo
>
;
createNewCommentThread
(
resource
:
Uri
,
range
:
Range
,
text
:
string
,
token
:
CancellationToken
):
Promise
<
CommentThread
>
;
replyToCommentThread
(
resource
:
Uri
,
range
:
Range
,
thread
:
CommentThread
,
text
:
string
,
token
:
CancellationToken
):
Promise
<
CommentThread
>
;
onDidChangeCommentThreads
():
IEvent
<
CommentThreadChangedEvent
>
;
}
export
interface
WorkspaceCommentProvider
{
provideWorkspaceComments
(
token
:
CancellationToken
):
Promise
<
CommentThread
[]
>
;
createNewCommentThread
(
resource
:
Uri
,
range
:
Range
,
text
:
string
,
token
:
CancellationToken
):
Promise
<
CommentThread
>
;
replyToCommentThread
(
resource
:
Uri
,
range
:
Range
,
thread
:
CommentThread
,
text
:
string
,
token
:
CancellationToken
):
Promise
<
CommentThread
>
;
onDidChangeCommentThreads
():
IEvent
<
CommentThreadChangedEvent
>
;
}
export
interface
ICodeLensSymbol
{
range
:
IRange
;
id
?:
string
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录