From 0ac5ed5a84799e52770cdd5edf0b8c099c3c0421 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 25 Apr 2020 21:11:18 +0200 Subject: Remove dead code --- editors/code/src/client.ts | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'editors/code/src/client.ts') diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 0ad4b63ae..f702829cd 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. -- cgit v1.2.3