提交 78809b70 编写于 作者: R Ramya Achutha Rao

Fallback to tab for non empty selections

上级 e3238c45
......@@ -100,6 +100,11 @@ export function expandEmmetAbbreviation(args): Thenable<boolean> {
return fallbackTab();
}
// When tabbed on a non empty selection, do not treat it as an emmet abbreviation, and fallback to tab instead
if (vscode.workspace.getConfiguration('emmet')['triggerExpansionOnTab'] === true && editor.selections.find(x => !x.isEmpty)) {
return fallbackTab();
}
let abbreviationList: ExpandAbbreviationInput[] = [];
let firstAbbreviation: string;
let allAbbreviationsSame: boolean = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册