Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
b028ee2
0.0.2 version of compass bazel java extenstion
zhirui1994 Dec 8, 2025
f64a451
update lock file
zhirui1994 Dec 8, 2025
775549e
0.0.2 version of compass bazel java extenstion
zhirui1994 Dec 8, 2025
1ee519e
update lock file
zhirui1994 Dec 8, 2025
1bb1229
Revert "refactored to work with bazel-vscode extension (#149)"
runchen0919 Jan 27, 2026
84c4de9
Merge pull request #2 from runchen0919/revert-refactored-to-work
zhirui1994 Jan 27, 2026
a135411
Feat:[TECH-16260] add a switch to extension
Donald-Lao Jan 29, 2026
52ba904
Merge pull request #4 from zhirui1994/dongyao.liu/TECH-16260-add-a-sw…
Donald-Lao Jan 29, 2026
f41fd72
fix: remove symlink-based project sync and use workspaceRoot directly
runchen0919 Feb 5, 2026
0922b55
feat: add individual project refresh with progress notification
runchen0919 Feb 12, 2026
0d97dd3
Merge pull request #5 from runchen0919/tech-16510-fix-sync-project-re…
runchen0919 Feb 12, 2026
9a61f96
Merge pull request #6 from runchen0919/expirement-refresh-individual-…
runchen0919 Feb 15, 2026
0376a61
version bump
runchen0919 Feb 23, 2026
2bd5e4a
Merge pull request #7 from runchen0919/version_bump
runchen0919 Feb 23, 2026
18a4568
feat: persist bazel-enabled config to file for JDTLS layer
runchen0919 Feb 28, 2026
2d8142b
Merge pull request #8 from runchen0919/forbidden-plugin-load-no-java-…
runchen0919 Mar 20, 2026
e91d998
chore: bump version to 0.0.9 with icon and branding updates
runchen0919 Mar 20, 2026
1246bd5
Merge pull request #9 from runchen0919/run.chen/update-information
runchen0919 Mar 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry = https://registry.npmjs.org
2 changes: 0 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"runtimeExecutable": "${execPath}",
"debugWebviews": true,
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionDevelopmentPath=${workspaceRoot}/../vscode-java"
],
Expand All @@ -97,7 +96,6 @@
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--disable-workspace-trust",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index",
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Bazel extension for Java™️ Language Support for VS Code
# Bazel extension for Java™️ Language Support by Compass for VS Code

[![Build](https://github.com/salesforce/bazel-vscode-java/actions/workflows/ci.yml/badge.svg)](https://github.com/salesforce/bazel-vscode-java/actions/workflows/ci.yml)
[![License](https://img.shields.io/github/license/salesforce/bazel-vscode-java?style=for-the-badge)](https://github.com/salesforce/bazel-vscode-java/blob/master/LICENSE)
[![Build](https://github.com/zhirui1994/bazel-vscode-java/actions/workflows/ci.yml/badge.svg)](https://github.com/zhirui1994/bazel-vscode-java/actions/workflows/ci.yml)
[![License](https://img.shields.io/github/license/zhirui1994/bazel-vscode-java?style=for-the-badge)](https://github.com/zhirui1994/bazel-vscode-java/blob/master/LICENSE)

This extension adds support for Bazel to the Java™️ Language Support for VS Code.
It plugs into the Eclipse Java Language server and computes project dependencies and classpath information using Bazel `BUILD` files.

## Getting Started

Go and [install the extension](vscode:extension/sfdc.bazel-vscode-java) from the VSCode Marketplace (see [listing here](https://marketplace.visualstudio.com/items?itemName=sfdc.bazel-vscode-java)) or OpenVSX Registry (see [listing here](https://open-vsx.org/extension/sfdc/bazel-vscode-java)).
Go and [install the extension](vscode:extension/COMP.java-bazel-extension-compass) from the VSCode Marketplace (see [listing here](https://marketplace.visualstudio.com/items?itemName=COMP.java-bazel-extension-compass)) or OpenVSX Registry (see [listing here](https://open-vsx.org/extension/COMP/java-bazel-extension-compass)).

Once installed, open VSCode in any Bazel Workspace with Java targets.
The extension will look for a `WORKSPACE` (`WORKSPACE.bazel`) file to identify a Bazel workspace.
Expand Down
25 changes: 0 additions & 25 deletions flake.lock

This file was deleted.

51 changes: 0 additions & 51 deletions flake.nix

This file was deleted.

30 changes: 25 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,33 @@ function downloadServerImpl() {

function buildServerImpl() {
fs.rmSync('./server', { recursive: true, force: true });
cp.execSync(mvnw() + ' clean package -DskipTests=true', {
cwd: BAZEL_ECLIPSE_DIR,
stdio: [0, 1, 2],
});
const jdtlsJar = fs
.readdirSync(
BAZEL_ECLIPSE_DIR + '/releng/p2repository/target/repository/plugins/'
)
.find(
(file) =>
file.startsWith('com.salesforce.bazel.eclipse.jdtls') &&
file.endsWith('.jar')
);

if (jdtlsJar) {
console.log(
'NOTE: skipping build and re-using existing "' +
jdtlsJar +
'" from ../bazel-eclipse/releng/p2repository/target/repository/plugins'
);
} else {
cp.execSync(mvnw() + ' clean package -DskipTests=true', {
cwd: BAZEL_ECLIPSE_DIR,
stdio: [0, 1, 2],
});
}
gulp
.src(
BAZEL_ECLIPSE_DIR + '/releng/p2repository/target/repository/plugins/*.jar'
BAZEL_ECLIPSE_DIR +
'/releng/p2repository/target/repository/plugins/*.jar',
{ encoding: false } // prevent gulp from reading the content as it's not needed
)
.pipe(DROP_JAR_VERSION)
.pipe(jarIsIncludedInPackageJson)
Expand Down
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading