This repository has been archived by the owner on Oct 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
GlobalDefinition - renameDefinitionAs(def, newName) #156
Labels
Milestone
Comments
dsherret
changed the title
GlobalDefinition / FileDefinition - renameDefinition(def, newName)
GlobalDefinition / FileDefinition - renameDefinitionAs(def, newName)
Jun 16, 2016
dsherret
added a commit
that referenced
this issue
Jun 16, 2016
Make sure that this will search the imports to see if there are any aliases for that definition. If there are, then it should only change the import to reflect the new name. Also, need to be careful not to rename a definition that only matches partially. For example, only rename one of these |
dsherret
added a commit
that referenced
this issue
Jul 3, 2016
Could use some code cleanup, but this works and I want to move on to something else for a bit.
Forgot some tests for this. Also, need to make sure it doesn't rename stuff in strings. |
dsherret
added a commit
that referenced
this issue
Jul 3, 2016
dsherret
added a commit
that referenced
this issue
Jul 3, 2016
dsherret
added a commit
that referenced
this issue
Jul 8, 2016
dsherret
changed the title
GlobalDefinition / FileDefinition - renameDefinitionAs(def, newName)
GlobalDefinition - renameDefinitionAs(def, newName)
Jul 8, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This would replace a name used in a
NamedDefinition
, but would also replace its use in expressions.The challenge will be going through and parsing all the expressions to put in the new name.
Need to look in:
The text was updated successfully, but these errors were encountered: