8000 Completion fixes by 333fred · Pull Request #71 · jjonescz/DotNetLab · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Completion fixes #71

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 4 commits into from
May 22, 2025
Merged

Completion fixes #71

merged 4 commits into from
May 22, 2025

Conversation

333fred
Copy link
Contributor
@333fred 333fred commented May 20, 2025

Commit 1: VS has a concept of soft-select vs hard-select mode, which controls when characters like , will be used to commit values in completion. We don't want hard-select in things like argument name completion, so I've gone and borrowed the code I originally wrote for O# to implement soft-select for razorlab as well.
Commit 2: Create a completion trigger and pass it along to Roslyn, so that it knows why completion is being triggered. This ensures that the list isn't shown when it shouldn't be.

Fixes #70.

@333fred 333fred changed the title Implement soft-select mode for completion Completion fixes May 21, 2025
@jjonescz jjonescz added the bug Something isn't working label May 22, 2025
Copy link
Owner
@jjonescz jjonescz left a comment

Choose a reason for hiding this comment

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

Thanks!

@jjonescz jjonescz enabled auto-merge May 22, 2025 12:40
@jjonescz jjonescz disabled auto-merge May 22, 2025 12:40
@jjonescz jjonescz merged commit 9696f50 into jjonescz:main May 22, 2025
1 of 2 checks passed
@333fred 333fred deleted the soft-select branch May 22, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Completion commit characters are too aggressive
2 participants
0