Skip to content

Commit d5f86b6

Browse files
stamblerrehyangah
authored andcommitted
[release] goLanguageServer: attach gopls version to issue reports
Change-Id: Id902a44dc7f91b198c7cc4c36c783b66817a2ecb Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/251082 Run-TryBot: Rebecca Stambler <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> (cherry picked from commit 95570ec) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/252277
1 parent 60a00ed commit d5f86b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/goLanguageServer.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,8 +987,12 @@ You will be asked to provide additional information and logs, so PLEASE READ THE
987987
errKind = 'initialization';
988988
break;
989989
}
990+
const usersGoplsVersion = await getLocalGoplsVersion(latestConfig);
990991
const title = `gopls: automated issue report (${errKind})`;
991-
const body = `ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
992+
const body = `
993+
gopls version: ${usersGoplsVersion}
994+
995+
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
992996
993997
Describe what you observed.
994998

0 commit comments

Comments
 (0)