Skip to content

Commit d6c551e

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

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LanguageClient, ServerOptions, LanguageClientOptions, StreamInfo } from 'vscode-languageclient'
1+
import { LanguageClient, ServerOptions, LanguageClientOptions, StreamInfo, RevealOutputChannelOn } from 'vscode-languageclient'
22
import { EvaluatableExpressionRequest } from './protocol'
33

44
import * as vscode from 'vscode'
@@ -143,6 +143,7 @@ function createClient(config: PhpactorConfig): LanguageClient {
143143
{ language: LanguageID, scheme: 'untitled' },
144144
],
145145
initializationOptions: config.config,
146+
revealOutputChannelOn: RevealOutputChannelOn.Never
146147
}
147148

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

0 commit comments

Comments
 (0)