go-to definition of components
Currently I have no way of click or using the keymap to go to definition or references of a component. Should be able to have my cursor over a component and go to its definition
The readme should def have some instructions for how to perform specific actions and how configure keymaps for them.
So, some of why coc-ember may not work is that you may have an old version, and the coc updater isn't super stellar.
To find out where your extensions are, run: :CocList extensions
for me, on linux, they are in ~/.config/coc/extensions.
so, I rm -rf ~/.config/coc/extensions
closed neovim
reopened
navigate to an ember template
if you have configured:
nmap <silent> <leader>gd <Plug>(coc-definition)
then,
<leader>gd will navigate you from a template invocation to the component's template.
after starting fresh:
Confirmed Working
-
nmap <silent> <leader>gd <Plug>(coc-definition)
Confirmed Not Working
-
nmap <silent> <leader>gy <Plug>(coc-type-definition) -
nmap <silent> <leader>gi <Plug>(coc-implementation) -
nmap <silent> <leader>gr <Plug>(coc-references)
I need to make gifs for these.
Sorry, football game was on. I just did this and now gd is working. I hope some day I can get to go to the js file of what I am working on. As far as how the update is going and how we had to remove everything, do you think there is a bug in coc updater? Maybe its worth a bug over in their repo?
Not sure, it's tricky to track down if it's an coc-updater issue or something else. I've thought about recommending using all coc plugins via vim-plug, cause then updates are managed just like anything else.