For context I was trying to make a PR to the TypeScript LSP extension to improve the UX of renaming a Symbol. The issue can be seen here, but quoted below as well:
For me, most of the time when renaming a symbol it’s to fix a minor typo or adjust the existing name.
The current behaviour is to show placeholder text that can’t be selected or edited, requiring the user to type out the full name of the symbol.
I propose populating both the
valueoptions to make edits easier. This UX would also bring the workflow in line with how VS Code works.
The change would be made at the following place: