Don't offer completions within strings#1551
Conversation
3f01da6 to
95c16ed
Compare
scottnemes
left a comment
There was a problem hiding this comment.
Verified completions are no longer given when proceeded by a single or double quote.
95c16ed to
6bbf98b
Compare
|
Findings
Notes
Questions/Assumptions
Residual risk
|
|
Codex is right about |
6bbf98b to
681635d
Compare
|
Findings
Missing tests / edge cases
I didn’t run tests. If you want, I can add the failing test for the cursor-position issue to demonstrate the bug quickly. |
681635d to
1af2fea
Compare
|
Findings
Missing tests / edge cases
Notes
If you want, I can draft the small guard in |
1af2fea to
d162f97
Compare
|
Findings
Missing tests
|
d162f97 to
e1e1daa
Compare
* don't offer completions when the cursor is within a string * move the similar implementation for numbers to a better location, next to the string check It would be great if suggest_based_on_last_token() was refactored to use named parameters.
|
Findings
Questions / Assumptions
Suggested next steps
|
e1e1daa to
844c544
Compare
|
Findings (ordered by severity)
Missing tests / edge cases
No security concerns found. Open questions / assumptions
|
Description
It would be great if
suggest_based_on_last_token()was refactored to use named parameters.Example of the behavior solved by this PR:
Checklist
changelog.mdfile.AUTHORSfile (or it's already there).