Open
Description
Note
This issue is aimed at those attending the RubyConf 2024 Hack Day
Add a new code action to inline a local variable. For example:
# BEFORE
def foo
a = 5 * 10
puts a
b = a - 5
end
# AFTER
def foo
puts 5 * 10
b = 5 * 10 - 5
end
Here's an example PR adding a refactor end to end #2372.