开发者

Coloring custom data types

Working with a custom framework and I was curious to know how I would be able to enable the VS custom coloring on data types and other similar things.

Like the normal Blue coloring on the data type for example, when you type int roar the word "int" is colored blue. In the fram开发者_开发技巧ework that I am using, the data types is not colored blue, as an example pok_int roar

So I was wondering if there was a way for me to enable the coloring system in visual studio for custom Data Types.


No.

int is colored blue because it's a keyword, not because it's a special type.


Tools -> Options -> Environments holds all modifications you are allowed to make. If it is not in this list, it can't be done with the default install. For HTML though, you can make those types of changes for specific tags, for example, by changing the formatting for the tag.

Tools -> Options -> Environments -> Keywords -> Keyword -> Item foreground

Tools -> Options -> Environments -> Keywords -> Identifier -> Item foreground

You cannot however do exactly what you are wanting to do but, at the very least, you now know how to make some modifications.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜