Skip to content

Case-sensitive sorting#45

Open
nchilada wants to merge 3 commits intoJuliaEditorSupport:masterfrom
nchilada:nchilada/case-sensitive-sorting
Open

Case-sensitive sorting#45
nchilada wants to merge 3 commits intoJuliaEditorSupport:masterfrom
nchilada:nchilada/case-sensitive-sorting

Conversation

@nchilada
Copy link
Copy Markdown

@nchilada nchilada commented Apr 29, 2026

Searching for e.g. lowercase omega should result in lowercase \omega and its variants appearing prior to the corresponding uppercase \Omega symbols:

image

while searching for uppercase Omega should result in uppercase \Omega and its variants appearing prior to the corresponding lowercase \omega symbols:

image

@nchilada
Copy link
Copy Markdown
Author

Addresses #44

@nchilada
Copy link
Copy Markdown
Author

nchilada commented Apr 29, 2026

TODO: unit tests as well as manual end-to-end tests in VS Code.

EDIT: done.

@nchilada nchilada marked this pull request as ready for review April 30, 2026 00:39
@nchilada
Copy link
Copy Markdown
Author

This still deserves automated tests, but I've confirmed that it works like a charm locally, at least for my basic use case. I'm ready for feedback!

@nchilada nchilada changed the title Sort LaTeX symbol search results based on the matching letters' cases Case-sensitive sorting Apr 30, 2026
Also bring the EcmaScript version a bit more up to date, thereby allowing the use of `Object.entries`.
@nchilada nchilada force-pushed the nchilada/case-sensitive-sorting branch from 965a619 to 7b93f2f Compare April 30, 2026 01:45
@nchilada
Copy link
Copy Markdown
Author

Automated unit tests are done. Automated integration tests feel a bit outside my remit, so I hope whoever eventually reviews this PR (or at least whoever performs the next release to the Marketplace?) will be willing to do a quick manual test to double-check that nothing's been horrifically broken... 🤞

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.

1 participant