Can I tell .net's Intellisense how to sort fie

2019-06-26 04:38发布

问题:

In Visual Studio, Intellisense sorts the fields of an object by alphabetical order. I am used to Delphi, where Intellisense sorts by (method, property, event) and then alphabetically.

Is there a decoration once can add to a class/struct definition to tell Intellisense how to sort fields?

回答1:

Unfortunately you cannot. It's a feature that's been requested but just hasn't made it in yet.