Conversation
b6ffa55 to
e5263dc
Compare
fc344b0 to
61bf093
Compare
61bf093 to
29cb21b
Compare
|
hi man @alquerci , huge thank you for this, so glad I found it! apparently it's not going to get merged, so if you don't mind, I'm just gonna use your fork in my packer config 😅 I've been using vim.lsp.buf.code_action refactor.extract.expression, but it doesn't have the courtesy of asking me for a variable's name and it's asynchronous, so I can't easily chain it with PhpRenameLocalVariable... a workaround is to use something like vim.wait(2000) between those commands... ugh.. but your work is exactly what I need and will be a huge time saver in the long run. So, thanks again! |
|
Hello @zaxxx, I am glad that my work can help you. It helps me a lot in daily work bases. Since one year, a lot of stuff has been done. All of them has been done regarding issues or needs I caught. Some refactorings are never used and others are overused. |
Hi,
Firstly, thanks for this great Vim plugin.
Look at the documentation to see the details.
Tested on VIM 8.1
In order to add proof that the code work as it should, I choose to use https://github.com/junegunn/vader.vim as test runner.
Why we need this ?
Extract Variable is part of the must-have tools of a programmer as this refactoring is done too many times.
From "Clean Craftsmanship: Disciplines, Standards, and Ethics (Robert C. Martin Series) (English Edition)" written by Robert C. Martin