1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 03:28:02 +02:00

Added ability to rename namespaces

This commit is contained in:
Brian Fiete 2020-05-31 07:12:17 -07:00
parent 91e0d10128
commit 014263c3a7
16 changed files with 373 additions and 78 deletions

View file

@ -227,6 +227,9 @@ namespace IDE.ui
mResolveParams.mTypeGenericParamIdx = int32.Parse(lineDataItr.GetNext().Get());
case "methodGenericParam":
mResolveParams.mMethodGenericParamIdx = int32.Parse(lineDataItr.GetNext().Get());
case "namespaceRef":
mResolveParams.mNamespace = new String(lineDataItr.GetNext().Get());
foundSymbol = true;
case "defLoc":
if (mKind == .Rename)
{
@ -421,6 +424,8 @@ namespace IDE.ui
mResolvePassData.SetTypeGenericParamIdx(resolveParams.mTypeGenericParamIdx);
if (resolveParams.mMethodGenericParamIdx != -1)
mResolvePassData.SetMethodGenericParamIdx(resolveParams.mMethodGenericParamIdx);
if (resolveParams.mNamespace != null)
mResolvePassData.SetSymbolReferenceNamespace(resolveParams.mNamespace);
}
mDoLock = mKind == Kind.Rename;