EditorBrowsableAttribute

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Nathan Baulch
Version: 4.0.0262
Avatar
Is there any way to filter what members are shown in the intelli prompt?
In visual studio this is controlled with the EditorBrowsableAttribute but this seems to be ignored by the syntax editor.

Comments (5)

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

Yes in the documentation for the .NET add-on, there is info on member list item filtering. We don't yet look at EditorBrowsableAttribute but that is something that is on our TODO list.


Actipro Software Support

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Nathan, the EditorBrowsable feature was just added in today's release. See the blog for more info on it.


Actipro Software Support

Posted 16 years ago by Jake Pearson - Software Developer, Alion Science and Technology
Avatar
Hi,
I found a bug in this feature. Lets say you have a class like this:

public class A
{
   [EditorBrowsable(EditorBrowsableState.Never)]
   public void B(int c) {}
   public void B(double c) {}
}
In the editor, if type in something like this, the intelliprompt shows 2 versions of the method instead of 1:

var a = new A();
a.
Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks, this is now fixed for the next maintenance release.


Actipro Software Support

Posted 16 years ago by Jake Pearson - Software Developer, Alion Science and Technology
Avatar
Thank you!
The latest build of this product (v24.1.1) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.