{"id":13450842,"url":"https://github.com/salesforce/bazel-ls-eclipse","last_synced_at":"2025-03-23T16:32:40.887Z","repository":{"id":48280458,"uuid":"239556677","full_name":"salesforce/bazel-ls-eclipse","owner":"salesforce","description":"POC of a Java-only language server for Bazel","archived":true,"fork":false,"pushed_at":"2022-02-12T14:36:36.000Z","size":23230,"stargazers_count":8,"open_issues_count":20,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-07-31T07:15:49.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salesforce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE2.0.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null}},"created_at":"2020-02-10T16:21:29.000Z","updated_at":"2023-01-28T03:08:27.000Z","dependencies_parsed_at":"2022-09-13T02:22:30.847Z","dependency_job_id":null,"html_url":"https://github.com/salesforce/bazel-ls-eclipse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforce%2Fbazel-ls-eclipse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforce%2Fbazel-ls-eclipse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforce%2Fbazel-ls-eclipse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforce%2Fbazel-ls-eclipse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salesforce","download_url":"https://codeload.github.com/salesforce/bazel-ls-eclipse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221856521,"owners_count":16892456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T07:00:39.205Z","updated_at":"2024-10-28T16:32:11.260Z","avatar_url":"https://github.com/salesforce.png","language":"Java","readme":"***This code has been been merged back into [bazel-eclipse](https://github.com/salesforce/bazel-eclipse).***\nNo further development activity will happen here.\n\n----\n\n[![](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![](https://img.shields.io/badge/license-EPL%202-blue.svg)](http://www.eclipse.org/legal/epl-v20.html)\n\nB2Eclipse\n===========================\n\nThis is the set of Eclipse plugins for developing Bazel projects in Eclipse. Currently supports running in a language server mode only (through the [Eclipse JDT LS](https://github.com/eclipse/eclipse.jdt.ls)).\n\nRepository structure\n--------------------\n- **com.salesforce.b2eclipse.jdt.ls** - the code which does all that Bazel-related stuff for building classpaths before they can be further processed by JDT.\n- **com.salesforce.b2eclipse.repository** - here you can find the outcome of the build (packaged plugins).\n- **com.salesforce.b2eclipse.tests** - integration tests for the jdt.ls plugin.\n- **com.salesforce.b2eclipse.ui** - a plugin for the client (the one which is connected to the language server for code interactions). It's rather a simple connection provider to a language server, not a full-fledged UI plugin.\n\nProperties\n----------\nThe following properties are passed from the client to configure the plugin:\n- `java.import.bazel.enabled` - whether Bazel support should be enabled in JDT LS (disabled by default);\n- `java.import.bazel.src.path` - location of sources (relative to a package). Defaults to `/src/main/java`;\n- `java.import.bazel.test.path` - location of test sources (relative to a package). Defaults to `/src/test/java`.\n\nAssumptions\n-----------\n- Root package is not allowed (i.e. there should be no BUILD file beside the WORKSPACE);\n- A project has to be in a valid state (i.e. no unsatisfied  dependencies are allowed);\n- Each package is to have sources;\n- Sources of a package are expected to be under the path specified through the following properties: `java.import.bazel.src.path`, `java.import.bazel.test.path` (details in the [Properties](#properties) section).\n- Sources of a package cannot reside in the root of it. They should be in a subdir;\n- Subpackages are not supported (i.e. package within package).\n\nFuture vision\n-------------\nWill be shipped separately as two independent features: standalone feature and as extension for Eclipse JDT LS.\n\n![Vision diagram](../assets/images/vision-diagram.png?raw=true)\n\nBuilding from the command line\n----------------------------\n\nThe following command will install [Apache Maven](https://maven.apache.org/) if necessary, then build the server into the  `/com.salesforce.b2eclipse.repository/target/repository` folder:\n```bash\n    $ ./mvnw clean verify\n````\nNote: currently, the build can only run when launched with JDK 8.\n\nFeatures\n--------------\n* Code completion\n* Code navigation\n\nLicense\n-------\nThis work is dual-licensed under EPL 2.0 and Apache License 2.0. See corresponding files:\n[EPL2.0](LICENSE-EPL2.0.txt), [Apache License 2.0](LICENSE-APACHE2.0.txt).\n","funding_links":[],"categories":["Tooling"],"sub_categories":["Editors"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforce%2Fbazel-ls-eclipse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalesforce%2Fbazel-ls-eclipse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforce%2Fbazel-ls-eclipse/lists"}