You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our task file is getting kind of long (not in a bad way). I typed in a task incorrectly and thought it would be quite nice to suggest the closest task when the spelling is slightly off. I've had other tools automatically run the command it thinks you wanted, but just offering a sugestion would improve the ergonomics here.
For instance, something like this:
➤ task line-pyright
task: Available tasks for this project:
[...]
* lint: Run all available linting tools.
* lint-black: Checks the styling of the Python code with Black.
* lint-black-fix: Fixes the styling of the Python code with Black.
* lint-eslint: Checks the styling of the JS code with eslint.
* lint-eslint-fix: Fixes the styling of the JS code with eslint.
* lint-fix: Fix all automatically fixable errors. This is useful to run before pushing.
* lint-pyright: Runs type checking on python files.
* lint-ruff: Lints the Python code with the ruff linter.
* lint-ruff-fix: Fixes Python code lint errors with the ruff linter.
[...]
task: Task "line-pyright" does not exist.
Did you mean `task lint-pyright`?
I searched through the issues and didn't see this feature request anywhere.
The text was updated successfully, but these errors were encountered:
@gregtatum Thanks for the report. This request is actually a duplicate of #867 which was implemented in #880 and released in v3.17.0 in Oct 2022.
However. It looks like it regressed immediately in v3.18.0 and no-one ever reported it. Strange that I never noticed as I remember really liking the feature at the time. I'm going to reclassify this as a bug as the code already exists. Just something not working correctly.
pd93
changed the title
Suggest the correct task for mispellings
Fuzzy suggestions for tasks no longer work
Apr 22, 2025
Description
Our task file is getting kind of long (not in a bad way). I typed in a task incorrectly and thought it would be quite nice to suggest the closest task when the spelling is slightly off. I've had other tools automatically run the command it thinks you wanted, but just offering a sugestion would improve the ergonomics here.
For instance, something like this:
I searched through the issues and didn't see this feature request anywhere.
The text was updated successfully, but these errors were encountered: