Adds Item to IntelliPrompt

SyntaxEditor for Windows Forms Forum

Posted 11 years ago by Marco La Tona
Avatar
Hi,

I have add the C# Language to the SyntaxEditor. How can I add other items to the intelli-scense? For example a new namespace and classes and properties. The namespace, classes and properties are not in an assembly.

Regards
Marco

Comments (4)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Marco,

Do you mean in the .NET Languages Add-on or the dynamic C# language? The .NET Langauges Add-on has a topic on member list filtering in the documentation that may be of some help.


Actipro Software Support

Posted 11 years ago by Marco La Tona
Avatar
Hi,

with your CodeFragment sample works it. I build a class with constants in the headertext. Now, I see this constants in the intelli sense.
I have a problem when I define properties in this class. I can not see this properties in the intelli sense. Only functions and constants. You can test it with your own codefragment sample. Insert following lines in the headertext and try to select it from the intelli sense list:

public bool MyProperty
{
get { return 0; }
}

Regars
Marco
Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Ok I found the code that is causing the problem. Basically it's due to there being "negative" offsets from the header text making the "get" not recognizible. I've logged a bug on this but in the meantime a workaround is to put your property in the footer text instead of header. If you do that it will work fine.


Actipro Software Support

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
This bug is now fixed for the next maintenance release.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) 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.