未验证 提交 fa302f5d 编写于 作者: A Alex Dima

Fix tests

上级 03adc22e
......@@ -91,7 +91,7 @@ suite('Editor Contrib - Line Comment Command', () => {
' ',
' c',
'\t\td'
]), createBasicLinePreflightData(['//', 'rem', '!@#', '!@#']), 1, false);
]), createBasicLinePreflightData(['//', 'rem', '!@#', '!@#']), 1, true);
if (!r.supported) {
throw new Error(`unexpected`);
}
......@@ -122,7 +122,7 @@ suite('Editor Contrib - Line Comment Command', () => {
' rem ',
' !@# c',
'\t\t!@#d'
]), createBasicLinePreflightData(['//', 'rem', '!@#', '!@#']), 1, false);
]), createBasicLinePreflightData(['//', 'rem', '!@#', '!@#']), 1, true);
if (!r.supported) {
throw new Error(`unexpected`);
}
......
......@@ -3211,10 +3211,10 @@ declare namespace monaco.editor {
*/
insertSpace?: boolean;
/**
* Includes commenting empty lines when inserting line comments.
* Defaults to false.
* Ignore empty lines when inserting line comments.
* Defaults to true.
*/
includeEmptyLines?: boolean;
ignoreEmptyLines?: boolean;
}
export type EditorCommentsOptions = Readonly<Required<IEditorCommentsOptions>>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册