mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
rename language detection setting and ensure one worker gets created
This commit is contained in:
@@ -20,7 +20,7 @@ suite('vscode - untitled automatic language detection', () => {
|
||||
|
||||
assert.strictEqual(editor.document.languageId, 'plaintext');
|
||||
|
||||
const settingResult = vscode.workspace.getConfiguration().get<boolean>('workbench.editor.untitled.experimentalLanguageDetection');
|
||||
const settingResult = vscode.workspace.getConfiguration().get<boolean>('workbench.editor.untitled.languageDetection');
|
||||
assert.ok(settingResult);
|
||||
|
||||
const result = await editor.edit(editBuilder => {
|
||||
|
||||
Reference in New Issue
Block a user