ycm-core / YouCompleteMe

A code-completion engine for Vim

Home Page:http://ycm-core.github.io/YouCompleteMe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any way to open quickfix list even only one definition/declaration/xxxx ?

leoatchina opened this issue · comments

Just as the title, I want to preview subcommands Goto in quickfixlist firstly even there is only one, do preview and decide open in vsplit/split/tabe

Not currently. Can you elaborate your use case?

like glance.nvim, I like view def in floating window, and deside open the it in split/vscplit/tabe or jump to edit
image

Since YCM cannot sending results to popup window direction , quickfixlist is also acceptable, and I can

  1. preview in vim-quickui , and open in split/vsplit/tabe by configed ftplugin/qf.vim
  2. use LeaderQuickfx command to shift quickfix to leaderf popup windows , and open in sp/vsp/tab/e

In brief
I want to 1. preview defs. 2. decide how to open

I have this little script called "YCMPedit" that does the equivalent of :pedit for GoTo: https://github.com/puremourning/.vim-mac/blob/master/plugin/ycm_pedit.vim maybe that can do something like what you want.