-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live feedback in prompt #3050
Comments
#7738 improved on this a little: we show tree-sitter-regex error highlighting in the prompt. We could improve this further by validating the regex with the |
This can be done in helix/helix-term/src/ui/mod.rs Lines 75 to 171 in e18b772
|
Describe your feature request
When using a commands, such as
select:
,search:
,:theme
,:set-option
, etc... some inputs are invalid (invalid regex, theme/option that doesn't exist).It would be nice to have visual feedback while typing that indicates that what you are typing is invalid, for example marking your typed text or the prompt in the error color.
Kakoune for example makes the
select:
text red on invalid regex while you are still typing, which can be more useful than feedback only after you submit the command.I feel like many commands could benefit from this sort of live feedback, but mostly the regex ones.
The text was updated successfully, but these errors were encountered: