Questions on rename features

Đang mở
#29 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@mcepl đang làm issue này rồi.

Từ ngày 30/12/2025.

  • #37 của @mcepl — đang mở

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
documentation

Hướng nghiên cứu

Start with the README sections that describe configuring and using rename support, then inspect the open pull request #37 for related work. Clarify the rename configuration, how users can tell which implementation handles rename requests, and whether Rope adds benefits beyond the native functionality; done when the README answers all three questions accurately.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

  • 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!

Ngôn ngữ chính
Python
Star
145
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-rope/pylsp-rope

Tất cả issue của python-rope/pylsp-rope

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.