<p>I'm quite used to my IDE setup in Delphi 7, where I have my comments rendered in italics.</p>

<p>This doesn't appear to be possible in VS2008. There's only an option for bold font, not italics.</p>

<p>Is there some kind of registry hack or font magic I can perform to get it to work? The font I'm using is Consolas, if that makes a difference.</p>

<p><strong>Edit:</strong> This is possible. See <a href="https://stackoverflow.com/questions/17508/how-to-modify-the-style-property-of-a-font-on-windows#25676">this</a> answer for details.</p>

<hr>

<p>Adam, as far as I can tell, you can't change the font name for just comments - only the colour, and boldness. If I'm wrong, please tell me!</p>

[{'answer_id': 15418, 'author': 'Adam Haile', 'author_id': 194, 'author_profile': 'https://Stackoverflow.com/users/194', 'pm_score': 0, 'selected': False, 'text': "<p>Unfortunately not...not sure why they don't let you do that.</p>\n\n<p>You can, however, change the font for just comments.  So you could make it something different which will make it stand out more.</p>\n\n<p>You may even be able to make a custom version of the font you use that is by default italic and then set that as the comment font.</p>\n"}, {'answer_id': 15420, 'author': 'Sören Kuklau', 'author_id': 1600, 'author_profile': 'https://Stackoverflow.com/users/1600', 'pm_score': 3, 'selected': True, 'text': '<p>If you have a font editor, you can change an italic font to pretend it\'s bold. <a href="http://damieng.com/blog/2007/07/11/italic-syntax-highlighting-in-visual-studio-2005" rel="nofollow noreferrer">Here\'s an example of it.</a> (For VS 2005, but it should work all the same.)</p>\n'}, {'answer_id': 15421, 'author': 'Jon Limjap', 'author_id': 372, 'author_profile': 'https://Stackoverflow.com/users/372', 'pm_score': 1, 'selected': False, 'text': '<p>I dunno how he did it but <a href="http://www.winterdom.com/weblog/2007/11/12/DesertNightsAVS2005ColorScheme.aspx" rel="nofollow noreferrer">Tomas Restrepo has a Visual Studio theme that is able to italicize comments and string literals</a>.</p>\n\n<p>This one is in Visual Studio 2005, but the theme editing for both versions appear unchange so it might provide you with some clues as to how to do it on your own theme.</p>\n\n<p><strong>Update:</strong> I didn\'t notice that he had a link to a Visual Studio 2008 version at the bottom of the post. </p>\n'}, {'answer_id': 15424, 'author': 'rjrapson', 'author_id': 1616, 'author_profile': 'https://Stackoverflow.com/users/1616', 'pm_score': 1, 'selected': False, 'text': "<p>You can kind of fake it by changing the font to something like the Lucida Handwriting font, which looks sort of italic or, buy or find a free italic only font.  </p>\n\n<p>Edit:  I've actually gone through the built-in fonts on my VS 2008 on Vista, and chosen Monotype Corsiva, and bumped the size to 12 for my comments setting (getting old - eyes aren't what they used to be)</p>\n"}, {'answer_id': 15434, 'author': 'Factor Mystic', 'author_id': 1569, 'author_profile': 'https://Stackoverflow.com/users/1569', 'pm_score': 2, 'selected': False, 'text': '<p>The pertinent registry key is</p>\n\n<pre><code>HKCU\\Software\\Microsoft\\VisualStudio\\9.0\\FontAndColors\\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}  \nComment FontFlags\n</code></pre>\n\n<p>Default is 0. Putting in a few test values got me various combination of normal, bold, and strike-through text, but no italics. Strikethrough isn\'t an option in the dialog either, so maybe there is a magic value for italics.</p>\n\n<p>@<a href="https://stackoverflow.com/questions/15414/is-it-possible-to-coax-visual-studio-2008-into-using-italics-for-comments#15421">jon limjap</a>:\nThe VS 2008 version of that theme doesn\'t italicize comments, just bold.</p>\n'}, {'answer_id': 25677, 'author': 'Blorgbeard', 'author_id': 369, 'author_profile': 'https://Stackoverflow.com/users/369', 'pm_score': 1, 'selected': False, 'text': '<p>I successfully used <a href="http://fontforge.sourceforge.net/" rel="nofollow noreferrer">FontForge</a> to create a copy of Consolas (although this should work with any font) with the bold style actually being italics.</p>\n\n<p>This <a href="https://stackoverflow.com/a/25676/369">other answer of mine</a> has the details.</p>\n\n<p>Basically, change the name and GUID, then open the italic variant and change its font info from saying italic to saying bold.</p>\n'}, {'answer_id': 25683, 'author': 'Jon Galloway', 'author_id': 5, 'author_profile': 'https://Stackoverflow.com/users/5', 'pm_score': 2, 'selected': False, 'text': '<p>I recommend <a href="http://damieng.com/blog/2007/10/14/colour-schemes-for-visual-studio" rel="nofollow noreferrer">Damien Guard\'s "Humane theme" for Visual Studio</a>. It includes a custom font he developed, Envy R, which uses a clever hack - the bold version of the font is actually italic, so his theme italicizes comments by telling Visual Studio to bold them.</p>\n\n<p>Even if you don\'t like the colors, just grab the theme (or the Envy R font) and tweak it in.</p>\n\n<p><img src="https://i.stack.imgur.com/ybd4p.png" alt="alt text"></p>\n'}]
['https://Stackoverflow.com/questions/15414', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/369/']