How can I force IntelliSense to show a star next to a method or property in my custom class?
Is it a markup thing?
I know it's gleaned from usage patterns of each individual engineer, but how can I do this manually?
public class RabbitHole
{
public double Width;
public double Depth;
public void Descend(double toDepth)
{
// ...
}
public void Ascend(double toHeight)
{
// ...
}
}
I would like Depth and Descend to be marked with a star in the IntelliSense code-completion popup when a user types:
currentRabbithole.
// ^ when the dot is typed
For an example of what I'm talking about, instances of the string class show Length, Replace, Split, Trim, and Contains with stars next to them (and moved to the top of the list) when typing the dot after the instance name:
string text = "hello";
text.
// ^ when the dot is typed