From 0ac5ed5a84799e52770cdd5edf0b8c099c3c0421 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 25 Apr 2020 21:11:18 +0200 Subject: [PATCH] Remove dead code --- editors/code/src/client.ts | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 0ad4b63aeb..f702829cdf 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts @@ -42,35 +42,6 @@ export async function createClient(serverPath: string, cwd: string): Promise { - if (typeof messageOrDataObject === 'string') { - if ( - messageOrDataObject.includes( - 'rust-analyzer/publishDecorations', - ) || - messageOrDataObject.includes( - 'rust-analyzer/decorationsRequest', - ) - ) { - // Don't log publish decorations requests - } else { - // @ts-ignore This is just a utility function - res.logTrace(messageOrDataObject, data); - } - } else { - // @ts-ignore - res.logObjectTrace(messageOrDataObject); - } - }, - }; - // To turn on all proposed features use: res.registerProposedFeatures(); // Here we want to enable CallHierarchyFeature and SemanticTokensFeature // since they are available on stable.