From 7254221049f91a93f736f90632bcc236ec8022d4 Mon Sep 17 00:00:00 2001 From: James Brownlee Date: Fri, 29 Dec 2023 02:35:15 -0500 Subject: [PATCH] Update RefactLanguageClient.cs --- MultilineGreyText/RefactLanguageClient.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MultilineGreyText/RefactLanguageClient.cs b/MultilineGreyText/RefactLanguageClient.cs index 5a97b5d..f8655dc 100644 --- a/MultilineGreyText/RefactLanguageClient.cs +++ b/MultilineGreyText/RefactLanguageClient.cs @@ -247,7 +247,9 @@ public async Task RefactCompletion(PropertyCollection props, String file if(this.Rpc == null){ return null; } - + if (!ContainsFile(fileUri)){ + return; + } //catching server errors try{ //args to send for refact/getCompletions