question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Rename" does not work with coc-python + coc-pyright

See original GitHub issue

Describe the bug

I use coc-python + coc-pyright.

“Rename” doesn’t work if coc-pyright is installed.

An error message [coc.nvim] Invalid position for rename is displayed.

“Rename” works when coc-pyright is uninstalled.

CocInfo versions

vim version: NVIM v0.5.0-340-gd3a9d75c0
node version: v12.13.1
coc.nvim version: 0.0.74
term: iTerm.app
platform: darwin

coc-settings.json

  ...snip
  "python.jediEnabled": false,
  ...snip
  "pyright.disableLanguageServices": true,
  "pyright.openFilesOnly": true,
  ...snip

Demo (Animation GIF)

coc-pyright-rename-issue-1200

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
maxnoecommented, Dec 3, 2020

Yes, they do.

1reaction
maxnoecommented, Dec 3, 2020

I have the same problem (renaming not working) but I only have coc-pyright installed, not coc-python. Any idea?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is this CoC? : r/neovim - Reddit
Today I updated all the plugins and I got this beautiful popup or floating dialog, whatever neovimmer calls it, for coc code actions...
Read more >
neoclide/coc.nvim - Gitter
Has anyone successfully migrated from coc-python to coc-pyright? Been reading through issues as I can't get it to recognize imports in the venv....
Read more >
vim - coc.nvim coc-pyright standard library python import from ...
Has anybody managed to get coc.nvim with coc-pyright working to get auto import suggestions working for standard python library?
Read more >
pyright - npm
Pyright is a fast type checker meant for large Python source bases. ... Vim/neovim users can install coc-pyright, the Pyright extension for ...
Read more >
coc-gauge - npm Package Health Analysis - Snyk
Learn more about coc-gauge: package health score, popularity, security, ... but it does not work properly, because coc.nvim renaming command uses <cword> to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found