Rename variables with let g:jedi#use_tabs_not_buffers = 1 causes the variable in current file to be left unchanged
See original GitHub issueWith let g:jedi#use_tabs_not_buffers = 1
, I tried to do <leader>r
on a variable name.
It replaces all the occurrences of the variable in all the files and then the file from which the original replace variable was invoked is reset to the last saved state. I mean the variable name is restored to the old variable name in the file from which the rename variable command was invoked.
This happens only with use_tabs_not_buffers set to 1
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
PowerRename: Allow 'variables' in rename · Issue #591 - GitHub
Allow 'variables' to be used in renaming. ... I want to keep previous versions of one or more files, so I renamed them...
Read more >Rename Variables - Stata Guide
will change the name of variable var17 to varx17. ... names (or entire variable names) that will be left unchanged in the renaming...
Read more >How to rename columns in R - Sharp Sight
This blog post will show you the best way to rename columns in R. There are several different ways to do it, but...
Read more >Refactor local variable name using Visual Studio Code
Rename is bound to F2 by default. Rename symbol will know to only touch the local roles references in your example. Visual Studio...
Read more >Dropping, Keeping, and Renaming Variables
If the option is used on an input data set, the variable is dropped, kept, or renamed before it is read into the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you reproduce this using a single file only, or does it involve changing in multiple files?
A step by step test case would be nice to have, then it could be transformed into a real test also.
This has been an issue for a long time in Jedi, the relevant issue is https://github.com/davidhalter/jedi/issues/1047.