🏠 back to Observable

Global variable rename

Observable feature request:

Today I was in a notebook and I realized that I disliked the name choice for one of my global variables. I would have liked to be able to click to change that variable and have it update everywhere. Many modern text-editors have this functionality, and since Observable knows where all the references are anyways, it seems like this would be possible.

Thanks!

1 Like

This is another feature that would come along with an official read-write notebook API, without extra first-party UI or implementation work. People could use refactoring tools, find/replace, etc. built into whatever editor they prefer (after a bit of community effort to implement editor integration).