mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-21 18:59:15 +00:00
Add doNotAddAttributeQuotes setting to disable automatic quotes
This commit is contained in:
@@ -26,6 +26,10 @@ export function getHTMLMode(htmlLanguageService: HTMLLanguageService, workspace:
|
||||
if (doAutoComplete) {
|
||||
options.hideAutoCompleteProposals = true;
|
||||
}
|
||||
let doNotAddAttributeQuotes = settings && settings.html && settings.html.doNotAddAttributeQuotes;
|
||||
if (doNotAddAttributeQuotes) {
|
||||
options.doNotAddAttributeQuotes = true;
|
||||
}
|
||||
|
||||
const htmlDocument = htmlDocuments.get(document);
|
||||
let completionList = htmlLanguageService.doComplete2(document, position, htmlDocument, documentContext, options);
|
||||
|
||||
Reference in New Issue
Block a user