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

Auto-suggestion for markdown is kind of broken #569

Open
italomaia-bk opened this issue Jun 4, 2020 · 2 comments
Open

Auto-suggestion for markdown is kind of broken #569

italomaia-bk opened this issue Jun 4, 2020 · 2 comments

Comments

@italomaia-bk
Copy link

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.

@nilnor
Copy link
Contributor

nilnor commented Jun 4, 2020

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?

@italomaia-bk
Copy link
Author

italomaia-bk commented Jun 5, 2020

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants