JunoLab / atom-latex-completions

Easy Unicode input for Atom
MIT License
40 stars 7 forks source link

include backslash in autocomplete suggestion #4

Closed pfitzseb closed 8 years ago

pfitzseb commented 8 years ago

this fixes the shadowing problem we'd have if there's another autocompletion provider that e.g. proivdes beta, while we want to complete \beta.

Compare this (before) before to this (after): after

This makes the list of autocomplete suggestions way longer, but I'm not sure whether that's a bad thing.

MikeInnes commented 8 years ago

This is clearly an improvement over the current behaviour on its own, but I think the deeper problem is that julia-client's completions are taking priority over the latex ones at all. Let me see if I can't fix that and I'll put up a PR to see what you think.

pfitzseb commented 8 years ago

Can autocomplete-plus handle multiple completions with the same text?

MikeInnes commented 8 years ago

It seems like it filters duplicates by display text rather than completion text, which arguably isn't the best behaviour.

pfitzseb commented 8 years ago

Closed in favour of #5.