JagaScript

Logo
1 min read

Disable VScode typescript alias in rename refactoring

May 27, 2019
tags: tips, vscode

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

●
●
●
Sharing is caring

Blog by Jaga Santagostino.
Software consultant, polyglot developer, maker of things, lifelong learner.
ReactJS Milano & milano.dev organizer