edts icon indicating copy to clipboard operation
edts copied to clipboard

Add support for yasnippet with auto-complete

Open syl20bnr opened this issue 12 years ago • 4 comments

Currently yasnippet is loaded with erlang-mode but EDTS seems to not make it available through auto-complete.

syl20bnr avatar Jan 31 '13 14:01 syl20bnr

Yes, this has been on my todo-list for a while, but there has been no real demand for it, and also I believe there have been some issues with auto-complete-mode and yasnippet. I believe their keybindings collide somehow.

I will try to look into it though.

tjarvstrand avatar Feb 01 '13 07:02 tjarvstrand

Ok cool. For now I just bound a key to toggle auto-complete on and off in order to be able to use some snippets. Thank you!

syl20bnr avatar Feb 01 '13 16:02 syl20bnr

Finally had the chance to take a quick look at this. What do you mean with yasnippet being loaded with erlang-mode? I can't find anything about yasnippet on OTP...

tjarvstrand avatar Nov 03 '13 18:11 tjarvstrand

Erlang snippets are correctly available in an erlang-mode buffer but it does not activate with <tab> as in the other major modes (say python). It does not bother me since I now explicitly use snippets with helm and I can use them from there in an erlang buffer.

For the yasnippet integration into autocomplete I don't use it anymore so maybe the OP is not as revelant now and nobody has shown any interest in this since this issue has been opened.

I'm OK to close it.

syl20bnr avatar Nov 18 '13 21:11 syl20bnr

please reopen if still an issue

sebastiw avatar Sep 26 '23 09:09 sebastiw