Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions on rename features #29

Open
fast-90 opened this issue Sep 28, 2024 · 0 comments
Open

Questions on rename features #29

fast-90 opened this issue Sep 28, 2024 · 0 comments

Comments

@fast-90
Copy link

fast-90 commented Sep 28, 2024

  • pylsp-rope version: 0.1.16
  • Text editor/IDE/LSP Client: Emacs (IDE), Eglot (LSP client)
  • Python version: 3.12.6
  • Operating System: MacOS

Description

I just had couple of questions w.r.t. the renaming functionality.

  1. The README states that pylsp.plugins.pylsp_rope.rename should be configured to enable rename support. However, it is unclear to me how it should be configured. E.g. is pylsp.plugins.pylsp_rope.rename a boolean config or something else? Or should I use pylsp.plugins.pylsp_rope.rename.enabled?

  2. Once I have set it the above config correctly, how do I know my LSP's rename function calls pylsp-rope's rename function instead of the default one.

  3. From the README it looks like renaming has only been implemented for variables, classes and functions. To my knowledge, python-lsp-servers native rename functionality already covers this. Would you say that currently pylsp-ropes rename feature does not provide any additional benefit, until the modules and packages renaming have also been implemented?

Thanks and I already really love pylsp-rope as it is!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant