IDEA: Implement Natural Sort Order for Context Selection #121
mazuralexandru
started this conversation in
Ideas
Replies: 1 comment
-
|
Please test if all is good now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
When selecting folders containing files/subfolders with numerical names (e.g.,
01,02...10,11...100) in the VS Code extension's "CONTEXT: WORKSPACE" view, the order in which these items are added to the context sent to AI Studio is incorrect. It uses simple string sorting, resulting in items likesrc/100/file.extappearing beforesrc/14/file.ext, disrupting the logical sequence.Suggestion:
Benefit:
Ensures that context derived from numerically named files/folders is presented in a logical, human-readable, and predictable sequence (e.g.,
1,2, ...,10,11, ...,100). This improves the clarity and potential usefulness of the context for the AI, especially when dealing with sequential steps, chapters, or numbered components.Beta Was this translation helpful? Give feedback.
All reactions