mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
register selectionRangeProviders
This commit is contained in:
parent
89afd3fe5e
commit
81380bb822
|
@ -140,7 +140,8 @@ connection.onInitialize((params: InitializeParams): InitializeResult => {
|
||||||
codeActionProvider: true,
|
codeActionProvider: true,
|
||||||
renameProvider: true,
|
renameProvider: true,
|
||||||
colorProvider: {},
|
colorProvider: {},
|
||||||
foldingRangeProvider: true
|
foldingRangeProvider: true,
|
||||||
|
selectionRangeProvider: true
|
||||||
};
|
};
|
||||||
return { capabilities };
|
return { capabilities };
|
||||||
});
|
});
|
||||||
|
|
|
@ -135,7 +135,8 @@ connection.onInitialize((params: InitializeParams): InitializeResult => {
|
||||||
signatureHelpProvider: { triggerCharacters: ['('] },
|
signatureHelpProvider: { triggerCharacters: ['('] },
|
||||||
referencesProvider: true,
|
referencesProvider: true,
|
||||||
colorProvider: {},
|
colorProvider: {},
|
||||||
foldingRangeProvider: true
|
foldingRangeProvider: true,
|
||||||
|
selectionRangeProvider: true
|
||||||
};
|
};
|
||||||
return { capabilities };
|
return { capabilities };
|
||||||
});
|
});
|
||||||
|
|
|
@ -154,7 +154,8 @@ connection.onInitialize((params: InitializeParams): InitializeResult => {
|
||||||
documentSymbolProvider: true,
|
documentSymbolProvider: true,
|
||||||
documentRangeFormattingProvider: false,
|
documentRangeFormattingProvider: false,
|
||||||
colorProvider: {},
|
colorProvider: {},
|
||||||
foldingRangeProvider: true
|
foldingRangeProvider: true,
|
||||||
|
selectionRangeProvider: true
|
||||||
};
|
};
|
||||||
|
|
||||||
return { capabilities };
|
return { capabilities };
|
||||||
|
|
Loading…
Reference in a new issue