Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ls-dev] Bazel support for Eclipse JDT LS
  • From: Pavel Mitrafanau <Pavel_Mitrafanau@xxxxxxxx>
  • Date: Thu, 2 Apr 2020 13:34:39 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AwORj1+G8M0+AJp4EI4NZP5T9sE91aTU9ITh8kGWvPk=; b=kWOmlaX4wDzGrbEQWXdCRWbFvs7nfM5C7CGdEu+R4J9lyrTOL/J9DXGS8o9jjo0yxXUqtezV3FFUJKBB2zO+Jcg2VPwaGqSpgRK1P1iLr9G1jkQfFGrpdSSKsqvS6qYGxA011xCJOB+Y0Wgkz/LcoR057A59Ahf8FAjSmFCtslg12zrqEIeLn2yzsSN3Yg6jmneEUaZfJ4G6CZrKCxUf5QvYieOg2XQWT0rcMBHBTcydvPm3L6QACphF1bGgrAvMxidkSi4etKXEPvRowLS2GjnjkXW1/5PyE61Mn8do3RaibUIqEWmsjmN9T6rQp/VlD8mGWKOnzMGgw0uHDIODag==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BzSQzIplNfHjR9I4D/IgV2zdVrV/T9977DbJuGFCCMNq3tSXGbRR6P9ch77MSJa8QvHWzwiDQ6UQzeEBIx+j8+DDvzniYlDnqjupno9HCoZMuZNncL8AFFN7sJwiQGBNMKCDPPwxzg7G2Bvkq3H10UqLFzMCCGtmOyYM9c5O/YL6Cc3LBwnCGqLPj4hDGtnAejZLU/CO3ZIfv1qJIK2vufAL6A6ZQeY7sM38EzdLDhRwH8Rl7xKxR4ROVleBb7chlnJ091ynKxu5LpwcE9+F9HqONxDmeN+mmr1QMx3FE4WTHJH4cQFYFXVBppXZ1JV8jEP5yyfI+ITHyKQAxrvX1A==
  • Delivered-to: jdt-ls-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jdt-ls-dev>
  • List-help: <mailto:jdt-ls-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jdt-ls-dev>, <mailto:jdt-ls-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jdt-ls-dev>, <mailto:jdt-ls-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWCPLwXs5ZIuQSjEmwGeC2k1OiVg==
  • Thread-topic: Bazel support for Eclipse JDT LS

Hi there,


Our team works on adding Bazel support for Eclipse JDT LS. During our research we discovered the following related issue: https://github.com/eclipse/eclipse.jdt.ls/issues/543.


At the moment we finished our PoC (Eclipse plugin) which successfully does the following to provide rich development experience:

  • Project importer

  • Classpath container and its initializer


You may see the code in the following repo: https://github.com/salesforce/bazel-eclipse-ls/tree/master/com.salesforce.b2eclipse.jdt.ls.


Apart from the above we forked the Eclipse JDT LS repo and made required changes to integrate with the plugin:

https://github.com/PMitrafanau/eclipse.jdt.ls/commit/69edfbaf1b4c6b7bb806a41ff5fa2fd2cf99f330


Also there is a simple plugin (for testing purposes, based on LSP4E) which connects to Language Server:

https://github.com/salesforce/bazel-eclipse-ls/tree/master/com.salesforce.b2eclipse.ui


It’s worth emphasizing that it was PoC, so can be considered as an experimental feature with limited functionality. Nevertheless development is active and there will be constant progress in adding new features and fixing existing problems. We think right now is a good moment to integrate our changes into the upstream Eclipse JDT LS repo and let interested people know that there is ongoing work. This may speed up the development process by involving more users and contributors.


It's also noteworthy that main development still occurs in aforementioned Salesforce's repos and will not burden your team.

We consider to start with Bazel feature disabled by default and importer itself has to have the lowest priority.


Please let us know if you are interested and whether we may proceed with the corresponding PR.


Thanks,

Pavel Mitrafanau

Senior Software Engineer

 

Office: +375 17 389 0100 x 53332   Cell: +375 44 594 4828   Email: pavel_mitrafanau@xxxxxxxx

Minsk, Belarus   epam.com

 

CONFIDENTIALITY CAUTION AND DISCLAIMER
This message is intended only for the use of the individual(s) or entity(ies) to which it is addressed and contains information that is legally privileged and confidential. If you are not the intended recipient, or the person responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. All unintended recipients are obliged to delete this message and destroy any printed copies.


Back to the top