-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tip resources from VBA code comments and other features suggestions. #137
Comments
Hi @loquat - thank you for the great feedback. There is a way to refresh the IntelliSense server, though it's only easy to call from C# as Your point 5 indeed sounds like a bug - I'll have to check. Scanning the VBA for such pseudo-attributes is an interesting suggestion. What do you see as the advantage of option 8 beyond writing the external file like 1 and having a refresh option? |
----thanks in advance, i will try myself too.
----i know some people would use this kind of comments to auto generate help files like chm.
----that is my idea for vba developers to update or add tip resources at runtime as their wish. |
it seems Intellisense tip have 3 types of resources
i have found two problems
maybe we can add a callback function to update tip resources by hand.
which seems like a bug
and i have suggestions like below
'@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
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.
Sub GetTipString(byref strTipContent as string)
strTipContent = ReadTextFile("c:\1.xml")
End Sub
The text was updated successfully, but these errors were encountered: