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

Language Server fixes and improvements #235

Merged
merged 25 commits into from
Oct 4, 2024
Merged

Language Server fixes and improvements #235

merged 25 commits into from
Oct 4, 2024

Conversation

brachy84
Copy link
Member

@brachy84 brachy84 commented Aug 30, 2024

  • replace most stream calls with for loops
  • add custom uri decoder/encoder because java doesnt provide a good that does what i need
  • stop using deprecated api
  • more helpers
  • fix some potential crashes

closes #233

@brachy84 brachy84 added bug Something isn't working refactor Something is rewritten labels Aug 30, 2024
Copy link
Collaborator

@WaitingIdly WaitingIdly left a comment

Choose a reason for hiding this comment

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

there are at least a few unused imports in these files that ought to be cleaned up

@WaitingIdly WaitingIdly added the lang-server Issues and PRs relating to the Language Server label Aug 30, 2024
Copy link
Collaborator

@WaitingIdly WaitingIdly left a comment

Choose a reason for hiding this comment

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

private/protected methods show up in the autocomplete - need to add a bunch of xyz.isPublic() && or || !xyz.isPublic() in CompletionProvider to block them.

for some reason, when there are multiple methods with the same name but different parameters, only one is presented - this seems incorrect to me. additionally, sometimes this entry will have a semicolon ; at the end.
image
image

zznty and others added 7 commits October 1, 2024 18:26
* prototype of inline icons for ObjectMapper

* inline icons for ObjectMapper

* fix icon uri encoding

* fix icon position

* fix some issues

* add setting to disable icons
# Conflicts:
#	src/main/java/com/cleanroommc/groovyscript/GroovyScript.java
#	src/main/java/com/cleanroommc/groovyscript/sandbox/GroovySandbox.java
@brachy84 brachy84 merged commit be47fbd into master Oct 4, 2024
@brachy84 brachy84 deleted the lsp branch October 4, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lang-server Issues and PRs relating to the Language Server refactor Something is rewritten
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VSCode extension seizure
3 participants