-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
it seems Intellisense tip have 3 types of resources
- external xml file with
$workbook.name$ ..IntelliSense.xml - built-in xml part inside workbook using Workbook.CustomXMLParts.Add strXMLContent
- worksheet with a name of "IntelliSense"
i have found two problems - when tip resources updated then tips will not auto-update
maybe we can add a callback function to update tip resources by hand. - when the external and built-in xml resource does not exist, the worksheet("Intellisense") resource seems not load
which seems like a bug
and i have suggestions like below - maybe we can add a new resource, which read from VBA IDE.VBE code comments
'@FuncDesc:A function described by vba comments
'@param1:FirstArg As Variant
'@desc1:this is for FirstArg
' and this for FirstArg too
'@Param2:SndArg As Long
'@DeSC2:this is for SndArg
Function MyVbaFunction(FirstArg, SndArg)
MyVbaFunction = FirstArg + SndArg
End Function - when four types of tip resources all on
i think the tip load priority can be like this: vba comments -> worksheet -> external xml -> built in xml
because vba comments and worksheet data can be set and update more conveniently. - maybe we can add a callback function to set custom tip data like this.
Sub GetTipString(byref strTipContent as string)
strTipContent = ReadTextFile("c:\1.xml")
End Sub
Metadata
Metadata
Assignees
Labels
No labels