Skip to content

Commit 4f05f24

Browse files
committed
Update comment
1 parent f6f2204 commit 4f05f24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

extension/src/Extension.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,9 @@ export class Extension {
389389

390390
private async registerGradleTestRunner(): Promise<void> {
391391
// To register the Gradle test runner, we need to wait for the Test Runner extension to be activated.
392-
// The Test Runner extension is dependent on the Java extension, VS Code has an issue that it doesn't
393-
// activate the Java extension before the Test Runner extension if we call testExtension.activate().
392+
// The Test Runner extension depends on the Java extension, VS Code has an issue that it doesn't
393+
// activate the Java extension before the Test Runner extension if we call activate() for the test extension.
394+
// Thus here we need to activate the Java extension first.
394395
const javaLsExtension = vscode.extensions.getExtension("redhat.java");
395396
if (!javaLsExtension) {
396397
return;

0 commit comments

Comments
 (0)