mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
[json] enable semantic selection
This commit is contained in:
@@ -94,9 +94,9 @@ export function activate(context: ExtensionContext) {
|
||||
});
|
||||
}
|
||||
};
|
||||
languages.registerSelectionRangeProvider('css', selectionRangeProvider);
|
||||
languages.registerSelectionRangeProvider('less', selectionRangeProvider);
|
||||
languages.registerSelectionRangeProvider('scss', selectionRangeProvider);
|
||||
documentSelector.forEach(selector => {
|
||||
languages.registerSelectionRangeProvider(selector, selectionRangeProvider);
|
||||
});
|
||||
|
||||
function initCompletionProvider(): Disposable {
|
||||
const regionCompletionRegExpr = /^(\s*)(\/(\*\s*(#\w*)?)?)?$/;
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
/// <reference path='../../../../../src/vs/vscode.d.ts'/>
|
||||
/// <reference path="../../../../../src/vs/vscode.proposed.d.ts" />
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user