Why does VS code editor sometimes prevent me from renaming my typescript symbol using the f2
key? I keep encountering the error message "This element cannot be renamed."
https://i.stack.imgur.com/mmqu9.png
In some of my other projects, I am able to rename the symbol with f2. As I try to troubleshoot this issue, I'm curious if it could be related to a package problem, vscode configuration, or having similar symbol names in a monorepo project causing this issue?
"@typescript-eslint/eslint-plugin": "4.3.0",
"@typescript-eslint/parser": "4.3.0",
"typescript": "4.1.5"