mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
[html/css] decorators for embedded css
This commit is contained in:
@@ -176,8 +176,11 @@ connection.onCodeAction(codeActionParams => {
|
||||
|
||||
connection.onRequest(ColorSymbolRequest.type, uri => {
|
||||
let document = documents.get(uri);
|
||||
let stylesheet = stylesheets.get(document);
|
||||
return getLanguageService(document).findColorSymbols(document, stylesheet);
|
||||
if (document) {
|
||||
let stylesheet = stylesheets.get(document);
|
||||
return getLanguageService(document).findColorSymbols(document, stylesheet);
|
||||
}
|
||||
return [];
|
||||
});
|
||||
|
||||
connection.onRenameRequest(renameParameters => {
|
||||
|
||||
Reference in New Issue
Block a user