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

chore: Backport changes from Metals #19592

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

jkciesluk
Copy link
Contributor

)
)
val caseItems =
if res.isEmpty then completionGenerator.caseKeywordOnly
Copy link
Contributor

Choose a reason for hiding this comment

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

If I understand correctly, the case completion will only appear when there are no other candidates ? I think we can go one step further and make case keyword to always be added to the list. What do you think ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here scalameta/metals#5346 (comment) we decided to only show case if there are no other completions

@rochala rochala merged commit f15bbda into scala:main Feb 2, 2024
19 checks passed
@Kordyjan Kordyjan added this to the 3.4.1 milestone Feb 14, 2024
WojciechMazur pushed a commit that referenced this pull request Jun 28, 2024
WojciechMazur pushed a commit that referenced this pull request Jun 30, 2024
WojciechMazur pushed a commit that referenced this pull request Jun 30, 2024
WojciechMazur pushed a commit that referenced this pull request Jun 30, 2024
WojciechMazur pushed a commit that referenced this pull request Jun 30, 2024
WojciechMazur pushed a commit that referenced this pull request Jun 30, 2024
WojciechMazur pushed a commit that referenced this pull request Jun 30, 2024
WojciechMazur added a commit that referenced this pull request Jul 1, 2024
Backports #19592 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
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.

3 participants