mirror of
https://github.com/jlengrand/elm-language-client-vscode.git
synced 2026-03-10 08:11:17 +00:00
Append the subproject to our output channels
This commit is contained in:
@@ -119,7 +119,17 @@ function startClient(context: ExtensionContext, elmWorkspace: Uri) {
|
||||
},
|
||||
run: { module: serverModule, transport: TransportKind.ipc },
|
||||
};
|
||||
const outputChannel: OutputChannel = Window.createOutputChannel("elmLS");
|
||||
|
||||
if (!workspace.workspaceFolders) {
|
||||
return;
|
||||
}
|
||||
|
||||
const outputChannel: OutputChannel = Window.createOutputChannel(
|
||||
"elmLS " +
|
||||
elmWorkspace
|
||||
.toString(true)
|
||||
.replace(workspace.workspaceFolders[0].uri.toString(true), ""),
|
||||
);
|
||||
|
||||
// Options to control the language client
|
||||
const clientOptions: LanguageClientOptions = {
|
||||
|
||||
Reference in New Issue
Block a user