eclipse-lsp4j / lsp4j

A Java implementation of the language server protocol intended to be consumed by tools and language servers implemented in Java.
https://eclipse.org/lsp4j
Other
581 stars 141 forks source link

Supply a ToStringBuilder in common location #798

Closed jonahgraham closed 4 months ago

jonahgraham commented 4 months ago

When the dependency on xbase.lib was removed in #529 it put the implicit requirement that there is a class called ToStringBuilder in a sub-package of the xtend class called util.

This change provides the ToStringBuilder in an util package in the org.eclipse.lsp4j.jsonrpc bundle so that consumers of LSP4J do not need to copy ToStringBuilder into their own source code.

Fixes #742

jonahgraham commented 4 months ago

@eclipse-lsp4j/technology-lsp4j-committers if someone has time to review this and weigh in on whether it should make it into 0.22.0 that I will build tomorrow that will be great.