开发者

What is 'semantic highlighting' option in MonoDevelop

Under 'Syntax highlighting' there is an option for 'enable semantic highlighting'. What does that do differently than regular intellisense/a开发者_如何学Cutocomplete/highlighting?


Without semantic highlight MD does only simple highlighting, only based on the rules of the language - like keywords, strings, digits.

Semantic highlighting, well, as the name suggests, analyzes the meaning of tokens. At the present time, for C# I think it only highlights tokens that represent a type name. In the future a wider range of highlighting is possible, for example a local variables.

And the last thing - it is not related to the intellisense/autocomplete feature.


Actually that looks like highlighting the objects and variable types explained here: http://zwabel.wordpress.com/2009/01/08/c-ide-evolution-from-syntax-highlighting-to-semantic-highlighting/

Anymore info on it would be good.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜