Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
bb51ca00
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,体验更适合开发者的 AI 搜索 >>
提交
bb51ca00
编写于
3月 08, 2018
作者:
A
Alex Dima
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Align standalone editor CompletionItem
上级
c2c9e49b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
16 addition
and
15 deletion
+16
-15
build/monaco/package.json
build/monaco/package.json
+1
-1
src/vs/editor/standalone/browser/standaloneLanguages.ts
src/vs/editor/standalone/browser/standaloneLanguages.ts
+8
-7
src/vs/monaco.d.ts
src/vs/monaco.d.ts
+7
-7
未找到文件。
build/monaco/package.json
浏览文件 @
bb51ca00
{
"name"
:
"monaco-editor-core"
,
"private"
:
true
,
"version"
:
"0.11.
0
"
,
"version"
:
"0.11.
1
"
,
"description"
:
"A browser based code editor"
,
"author"
:
"Microsoft Corporation"
,
"license"
:
"MIT"
,
...
...
src/vs/editor/standalone/browser/standaloneLanguages.ts
浏览文件 @
bb51ca00
...
...
@@ -24,6 +24,7 @@ import { IMarkerData } from 'vs/platform/markers/common/markers';
import
{
Token
,
TokenizationResult
,
TokenizationResult2
}
from
'
vs/editor/common/core/token
'
;
import
{
IStandaloneThemeService
}
from
'
vs/editor/standalone/common/standaloneThemeService
'
;
import
*
as
model
from
'
vs/editor/common/model
'
;
import
{
IMarkdownString
}
from
'
vs/base/common/htmlContent
'
;
/**
* Register information about a new language.
...
...
@@ -494,7 +495,7 @@ export interface CompletionItem {
/**
* A human-readable string that represents a doc-comment.
*/
documentation
?:
string
;
documentation
?:
string
|
IMarkdownString
;
/**
* A command that should be run upon acceptance of this item.
*/
...
...
@@ -527,6 +528,12 @@ export interface CompletionItem {
* [contain](#Range.contains) the position at which completion has been [requested](#CompletionItemProvider.provideCompletionItems).
*/
range
?:
Range
;
/**
* An optional set of characters that when pressed while this completion is active will accept it first and
* then type that character. *Note* that all commit characters should have `length=1` and that superfluous
* characters will be ignored.
*/
commitCharacters
?:
string
[];
/**
* @deprecated **Deprecated** in favor of `CompletionItem.insertText` and `CompletionItem.range`.
*
...
...
@@ -544,12 +551,6 @@ export interface CompletionItem {
* nor with themselves.
*/
additionalTextEdits
?:
model
.
ISingleEditOperation
[];
/**
* An optional set of characters that when pressed while this completion is active will accept it first and
* then type that character. *Note* that all commit characters should have `length=1` and that superfluous
* characters will be ignored.
*/
commitCharacters
?:
string
[];
}
/**
* Represents a collection of [completion items](#CompletionItem) to be presented
...
...
src/vs/monaco.d.ts
浏览文件 @
bb51ca00
...
...
@@ -4149,7 +4149,7 @@ declare module monaco.languages {
/**
* A human-readable string that represents a doc-comment.
*/
documentation
?:
string
;
documentation
?:
string
|
IMarkdownString
;
/**
* A command that should be run upon acceptance of this item.
*/
...
...
@@ -4182,6 +4182,12 @@ declare module monaco.languages {
* [contain](#Range.contains) the position at which completion has been [requested](#CompletionItemProvider.provideCompletionItems).
*/
range
?:
Range
;
/**
* An optional set of characters that when pressed while this completion is active will accept it first and
* then type that character. *Note* that all commit characters should have `length=1` and that superfluous
* characters will be ignored.
*/
commitCharacters
?:
string
[];
/**
* @deprecated **Deprecated** in favor of `CompletionItem.insertText` and `CompletionItem.range`.
*
...
...
@@ -4199,12 +4205,6 @@ declare module monaco.languages {
* nor with themselves.
*/
additionalTextEdits
?:
editor
.
ISingleEditOperation
[];
/**
* An optional set of characters that when pressed while this completion is active will accept it first and
* then type that character. *Note* that all commit characters should have `length=1` and that superfluous
* characters will be ignored.
*/
commitCharacters
?:
string
[];
}
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录