MyHomeworkSpace / client

The MyHomeworkSpace client.
MIT License
4 stars 4 forks source link

Autocomplete in Quick Add #179

Open willbarkoff opened 3 years ago

willbarkoff commented 3 years ago

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

thatoddmailbox commented 3 years ago

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.