Skip to content

Conversation

@MaxAtoms
Copy link
Collaborator

Adds CLI completions for the linter query REPL command:

image

@MaxAtoms MaxAtoms requested a review from EagleoutIce October 27, 2025 13:29
@MaxAtoms MaxAtoms self-assigned this Oct 27, 2025
@MaxAtoms
Copy link
Collaborator Author

The sub-string argument (see below) of Node readline is a bit awkwardly handled right now.
@Ellpeck told me you discussed the peculiarities of the completer API before.

image

Base automatically changed from linter-query-parser to main October 27, 2025 16:37
@EagleoutIce
Copy link
Member

"Right now" is such a funny thing to say for something that is probably permanent 🤣

Copy link
Member

@EagleoutIce EagleoutIce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general fine, I would just love to have a unit or maybe even system test for the completions to trigger? I think a unit test would be easier, just to check whether rule:d<complete> contains (at least) the rules we like and only rules starting with d etc.

Copy link
Member

@EagleoutIce EagleoutIce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice! :)

@MaxAtoms MaxAtoms requested a review from EagleoutIce October 28, 2025 20:50
@EagleoutIce EagleoutIce merged commit 4ed7cb1 into main Oct 28, 2025
19 checks passed
@EagleoutIce EagleoutIce deleted the linter-query-completions branch October 28, 2025 20:52
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.

3 participants