Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add custom gson config #1191

Closed
wants to merge 1 commit into from

Conversation

yanshudan
Copy link

No description provided.

@@ -208,6 +215,24 @@ public Class<? extends LanguageServer> getServerInterface() {
return super.getServerInterface();
}

@SuppressWarnings("unchecked")
@Override
public Consumer<GsonBuilder> getConfigureGson() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should use the method createLauncherBuilder as a template

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I think you can create a helper method that can be reused by both methods, just passing CONFIGURE_GSON_ATTRIBUTE or LAUNCHER_BUILDER_ATTRIBUTE

@rubenporras
Copy link
Contributor

Hi @yanshudan ,

I understand that you do not need this PR, so I am closing it, if I am wrong, please open it again.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants