Sarcasm / company-irony

company-mode completion back-end for irony-mode
119 stars 11 forks source link

No way to cancel inserting function arguments #23

Closed tttuuu888 closed 8 years ago

tttuuu888 commented 8 years ago

Hello. I daily use company-irony and really appreciate for your work.

Recently I have been looking for a way to cancel inserting function arguments in the middle but I couldn't find it. As far as I remember, canceling was available until some months ago. If I cancel with C-g in the middle of arguments, guide strings were disappeared. But now guide strings are remained. Therefore I should delete remained strings by myself.

The example case is as below.

printf("Test\n", ...)

When printf is completed with company-irony and cursor is located at position, there is no way to cancel ,... part. The option to cancel it would be great.

Thanks.

Sarcasm commented 8 years ago

Maybe a few months ago you were using yasnippet? If yasnippet is enabled, it will be used. If it is not, we now fall back to company-mode own snippet mechanism.

tttuuu888 commented 8 years ago

I missed the point. I thought it was from company-irony but actually was from company-mode. I may ask about this to author of company-mode. Thanks.