[SR-6028] Refactoring to remove unnecessary self
when referencing instance members & opposite
#48585
Labels
self
when referencing instance members & opposite
#48585
Additional Detail from JIRA
md5: 64a366ab6fea0e30a027695407f8f2a5
Issue Description:
Referencing instance member was thoroughly discussed in SE-009. There are different opinions on this topic and I think we could make a refactoring that will help convert from one style to the other. This will surely help teams to enforce guidelines and make transitions easier. This consists of two refactors:
removing unnecessary `self` keywords if the reference to the instance member is unambiguous ( we don't have the same symbol in local scope)
adding `self` references in all of the places that are referencing instance members
The most useful would be to have it able to touch multiple files at once, but since it's not available we could limit to the range selected by the user.
The text was updated successfully, but these errors were encountered: