mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-31 12:16:22 +01:00
- Define a new extension point `configurationDefaults` for contributing default language specific editor settings
20 lines
711 B
TypeScript
20 lines
711 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import * as assert from 'assert';
|
|
import * as vscode from 'vscode';
|
|
|
|
suite('Configuration tests', () => {
|
|
|
|
test('Default configurations', function () {
|
|
const defaultLanguageSettings = vscode.workspace.getConfiguration().get('[abcLang]');
|
|
|
|
assert.deepEqual(defaultLanguageSettings, {
|
|
'editor.lineNumbers': 'off',
|
|
'editor.tabSize': 2
|
|
});
|
|
});
|
|
|
|
}); |