4 ms·
> I’m doing a typescript project in VSCode and the refactoring and code understanding is just... not enough. What's your exact complaint? Find and Replace or
by wayneftw 6y ago
> I’m doing a typescript project in VSCode and the refactoring and code understanding is just... not enough.
What's your exact complaint?
Find and Replace or repeatedly hitting Ctrl+D covers 90% of my refactoring needs and I work on mostly TypeScript / JavaScript code. The other 10% is covered by "Extract to function" which I rarely use because it's easy enough to cut and paste.
Renaming a file is a very easy 2 step process. 1) Rename the file. 2) Find and replace `/filename"` with `/new-filename"`.
I almost exclusively use named exports, so renaming a symbol is a simple find and replace.
What else could you possibly need that wouldn't be more complicated than just typing? Also, have you explored extensions for this? Here's one now - https://marketplace.visualstudio.com/items?itemName=cancerberosgx.vscode-typescript-refactors https://marketplace.visualstudio.com/items?itemName=cancerbe...