Writing

Disable VScode typescript alias in rename refactoring

Since typescript 3.4 a setting has been implemented into tsserver that makes refactoring > rename create an alias in the local scope insted of change the original name

rename

this abomination was enabled by default on VScode and after months of pain I found a way to disable it.

๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

The configuration is called typescript.preferences.renameShorthandProperties

rename-alias-ts-vscode-setting.png