Refactoring support for inlining variables?

Are there any convenient solutions for an “inline this variable” refactoring, in VS Code or otherwise? It’s something I used to find really convenient in other IDEs like IntelliJ (for other languages like Python or Java in the old days), and sometimes I miss it when doing Julia.

Assuming it really doesn’t exist (and that I haven’t just overlooked it), what would be required? Something in the Language Server and then the VS Code Julia extension, I assume?

I use the ruff linter in vscode for python code, and it reports an error for this pattern

def f():
    x = g()
    return x

It will offer to automatically fix the error and replace it with

def f():
    return g()

So the Julia extension can probably use the same APIs as ruff to make this kind of transformation, but it can’t do that now, as far as I’m aware.