mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Emmet suggestions for jsx only when expicitly asked for #29532
This commit is contained in:
@@ -26,7 +26,9 @@ export class DefaultCompletionItemProvider implements vscode.CompletionItemProvi
|
||||
syntax = this.syntaxHelper(syntax, document, position);
|
||||
}
|
||||
|
||||
if (!syntax || (isSyntaxMapped && vscode.workspace.getConfiguration('emmet')['showExpandedAbbreviation'] !== 'always')) {
|
||||
if (!syntax
|
||||
|| ((isSyntaxMapped || syntax === 'jsx')
|
||||
&& vscode.workspace.getConfiguration('emmet')['showExpandedAbbreviation'] !== 'always')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user