Skip to content
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

Autocomplete in Quick Add #179

Open
willbarkoff opened this issue Oct 25, 2021 · 1 comment
Open

Autocomplete in Quick Add #179

willbarkoff opened this issue Oct 25, 2021 · 1 comment
Labels
enhancement Feature requests and other enhancements quick add Related to Quick Add

Comments

@willbarkoff
Copy link
Member

It would be amazing if quick add had some sort of autocomplete for class names and tags. For example, if I were to type something like

esstab thu in engltab

it could expand to Essay thu in English

See also: #178's potential vim keybindings/other shortcuts

@willbarkoff willbarkoff added enhancement Feature requests and other enhancements quick add Related to Quick Add labels Oct 25, 2021
@thatoddmailbox
Copy link
Member

This will also run into similar problems as #132, as you could try and tab-complete something with multiple possible options (if you literally just go Mtab...could be Math or Monday or something else).

Arguably Quick Add should probably move away from the cursed mess that is currently is, where we try to force nlp-compromise to work for us. I think that beyond some basic part-of-speech tagging (homework prefixes, prepositions, class names) we don't really need compromise at all and could probably just yeet it entirely in favor of doing stuff ourselves. (this could also let us more cleanly provide suggestions...imagine that you've already typed in "due M" and hit tab, we could recognize that it's going to be a day of the week vs. "in M" which is probably a class starting with the letter M) This is probably a lot of work though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and other enhancements quick add Related to Quick Add
Projects
None yet
Development

No branches or pull requests

2 participants