Skip to content

Merge InlayHintOptions into UserPreferences #47729

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

Merged
merged 2 commits into from
Feb 15, 2022
Merged

Merge InlayHintOptions into UserPreferences #47729

merged 2 commits into from
Feb 15, 2022

Conversation

gabritto
Copy link
Member

@gabritto gabritto commented Feb 3, 2022

Functions related to inlay hints expected a parameter of type InlayHintOptions, which extended UserPreferences. But they are called with a UserPreferences argument (from the preferences we store on a Session/ProjectService). So the inlay hints options should be part of UserPreferences, since it's no longer only an experimental feature.

This is technically a breaking API change, since it removes the InlayHintOptions interface.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Feb 3, 2022
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

Should probably keep this until after 4.6.

@sandersn
Copy link
Member

I'm going to merge this since main is open for 4.7 PRs.

@sandersn sandersn merged commit d0e1255 into main Feb 15, 2022
@sandersn sandersn deleted the gabritto/inlayopts branch February 15, 2022 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants