What are hypothetical benefits of using this versus Webstorm/Intellij with Vim mode?
Other cases are similar, e.g. being able to just drag and drop a div into another div without thinking about the exact text selection - the benefit is having to think slightly less about the mechanics of your editor or the particular data structure (text or ASTs).
I think for the first case there is a ‘wrap in if-else’ refactoring in Webstorm/Intellij, but I rarely use it.
Second case is interesting, I would be excited to have this for React components.