1

I am using Ultisnips and youcompleteme plugins. In my C++ project, I have set(CMAKE_EXPORT_COMPILE_COMMANDS=ON) that gives me intellisense completion based on the context.

I want to use the "completion" results provided by youcompleteme, and use it as a snippet to jump to different required fields.

For example(opencv c++):

cv::Mat image = cv::imread(argv[1],1);
cv::namedWind

So, when I select any of the provided completion option, the whole function prototype should be inserted and I should be able to jump through the parameters(snippet fields) to enter the values.

In general, can we do this for any third party libraries.

Reference Image: ycmCompletion

Dmitry Kuzminov
  • 6,180
  • 6
  • 18
  • 40

1 Answers1

1

Found a solution.

https://github.com/tenfyzhong/CompleteParameter.vim

But, not finding an option to change the trigger(by default set to '(') key.