@@ -274,10 +274,7 @@ export function activate(context: ExtensionContext) {
274
274
languageClient . protocol2CodeConverter . asCodeLenses ( a ) ;
275
275
displayCodeLens ( document , result ) ;
276
276
return [ ] ;
277
- } ,
278
- ( reason ) => {
279
- console . log ( JSON . stringify ( reason ) ) ;
280
- } ) ;
277
+ } ) ;
281
278
} ;
282
279
283
280
// Options to control the language client
@@ -660,7 +657,7 @@ export function activate(context: ExtensionContext) {
660
657
for ( let type of
661
658
[ 'types' , 'freeStandingFunctions' , 'memberFunctions' ,
662
659
'freeStandingVariables' , 'memberVariables' , 'namespaces' ,
663
- 'macros' , 'enums' , 'typeAliases' , 'enumConstants' ,
660
+ 'macros' , 'enums' , 'typeAliases' , 'enumConstants' ,
664
661
'staticMemberFunctions' , 'parameters' ,
665
662
'staticMemberVariables' ] ) {
666
663
semanticDecorations . set ( type , makeDecorations ( type ) ) ;
@@ -686,7 +683,7 @@ export function activate(context: ExtensionContext) {
686
683
return decorations [ symbol . stableId % decorations . length ] ;
687
684
} ;
688
685
689
- if ( symbol . kind == SemanticSymbolKind . Class ||
686
+ if ( symbol . kind == SemanticSymbolKind . Class ||
690
687
symbol . kind == SemanticSymbolKind . Struct ||
691
688
symbol . kind == SemanticSymbolKind . Union ) {
692
689
return get ( 'types' ) ;
0 commit comments