Click here to Skip to main content
       

.NET Framework

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionChange Collpased Text Color Settings in VB.NetmemberAmbiguousName6 Feb '13 - 23:46 
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.

AnswerRe: Change Collpased Text Color Settings in VB.NetmvpRichard MacCutchan7 Feb '13 - 0:52 
Menu: Tools -> Options -> Fonts and Colors.
GeneralRe: Change Collpased Text Color Settings in VB.NetmemberAmbiguousName7 Feb '13 - 1:12 
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.

GeneralRe: Change Collpased Text Color Settings in VB.NetmvpRichard MacCutchan7 Feb '13 - 1:35 
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.
GeneralRe: Change Collpased Text Color Settings in VB.NetmvpDave Kreskowiak7 Feb '13 - 2:12 
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.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid