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

Initial package management support

This commit is contained in:
Brian Fiete 2024-10-21 09:18:07 -04:00
parent 78138f5c5a
commit 4870c6fdd8
19 changed files with 2520 additions and 205 deletions

View file

@ -414,7 +414,8 @@ namespace IDE.ui
if (mGettingSymbolInfo)
{
gApp.Fail("Cannot rename symbols here");
if (gApp.mWorkspace.mProjectLoadState == .Loaded)
gApp.Fail("Cannot rename symbols here");
mGettingSymbolInfo = false;
return;
}
@ -430,6 +431,12 @@ namespace IDE.ui
if ((mKind == Kind.ShowFileReferences) || (mResolveParams.mLocalId != -1))
{
mParser = IDEApp.sApp.mBfResolveSystem.FindParser(mSourceViewPanel.mProjectSource);
if (mParser == null)
{
mGettingSymbolInfo = false;
return;
}
if ((mResolveParams != null) && (mResolveParams.mLocalId != -1))
mParser.SetAutocomplete(mCursorPos);
else