Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing font for member variables in Visual Studio

I don't think this is possible, but I'll ask anyway...

Is there some way to set the color and font to be used for class member variables in the editor? I just returned to C++ and Visual Studio after being in the Java world for the past 4 years and I'm really missing Jetbrains' IDEA (a killer Java IDE). I've really gotten used to having my editor use colors and fonts to indicate member functions, statics, etc...

If Visual Studio can't do it, is there a better IDE for C++ / MFC programming? Visual Studio is making me feel like I've stepped inside a time machine and have been transported back ten years. Except I'm still 38 and out of shape.

Cory

like image 527
criddell Avatar asked Dec 18 '08 21:12

criddell


People also ask

How do I change the font in Visual Studio terminal?

Press command + shift + P in your VSCode window. Then, look up with “settings. json” and open it. Here, you've got to choose the right fontFamily that you want to use as you configured in your personal shell editor like iTerm.

How do I change font on MFC?

CreateFontIndirect(&lfDlgFont); // Set the dialog and all its controls to use the system message box font SetFont(m_DlgFont, TRUE); SendMessageToDescendants(WM_SETFONT, (WPARAM)m_DlgFont. m_hFont, MAKELPARAM(FALSE, 0), TRUE);

How do I change the Color of a variable in Visual Studio?

On the Environment > General options page, change the Color theme selection to Dark, and then choose OK. The color theme for the entire Visual Studio development environment (IDE) changes to Dark.


1 Answers

Not free, but Visual Assist is an addin for vs2005/2008 that lets you assign different colors to classes, variables, macros and functions (among other features).

like image 94
sean e Avatar answered Nov 10 '22 22:11

sean e