|
Hello guys. Working in C# when you collapse a function, only the functions signature remains visible while the rest of the function body changes into boxed ellipsis. The color of this ellipsis also changes accoring to the settings. Again, the color of the boxed ellipsis changes only. It looks something like this
int Function() ...
I want the same in VB.Net. Although the function signature remains visible but unlike CSharp, color of the whole function signature changes in VB.Net. At the very least, I don't feel comfortable with this.
I hope you got my problem. If so, is there a way to make this behavior similar to that of CSharp? Thanks for any suggestions.
This world is going to explode due to international politics, SOON.
|
|
|
|
|
Menu: Tools -> Options -> Fonts and Colors.
|
|
|
|
|
I think my question was not clear enough. I exactly did what you suggested, before posting this question.
I also wrote that the whole function signature changes its color.
However in CSharp, only he boxed ellipsis changes its color. The function signature retains its color scheme.
So is there anyway in VB.Net, adopt this CSharp behavior in VB.Net. I googled it but could not find any.
This world is going to explode due to international politics, SOON.
|
|
|
|
|
This is nothing to do with C# or VB, it is a Visual Studio issue, and these changes can only be made through the options settings. If VS does not offer a specific option to do what you want then you need to petition Microsoft for the change.
|
|
|
|
|
There is no setting to change that behavior.
It may appear that the same code editor is being used when you look at C# and VB.NET, but it's not. The C# and VB.NET code editors were written by different teams at MS and the functionality difference between the two are quite extensive.
Part of the reason for these differences is maintaining a "feel" that appeared in previous products. The C# code editor "feels" more like the editors of C/C++ of Visual Studios past, while VB.NET "feels" and works more like the old VB6 and below editors.
|
|
|
|