coc-angular icon indicating copy to clipboard operation
coc-angular copied to clipboard

coc-angular breaks coc-rename command

Open ic-768 opened this issue 2 years ago • 7 comments

Describe the bug Prior to installing the plugin, coc-rename works normally. After installing the plugin, the error [coc-nvim] Invalid position for rename is thrown.

To Reproduce Steps to reproduce the behavior:

  1. Map the coc-rename command, e.g.: nmap <silent> gs <Plug>(coc-rename)
  2. Hover over a symbol in a .ts file in an angular project
  3. Trigger the command
  4. See error

Expected behavior Trigger the command normally without errors

Desktop (please complete the following information):

  • OS: Linux

ic-768 avatar May 25 '22 09:05 ic-768

I'm seeing this as well.

joeveiga avatar May 30 '22 02:05 joeveiga

mmm just posted the same issue, gonna delete it and watch this one

fcojavierdomenech avatar Jun 01 '22 09:06 fcojavierdomenech

+1 for having this issue.

bhalash avatar Jun 02 '22 11:06 bhalash

Looks like it might have been "resolved" upstream here? https://github.com/angular/vscode-ng-language-service/pull/1687

joeveiga avatar Jun 11 '22 13:06 joeveiga

What's your project angular version?

iamcco avatar Jun 12 '22 01:06 iamcco

What's your project angular version?

This happens both with v.13 and v.14

ic-768 avatar Jun 12 '22 10:06 ic-768

i faced same issues. angular version : 10 coc-angular version : 13.3.6

j2i5ll avatar Jun 30 '22 15:06 j2i5ll