Skip to content

Commit 3f89b8a

Browse files
committed
add _wasActivated back
1 parent 3cd363f commit 3f89b8a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ import {
2222
RequestType0,
2323
PartialResultParams,
2424
ProtocolRequestType,
25-
MessageType,
2625
SocketMessageWriter,
2726
SocketMessageReader,
2827
MessageTransports,
29-
RAL
28+
RAL,
3029
} from 'vscode-languageclient/node';
3130
import { PlatformInformation } from '../shared/platform';
3231
import { readConfigurations } from './configurationMiddleware';
@@ -59,6 +58,10 @@ import { registerOnAutoInsert } from './onAutoInsert';
5958
let _channel: vscode.OutputChannel;
6059
let _traceChannel: vscode.OutputChannel;
6160

61+
// Flag indicating if C# Devkit was installed the last time we activated.
62+
// Used to determine if we need to restart the server on extension changes.
63+
let _wasActivatedWithCSharpDevkit: boolean | undefined;
64+
6265
interface TransmittedInformation {
6366
Key: string;
6467
Value: string;
@@ -68,7 +71,7 @@ export class RoslynLanguageServer {
6871
// These are notifications we will get from the LSP server and will forward to the Razor extension.
6972
private static readonly provideRazorDynamicFileInfoMethodName: string = 'razor/provideDynamicFileInfo';
7073
private static readonly removeRazorDynamicFileInfoMethodName: string = 'razor/removeDynamicFileInfo';
71-
74+
7275
/**
7376
* The encoding to use when writing to and from the stream.
7477
*/

0 commit comments

Comments
 (0)