davidhalter / davidhalter/jedi-vim

Feature Request: rename by keeping existing text

Open
#790 8 comments 2 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
5.3k
Forks
369
PR merge metrics
No merged PRs in 30d

Description

Current implementation deletes the entire name to be renamed and user has to enter the entire new name.
Often, especially with long name, we want to have a small modification like fixing a typo or adding a letter/word.
PyCharm has a nice implementation that keeps the previous text, allowing to edit/overwrite it and then re-factor the code.

Contributor guide

Open the contributing guide

Research direction

The issue identifies jedi-vim's rename/refactor flow but names no files or tests. Start by locating the rename command and compare its current input behavior with the requested text-preserving edit; done means the existing name remains available for modification before refactoring.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vim
Domain
developer-experience, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.