Conversation
|
Findings
Missing Tests / Edge Cases
Notes
If you want, I can draft the test cases and a minimal fix for the enum suggestion behavior. |
e0a4977 to
921644d
Compare
|
Addressed both of the Codex findings. The doubling of backticks as escapes was a good point. |
82dd9c5 to
8d5072b
Compare
|
Could you give some examples of what you're addressing here? It's unclear to me what the goal is. I.e. I see: |
|
Sorry if I was unclear @scottnemes . This is just an enabling refactor, which does not itself change any functionality other than fixing some bugs in which "inside quotes" was wrongly determined. But, we would need this to attack #1564 . |
|
Findings
Missing tests / edge cases
If you want, I can propose a small patch to clamp |
* rename without underscore, as it might be used in another file * recognize backtick quoting, including doubled backticks as escapes * accept negative numbers for "pos" * "escaped" should not be toggled to "True" unless inside a double- or single-quoted string * return a string or "False", typed as Literal * optimize: "is not in" is much faster than looping Motivation: to improve completions which start with backtick.
8d5072b to
7f6ebdf
Compare
Description
pos.escapedshould not be toggled toTrueunless inside a double- or single-quoted string.False, typed as Literal.is not inis much faster than looping.Motivation: to improve completions which start with backtick.
xref #1564 .
Checklist
changelog.mdfile.AUTHORSfile (or it's already there).