You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for taking a stab at this refactoring plugin, @ecomba.
When I have comments within the method talking about domain concepts, the temp variable's value gets inlined there as well:
def foo
user = User.find
# Update the user's timestamp?
user.save!
end
with cursor on user = ..., when I run :RInlineTemp, I get:
def foo
# Update the User.find's timestamp?
User.find.save!
end
Note how the comment was altered.
I would like comments to not be updated. In some cases where the comment is actually code, it could make sense, but generally I don't think the refactoring tools should manipulate comments.
The text was updated successfully, but these errors were encountered:
Thanks for taking a stab at this refactoring plugin, @ecomba.
When I have comments within the method talking about domain concepts, the temp variable's value gets inlined there as well:
with cursor on
user = ...
, when I run :RInlineTemp, I get:Note how the comment was altered.
I would like comments to not be updated. In some cases where the comment is actually code, it could make sense, but generally I don't think the refactoring tools should manipulate comments.
The text was updated successfully, but these errors were encountered: