Chinaunix首页 | 论坛 | 博客
  • 博客访问: 598159
  • 博文数量: 239
  • 博客积分: 7941
  • 博客等级: 准将
  • 技术积分: 2467
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-10 12:14
个人简介

及时当勉励

文章分类

全部博文(239)

文章存档

2013年(29)

2011年(22)

2010年(188)

分类:

2010-06-04 18:46:13

    To set syntax coloring for user-defined keywords
In the same directory as msdev.exe, use the Text editor or Windows Notepad to create a text-only file named usertype.dat.
    Add your keywords to usertype.dat, one keyword per line.
Note The usertype.dat file is read during initialization. It cannot be renamed, nor can it be reloaded during an editing session. The syntax coloring mechanism checks the usertype.dat file last. Thus, all previously defined color settings take precedence over the user-defined keywords.
Save the file as a text-only file, exit, and then restart Visual Studio.
From the Tools menu, choose Options.
    Select the Format tab.
In the Colors box, select User Defined Keywords.
Set the font, font size, foreground color, and background color to your preferences.
For more information, see To change colors used in syntax coloring.
Click OK.
Tip For any source file, you can use the Source File Properties page to specify which language syntax coloring to apply (or turn off syntax coloring altogether). For more information, see Setting Font Style, Size, and Color.
阅读(1704) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~