提交 e683ace9 编写于 作者: J Johannes Rieken
上级 d34d2037
......@@ -439,4 +439,13 @@ suite('SnippetController2', function () {
ctrl.insert('\nfoo');
assertSelections(editor, new Selection(2, 8, 2, 8));
});
test('leading TAB by snippets won\'t replace by spaces #101870', function () {
this.skip();
const ctrl = new SnippetController2(editor, logService, contextKeys);
model.setValue('');
model.updateOptions({ insertSpaces: true, tabSize: 4 });
ctrl.insert('\tHello World\n\tNew Line');
assert.strictEqual(model.getValue(), ' Hello World\n New Line');
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册