[{"data":1,"prerenderedAt":326},["ShallowReactive",2],{"blog:2007:italic-syntax-highlighting-in-visual-studio-2005":3,"blogMore-Development":158,"comments-italic-syntax-highlighting-in-visual-studio-2005":171},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"category":11,"tags":12,"excerpt":16,"body":48,"_type":146,"_id":147,"_source":148,"_file":149,"_stem":150,"_extension":151,"url":152,"wordCount":153,"minutes":154,"commentCount":155,"image":156},"/blog/2007/italic-syntax-highlighting-in-visual-studio-2005","2007",false,"en","Italic syntax highlighting in Visual Studio 2005","I came across a posting by Thomas Restrepo about a theme for Vim he likes called Wombat and how it wouldn’t be worth porting to Visual Studio as it doesn’t support italic syntax highlighting, as we all know.","2007-07-11T10:56:52+00:00","Development",[13,14,15],".NET","coding fonts","Visual Studio",{"type":17,"children":18},"root",[19,35],{"type":20,"tag":21,"props":22,"children":23},"element","p",{},[24,27,29,31,33],{"type":25,"value":26},"text","I came across a posting by ",{"type":25,"value":28},"Thomas Restrepo about a theme for Vim he likes",{"type":25,"value":30}," called ",{"type":25,"value":32},"Wombat",{"type":25,"value":34}," and how it wouldn’t be worth porting to Visual Studio as it doesn’t support italic syntax highlighting, as we all know.",{"type":20,"tag":21,"props":36,"children":37},{},[38,40,46],{"type":25,"value":39},"This got me thinking and I was able to port it ",{"type":20,"tag":41,"props":42,"children":43},"em",{},[44],{"type":25,"value":45},"with italics",{"type":25,"value":47}," although the process is a bit of a hack.",{"type":17,"children":49,"toc":142},[50,70,79,84,98,106,120,134],{"type":20,"tag":21,"props":51,"children":52},{},[53,54,62,63,69],{"type":25,"value":26},{"type":20,"tag":55,"props":56,"children":60},"a",{"href":57,"rel":58},"https://www.winterdom.com/weblog/2007/07/11/Wombat.aspx",[59],"nofollow",[61],{"type":25,"value":28},{"type":25,"value":30},{"type":20,"tag":55,"props":64,"children":67},{"href":65,"rel":66},"https://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/",[59],[68],{"type":25,"value":32},{"type":25,"value":34},{"type":20,"tag":21,"props":71,"children":72},{},[73,74,78],{"type":25,"value":39},{"type":20,"tag":41,"props":75,"children":76},{},[77],{"type":25,"value":45},{"type":25,"value":47},{"type":20,"tag":21,"props":80,"children":81},{},[82],{"type":25,"value":83},"If I can figure out a way of making this hack re-distributable without infringing on copyrights I’ll follow this one up.",{"type":20,"tag":21,"props":85,"children":86},{},[87,89,96],{"type":25,"value":88},"In the meantime here’s a screen-shot of it in action using ",{"type":20,"tag":55,"props":90,"children":93},{"href":91,"rel":92},"https://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en",[59],[94],{"type":25,"value":95},"Consolas",{"type":25,"value":97},".",{"type":20,"tag":99,"props":100,"children":105},"img",{"className":101,"src":103,"alt":104},[102],"screenshot","https://img.damieng.com/blog/VSItalics.png","Visual Studio 2005 with italics",[],{"type":20,"tag":21,"props":107,"children":108},{},[109,111,118],{"type":25,"value":110},"I can’t stand using ",{"type":20,"tag":55,"props":112,"children":115},{"href":113,"rel":114},"https://www.vim.org/",[59],[116],{"type":25,"value":117},"vim",{"type":25,"value":119}," for .NET. I’ve got better things to do than commit the entire .NET Framework to memory. I remember watching a WPF screen-cast where the guy was using “his trusty editor” (vim or emacs, I forget ;-) and going on about the great keyboard short-cuts while constantly trying different method names, compiling yet again and finally looking up help in the absence of IntelliSense.",{"type":20,"tag":21,"props":121,"children":122},{},[123,125,132],{"type":25,"value":124},"I did however check out the latest trunk of ",{"type":20,"tag":55,"props":126,"children":129},{"href":127,"rel":128},"https://www.sharpdevelop.com/OpenSource/SD/",[59],[130],{"type":25,"value":131},"SharpDevelop",{"type":25,"value":133}," this weekend and was impressed with both the product and the source code. There was a bit of flickering with the solution explorer and the icons seem to be a bit of a steal-and-mash but otherwise looks first class.",{"type":20,"tag":21,"props":135,"children":136},{},[137],{"type":20,"tag":41,"props":138,"children":139},{},[140],{"type":25,"value":141},"[)amien",{"title":143,"searchDepth":144,"depth":144,"links":145},"",2,[],"markdown","content:blog:2007:italic-syntax-highlighting-in-visual-studio-2005.md","content","blog/2007/italic-syntax-highlighting-in-visual-studio-2005.md","blog/2007/italic-syntax-highlighting-in-visual-studio-2005","md","/blog/2007/italic-syntax-highlighting-in-visual-studio-2005/",212,1,7,{"className":157,"src":103,"alt":104},[102],[159,163,167],{"title":160,"date":161,"url":162},"HTML5 Video Cheatsheet: Optimizing videos for the web","2025-12-05T00:00:00Z","/blog/2025/html5-video-cheatsheet/",{"title":164,"date":165,"url":166},"Transactions in the MongoDB EF Core Provider","2025-10-25","/blog/2025/mongodb-explicit-transactions/",{"title":168,"date":169,"url":170},"Queryable Encryption with the MongoDB EF Core Provider","2025-09-22","/blog/2025/mongodb-queryable-encryption/",[172,194,219,241,262,279,297],{"_path":173,"_dir":174,"_draft":6,"_partial":6,"_locale":7,"title":175,"description":176,"id":177,"name":178,"email":179,"avatar":180,"url":181,"date":182,"body":183,"_type":146,"_id":191,"_source":148,"_file":192,"_stem":193,"_extension":151},"/comments/italic-syntax-highlighting-in-visual-studio-2005/9169","italic-syntax-highlighting-in-visual-studio-2005","9169","I decided against after consulting with a few people but you can probably achieve a similar effect using FontForge or other font editing programs (just make sure they preserve hinting)",9169,"Damien Guard","damien@envytech.co.uk","https://www.gravatar.com/avatar/dc72963e7279d34c85ed4c0b731ce5a9?r=pg&d=retro","https://damieng.com/","2008-08-19T18:29:41",{"type":17,"children":184,"toc":189},[185],{"type":20,"tag":21,"props":186,"children":187},{},[188],{"type":25,"value":176},{"title":143,"searchDepth":144,"depth":144,"links":190},[],"content:comments:italic-syntax-highlighting-in-visual-studio-2005:9169.md","comments/italic-syntax-highlighting-in-visual-studio-2005/9169.md","comments/italic-syntax-highlighting-in-visual-studio-2005/9169",{"_path":195,"_dir":174,"_draft":6,"_partial":6,"_locale":7,"title":196,"description":197,"id":198,"name":199,"email":200,"avatar":201,"date":202,"body":203,"_type":146,"_id":216,"_source":148,"_file":217,"_stem":218,"_extension":151},"/comments/italic-syntax-highlighting-in-visual-studio-2005/9159","9159","Did you ever write that app? I've been mucking around with a hex editor and the TTF spec, but have only succeeded in screwing up my fonts royally so far :)",9159,"Blorg","blorgbeard@gmail.com","https://www.gravatar.com/avatar/c45ed3c5ff8dc96804b6f819f6cfcbb2?r=pg&d=retro","2008-08-19T01:47:32",{"type":17,"children":204,"toc":214},[205,209],{"type":20,"tag":21,"props":206,"children":207},{},[208],{"type":25,"value":197},{"type":20,"tag":21,"props":210,"children":211},{},[212],{"type":25,"value":213},"If there's no app, do you have any hints about which bits to flip?",{"title":143,"searchDepth":144,"depth":144,"links":215},[],"content:comments:italic-syntax-highlighting-in-visual-studio-2005:9159.md","comments/italic-syntax-highlighting-in-visual-studio-2005/9159.md","comments/italic-syntax-highlighting-in-visual-studio-2005/9159",{"_path":220,"_dir":174,"_draft":6,"_partial":6,"_locale":7,"title":221,"description":222,"id":223,"name":178,"email":179,"avatar":180,"url":181,"date":224,"body":225,"_type":146,"_id":238,"_source":148,"_file":239,"_stem":240,"_extension":151},"/comments/italic-syntax-highlighting-in-visual-studio-2005/1943","1943","Well the trick is to basically modify the italic version of the font to give it a new name and to present itself as bold.",1943,"2007-08-19T22:58:35",{"type":17,"children":226,"toc":236},[227,231],{"type":20,"tag":21,"props":228,"children":229},{},[230],{"type":25,"value":222},{"type":20,"tag":21,"props":232,"children":233},{},[234],{"type":25,"value":235},"I intend on putting together a simple app to do this to any installed font but in the mean time I did it by hand on my own Envy Code R font.",{"title":143,"searchDepth":144,"depth":144,"links":237},[],"content:comments:italic-syntax-highlighting-in-visual-studio-2005:1943.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1943.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1943",{"_path":242,"_dir":174,"_draft":6,"_partial":6,"_locale":7,"title":243,"description":244,"id":245,"name":246,"email":247,"avatar":248,"url":249,"date":250,"body":251,"_type":146,"_id":259,"_source":148,"_file":260,"_stem":261,"_extension":151},"/comments/italic-syntax-highlighting-in-visual-studio-2005/1942","1942","I still use Vim as a general purpose text viewer / editor, even though I use VS for actually writing code. It's just very useful for quickly examining / altering patch files, scripts, XML, config files, sometimes hacking VS project files manually because it's faster than using a wizard / property page etc. I'm not a fan of trying to use VS for absolutely everything, I tend to pick and choose the best tool for each job.",1942,"steve","steve@stevestreeting.com","https://www.gravatar.com/avatar/fbe8cc9ac5bc8797382e01e10f5f8e33?r=pg&d=retro","https://www.stevestreeting.com","2007-07-11T14:38:30",{"type":17,"children":252,"toc":257},[253],{"type":20,"tag":21,"props":254,"children":255},{},[256],{"type":25,"value":244},{"title":143,"searchDepth":144,"depth":144,"links":258},[],"content:comments:italic-syntax-highlighting-in-visual-studio-2005:1942.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1942.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1942",{"_path":263,"_dir":174,"_draft":6,"_partial":6,"_locale":7,"title":264,"description":265,"id":266,"name":178,"email":179,"avatar":180,"url":181,"date":267,"body":268,"_type":146,"_id":276,"_source":148,"_file":277,"_stem":278,"_extension":151},"/comments/italic-syntax-highlighting-in-visual-studio-2005/1941","1941","It involves modifying files so I'm trying to put together a binary patcher as I obviously can't redistribute the files themselves.",1941,"2007-07-11T13:53:59",{"type":17,"children":269,"toc":274},[270],{"type":20,"tag":21,"props":271,"children":272},{},[273],{"type":25,"value":265},{"title":143,"searchDepth":144,"depth":144,"links":275},[],"content:comments:italic-syntax-highlighting-in-visual-studio-2005:1941.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1941.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1941",{"_path":280,"_dir":174,"_draft":6,"_partial":6,"_locale":7,"title":281,"description":282,"id":283,"name":284,"date":285,"body":286,"_type":146,"_id":294,"_source":148,"_file":295,"_stem":296,"_extension":151},"/comments/italic-syntax-highlighting-in-visual-studio-2005/1940","1940","That looks pretty cool. Do you mind sharing what the trick was? :)",1940,"Tomas Restrepo","2007-07-11T13:38:03",{"type":17,"children":287,"toc":292},[288],{"type":20,"tag":21,"props":289,"children":290},{},[291],{"type":25,"value":282},{"title":143,"searchDepth":144,"depth":144,"links":293},[],"content:comments:italic-syntax-highlighting-in-visual-studio-2005:1940.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1940.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1940",{"_path":298,"_dir":174,"_draft":6,"_partial":6,"_locale":7,"title":299,"description":300,"id":301,"name":302,"email":303,"avatar":304,"url":305,"date":306,"body":307,"_type":146,"_id":323,"_source":148,"_file":324,"_stem":325,"_extension":151},"/comments/italic-syntax-highlighting-in-visual-studio-2005/1939","1939","Well, you don't have to use Vim, you can use ViEmu in VS.NET.",1939,"Rik Hemsley","rik@rikkus.info","https://www.gravatar.com/avatar/22e33503870d8e20493c4dd6b2f9767f?r=pg&d=retro","https://rikkus.info/","2007-07-11T11:43:14",{"type":17,"children":308,"toc":321},[309],{"type":20,"tag":21,"props":310,"children":311},{},[312,314,320],{"type":25,"value":313},"Well, you don't have to use Vim, you can use ",{"type":20,"tag":55,"props":315,"children":317},{"href":316},"https://www.viemu.com/",[318],{"type":25,"value":319},"ViEmu in VS.NET",{"type":25,"value":97},{"title":143,"searchDepth":144,"depth":144,"links":322},[],"content:comments:italic-syntax-highlighting-in-visual-studio-2005:1939.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1939.md","comments/italic-syntax-highlighting-in-visual-studio-2005/1939",1779264592646]