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

fix: prevent false-positive auto completions on Svelte components #2564

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

dummdidumm
Copy link
Member

Because Svelte components take precedence, we leave out commit characters to not auto complete in weird places (e.g. when you have foo.filter(a => a)) and get autocomplete for component A, then a commit character of . would auto import the component which is not what we want

Found after merging #2545 and playing around with it a bit

Because Svelte components take precedence, we leave out commit characters to not auto complete in weird places (e.g. when you have `foo.filter(a => a)`) and get autocomplete for component A, then a commit character of `.` would auto import the component which is not what we want

Found after merging #2545 and playing around with it a bit
@dummdidumm dummdidumm merged commit 02b6b06 into master Nov 5, 2024
3 checks passed
@dummdidumm dummdidumm deleted the comp-completions branch November 5, 2024 16:10
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.

1 participant