Skip to content

Feat:[TECH-16260] add a switch to extension#4

Merged
Donald-Lao merged 1 commit intodevfrom
dongyao.liu/TECH-16260-add-a-switch-to-vscode-extension
Jan 29, 2026
Merged

Feat:[TECH-16260] add a switch to extension#4
Donald-Lao merged 1 commit intodevfrom
dongyao.liu/TECH-16260-add-a-switch-to-vscode-extension

Conversation

@Donald-Lao
Copy link
Copy Markdown
Collaborator

No description provided.

'Bazel VSCode extension for Java is disabled. To enable it, set "java.bazel-vscode.enabled" to true in your settings.'
);
return Promise.resolve({
parseProjectFile: await getBazelProjectFile(),
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we still need this? maybe just return; ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be error of Type 'undefined' is not assignable to type 'BazelVscodeExtensionAPI'.ts(2322).
The function getBazelProjectFile only read the config file, it cost very short time.

Copy link
Copy Markdown
Owner

@zhirui1994 zhirui1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Donald-Lao Donald-Lao merged commit 52ba904 into dev Jan 29, 2026
@Donald-Lao Donald-Lao deleted the dongyao.liu/TECH-16260-add-a-switch-to-vscode-extension branch January 29, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants