Skip to content

Commit 29d9395

Browse files
committed
fix: do not show popup on LSP errors
1 parent cb71e2b commit 29d9395

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## [unreleased]
4+
5+
- Do not popup warning dialog on LSP errors
6+
37
## [1.6.0] - 2024-12-05
48

59
- Bundle phpactor 2024.11.28.1

src/extension.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import { LanguageClient, ServerOptions, LanguageClientOptions, StreamInfo } from 'vscode-languageclient'
1+
import {
2+
LanguageClient,
3+
ServerOptions,
4+
LanguageClientOptions,
5+
StreamInfo,
6+
RevealOutputChannelOn,
7+
} from 'vscode-languageclient'
28
import { EvaluatableExpressionRequest } from './protocol'
39

410
import * as vscode from 'vscode'
@@ -143,6 +149,7 @@ function createClient(config: PhpactorConfig): LanguageClient {
143149
{ language: LanguageID, scheme: 'untitled' },
144150
],
145151
initializationOptions: config.config,
152+
revealOutputChannelOn: RevealOutputChannelOn.Never,
146153
}
147154

148155
languageClient = new LanguageClient('phpactor', 'Phpactor Language Server', serverOptions, clientOptions)

0 commit comments

Comments
 (0)