howl
howl copied to clipboard
Auto-suggestion for markdown is kind of broken
Just noticed while writting a markdown document word suggestion that is not helpful. Not sure which rules are used for auto-suggestion for markup documents, but they should probably be turned-off. One useulf auto suggestion for documents in markdown, as an example, would be a explanation pop-up when using a markdown markup.
You will have to be a little bit more specific here. The suggestions in place for markdown is the standard words-in-buffers markdown, and personally I find that useful as it will suggest common words in the recent buffers. What do you see as not helpful?
Sure thing! My point is that suggesting currently used words is mainly helpful for programming languages because those words in the buffer are likely variables. In a regular message, only significant words would need this first class treatment.
Maybe not even then. How often one tries to autocomplete words in google docs? I often don't. This problem becames even greater if you think about the option confirmation key used by howl "enter".
Imagine I'm writting my markdown document and I need to break the line, because it just got too long for some reason. If howl, by itself, decide to show word options, instead of breaking the line, you will actually be changing a word that might already be complete. Therefore causing a ctrl-z + enter again.
Example:
Molly had mold in her meal.
She looks at the plate with sad eyes and cries. Mold
is bad.
After typing "Mold" for the second time, howl will suggest me the word "mold", not capitalized. But if I finished typing "Mold", I'll try to break the line and this will change "Mold" with "mold", which is not what I want. The example is a bit silly, because people could just wrap the line, BUT, if you're writting a markdown list, having multiple short lines would make sense as a common case.
So, possible solutions:
- make the word suggestion smarter
- do not use "enter" for auto-suggestion confirmation
- do not suggest words in regular text (this one makes even more sense if you think about it, because one does not want to re-use words too often in regular unstructured text)