Open tomak-git opened 9 years ago
Cheers M.
If there is a some variable name, string, comment etc in the file with the same name as the snippet key, snippet won't show up in autocomplete resultlist.
If you turn of textual hinting, this shouldn't be a problem
So for whatever edtitors you use snippets and can happily live without textual hints just add something like this to your user behaviors file:
; for each editor type add an entry like this
[:editor.javascript :-lt.plugins.auto-complete/textual-hints] ;
; or to turn of textual hinting for all editor types
; [:editor :-lt.plugins.auto-complete/textual-hints] ;
Currently, snippets get quickly drowned in other autocomplete suggestions as the file grows longer. Sometimes, they are not present at all in autocomplete even though I hit tab exactly after the pattern that should trigger a snippet. Snippets should not get lost in this way. Moreover, I whink it would be great to have an option to allow snippets to always take precedence over other autocomplete suggestions, that is, to have snippets always at the top in autocomplete. Cheers,
Tom