feat: Add configuration-based control for Bazel Java integration#1
Open
runchen0919 wants to merge 1 commit intodevelopfrom
Open
feat: Add configuration-based control for Bazel Java integration#1runchen0919 wants to merge 1 commit intodevelopfrom
runchen0919 wants to merge 1 commit intodevelopfrom
Conversation
Implement a mechanism to enable/disable Bazel Java support via a .vscode/.bazel-java-enabled configuration file. The file is written by the VS Code extension and read by JDTLS during project import. Key features: - Check configuration file in applies() method before project import - Wait up to 500ms for config file to handle startup race conditions - Delete config file after reading to ensure clean state - Default to enabled if file doesn't exist or errors occur This allows the VS Code extension to control when Bazel Java integration should be activated based on user settings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement a mechanism to enable/disable Bazel Java support via a .vscode/.bazel-java-enabled configuration file. The file is written by the VS Code extension and read by JDTLS during project import.
Key features:
This allows the VS Code extension to control when Bazel Java integration should be activated based on user settings.