Idea detail
code_completion_reentry_is_lossless
reqlan rq/extension/language/syntax/features-syntax-highlighting.rq:498
block
Summary
Re-entering a finished path and completing again must keep or deliberately replace the content, never mutate it unpredictably.
The candidate equal to the current content ranks first.
Candidates whose remainder continues the text after the cursor rank above other candidates of the same match tier.
Implemented by path_completion.rs and reqlan-path-completion.ts, with the provider in reqlan-completion-provider.ts.
code_completion_replaces_the_tail
import_code_completion_ranking
Navigation
Attributes
| Key | Value |
|---|---|
| tests | completion.rs:ranks_the_current_value_first_when_reentering_a_path, completion.test.ts:ranks the current value first when reentering a path |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…