Disable the `source.organizeImports` implementation?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
Start by locating where pylsp-rope registers its source.organizeImports implementation and how the project exposes configuration options. Check the existing tests for that capability and add a case for disabling it through configuration. Done means the option is documented and a test confirms the handler is unavailable when disabled; the issue does not name specific files or tests.
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 / EGlot
- Python version: 3.12.4
- Operating System: Fedora Workstation 40
Description
I'm trying to (automatically) sort my imports on
save using python-lsp-ruff but the organize imports
of pylsp-rope makes me have to manually choose between
using ruff and rope for sorting.
Details
I've enabled pylsp-rope for its refactoring abilities.
I see that it also exports an implementation of
source.organizeImports but I'm also using
python-lsp-ruff 2.2.0 and would prefer to use its
builtin import sorting.
What my editor gives me is the possibility to manually
choose between the ruff version and the pylsp-rope
version when source.organizeImports gets invoked.
It would be neat if it was possible to disable the
source.organizeImports implementation for pylsp-rope
so I didn't have to do this manually. Would it be possible
to export such a knob in the configuration? :)
- 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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của python-rope/pylsp-rope
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
python-rope/pylsp-rope#38 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
python-rope/pylsp-rope#32 · 2 bình luận · 7 reaction ·
-
Questions on rename featuresCó thể đã có người làm @mcepl đã nhận 312 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
python-rope/pylsp-rope#29 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
python-rope/pylsp-rope#19 · 3 bình luận ·
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
python-rope/pylsp-rope#18 · 4 bình luận · 4 reaction ·
Tất cả issue của python-rope/pylsp-rope
Issue tương tự
-
[yugabyted] xcluster set_up and add_to_replication fail for database names containing - . or (Đang mởkind/bug priority/medium qa_automation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
yugabyte/yugabyte-db#37324 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
btclib-org/btclib-node#2260 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Có thể đã có người làm @geyazheng đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
langchain-ai/langchain-aws#1469 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
GCToggler leaves collection enabled if the body re-enables itCó thể đã có người làm @Gambit-Checkmate đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 7 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
EESSI/docs#949 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày