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*)?)?)?$/;
|
||||
|
||||
Reference in New Issue
Block a user