hello, all! I got a question: how do we cycle between function overloads?
I'm working with C# and got a function overloaded with different parameters.
When the autocomplete triggers, it correctly states that there's +1 overload, however I can't seem to cycle between them.
Don't know if it happens with other languages since I only work with C#, Rust and TypeScript (afaik C# is the only that supports this kind of function overload)
Thanks for your help!
doHover
might help
I'm having trouble with goto definition (coc-definition) in Vim... when I jump to a definition, the buffer that's opened doesn't recognize the filetype as scala and thus the highlighting is off (scala filetype highlighting was setup up using scala-vim defaults). Running :setfiletype scala fixes the syntax highlighting. Has anyone experienced this before? Here is my vimrc: https://github.com/rohanshah/dotfiles/blob/master/vimrc
try to add syntax on
to .vimrc
@chemzqm I use trigger suggestion with tab and want it to immediately suggest first item. Currently, it only opens the pop
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction
inoremap <silent><expr> <Tab>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<Tab>" :
\ coc#refresh()
any idea how to do this?