randomphrase / company-c-headers

Auto-completion for C/C++ headers using Company
GNU General Public License v2.0
76 stars 9 forks source link

Conflict with yasnippet #6

Closed saintaugustinus closed 8 years ago

saintaugustinus commented 9 years ago

Hi I found a problem while using this backend with yasnippet here is the situation: i have a snippet for C\C++ when i type inc and expand it with yasnippet, it will be like this: #include <> the cursor is between '<' and '>' and this backend work fine now but when i finally choose the header it will become like that: #include >

Mafeuser commented 9 years ago

please see conclusions at: https://github.com/capitaomorte/yasnippet/issues/581

randomphrase commented 8 years ago

Untested, but have you tried this guilde for using yasnippet with company mode? Seems like a way to control which company mode backends get used with yasnippet.

saintaugustinus commented 8 years ago

Thanks for your reply~ I have already found another way to solve this

Carter-Pro commented 8 years ago

@saintaugustinus 能问下你是怎么解决的吗

saintaugustinus commented 8 years ago

@Carter-Pro 把你的snippet改一下 例如inc ==> #include 不要<>合"" 哈哈

seudut commented 8 years ago

I also meet this issue now, as I also use company-c-headers and yasnippet. any conclusion to this ?