Skip to content

Conversation

@IntegerLimit
Copy link
Contributor

@IntegerLimit IntegerLimit commented Sep 21, 2025

This PR filters the completions coming from object mappers, so only the ones relevant are sent over lsp.

No APIs have been changed, so no incompatibilities should have been created.

I have not modified completions to filter for all, since this behaviour needs only to target object mapper completions.

This allows, for example, completion of item( mapper for items from mods with a modid low in the alphabet in large modpacks.

Copy link
Member

@brachy84 brachy84 left a comment

Choose a reason for hiding this comment

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

Why are you creating a separate list? Why are you not filtering where the items are added?

@brachy84 brachy84 added enhancement New feature or request lang-server Issues and PRs relating to the Language Server labels Oct 5, 2025
@IntegerLimit
Copy link
Contributor Author

Why are you creating a separate list? Why are you not filtering where the items are added?

Fixed in latest commit.

@IntegerLimit IntegerLimit requested a review from brachy84 October 8, 2025 01:24
@brachy84 brachy84 merged commit 560624a into CleanroomMC:master Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lang-server Issues and PRs relating to the Language Server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants