Posted 20 years ago by Grut
Avatar
Does anyone have a solution to externalize all the
intellisense data :
I don't want to test each language to know how I
will fill the infotips, the intelliPrompt etc etc.
Maybe another XML file with every words, infotips ...
in it or another solution but how implement it
with the SyntaxEditor structure ?

Thanks for the one with a solution <IMG SRC="smile.gif" border="0">

Comments (4)

Posted 20 years ago by Grut
Avatar
Someone says me to use the ISemanticParseData with the
SemanticParseData property of the token in the PostParse()
method.
But does anyone have already use this interface ?
Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Semantic parse data is an open-ended design. It can mean different things from one developer to another. The semantic parse phase is intended to be after you've lexically parsed all the tokens and want to give more "meaning" to the tokens. That's what semantic parsing is. So in order to give more meaning to tokens, you can store some sort of data that is useful for you in them.

This is where ISemanticParseData comes in. Right now, there are no property or method requirements for an object that provides parse data. That may change in the future. So you could store any object as your semantic parse data. Maybe it's just a simple class that has an enumeration property saying whether an identifier is for a variable, method name, property name, etc. It's totally up to you.


Actipro Software Support

Posted 20 years ago by Grut
Avatar
Ok ! I understand now how this interace works <IMG SRC="smile.gif" border="0">
But how can I use it for something like:

For c# :
If the token is "Invalidate" then the memberlist for '(' is ..., the infoTips is ...
If the token is "EventHandler" then the memberlist for '(' is ..., the infotips is ...
etc
etc
For vb.net:
If ...
etc
etc

I can't find a good solution to do this, or maybe SyntaxEditor has directly such a feature ?

Thanks a lot.

[ 10-26-2004: Message edited by: Grut ]
Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Our sample is just to show the user interface capabilities of the control however for now, it's up to you to determine how to implement full intellisense. It's not an easy thing to do, otherwise we would have implemented it a long time ago because it is a highly requested feature.

We would like to work on writing code that does intellisense for C#/VB however we haven't started that project yet and probably won't at least until after our major dock controls update is released.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.