Customization IntelliPromptMemberList

SyntaxEditor .NET Languages Add-on for Windows Forms Forum

Posted 17 years ago by Cyril Dudarenko - National Risk Services, Inc
Version: 4.0.0246
I use abilities of .Net Addon with C#, you made a great work thx!
But I have some troubles with IntelliSense feauture and need Your help.
MyCSharpLanguage class is inherited from CSharpSyntaxLanguage and overrides
OnSyntaxEditorTriggerActivated event.

//ctor fragment of my window with SyntaxEditor instance
string HeaderWrapString = @"using System.IO;
using ControlLib;
public class MyWrapperClass{";
string FooterWrapString = "}";

syntaxEditor.Document.HeaderText = HeaderWrapString;
syntaxEditor.Document.FooterText = FooterWrapString;
syntaxEditor.Document.Text = 
public object EnteredValue()
    //In that place IntelliPromptMemberList is shown
    return null;
The problem is here - I need member info not for "MyWrapperClass" but for "ControlLib.MyClass".

What can I do? TriggerActivated event doesn't fire in both for MyCSharpLanguage class and syntaxEditor...

1. How can I make this event fire?
2. Can I use syntaxEditor_KeyTyping event handler to get TokenStream and manually construct type member list and use it?

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Cyril,

You'd have to specify ControlLib.MyClass in your header instead of MyWrapperClass. Because all of the add-on's internal code will be walking up the CompilationUnit that is built from the code and will see MyWrapperClass as the containing type as you have it now.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.