Skip to content

completion: restore bitstring modifier suggestions#343

Draft
lukaszsamson wants to merge 1 commit into
masterfrom
codex/fix-bitstring-completion-in
Draft

completion: restore bitstring modifier suggestions#343
lukaszsamson wants to merge 1 commit into
masterfrom
codex/fix-bitstring-completion-in

Conversation

@lukaszsamson

Copy link
Copy Markdown
Collaborator

Summary

Restores bitstring modifier completion when the typed modifier prefix is the reserved word in.

Code.Fragment.container_cursor_to_quoted/2 rejected the incomplete <<x::in fragment before placing its cursor, so bitstring context was not detected. The completion and source AST paths now retry failed fragments with a harmless identifier suffix while preserving the original hint.

Validation

  • mix test test/elixir_sense/core/source_test.exs:1232 test/elixir_sense/providers/completion/suggestions_test.exs:4712
  • mix format --check-formatted for changed files

Fixes #342.

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.

Possible regression for bitstring completion

1 participant