7 ms·
How many automatic guaranteed safe refactors can I do with VIM? Of course I’m referring to statically typed languages. Something as simple as renaming a method
by scarface74 8y ago
How many automatic guaranteed safe refactors can I do with VIM? Of course I’m referring to statically typed languages.
Something as simple as renaming a method and it is automatically renamed in your entire code base is a life saver.
https://www.jetbrains.com/resharper/features/code_refactoring.html https://www.jetbrains.com/resharper/features/code_refactorin...
I see a similar thing happening with coders who do a lot of tests (test driven development), some tests and no tests. Developers who don't write any tests are often the most productive.
Tests aren’t about productivity. They are about maintainability when you have to make changes. How many large code bases have you dealt with?
- bovine3dom 8y agoThe Language Server Protocol [1] makes such refactors possible in Vim (and other editors). [1] https://microsoft.github.io/language-server-protocol/ https://microsoft.github.io/language-server-protocol/
- scarface74 8y agoSo it’s possible, have any implementations where you can use VIM and do massive project wide refactors?
- bovine3dom 8y agoI haven't personally done any massive ones, but vim-lsp and tsserver have worked fine on a tens-of-thousands of lines large project. It's the same gubbins that VS Code uses for all of its cleverness.