Pyright: Support symbol renaming (editor.action.rename)

Created on 21 Aug 2019  路  3Comments  路  Source: microsoft/pyright

VSCode has a symbol renaming command called "editor.action.rename" (default shortcut is "f2").

It's extremely useful, please support.

Thanks!

image
_Pressing "f2" on a variable in a TypeScript file triggers the rename code action_

addressed in next version enhancement request

Most helpful comment

Thanks for the suggestion. I've implemented this functionality, and it will be included in the next release.

All 3 comments

Thanks for the suggestion. I've implemented this functionality, and it will be included in the next release.

This is implemented in 1.0.57, which I just published. Please give it a try and let me know what you think.

Just tried, works like a charm!
Many thanks!

Was this page helpful?
0 / 5 - 0 ratings