1

I am having a problem with visual studio not displaying line numbers despite having checked "Line numbers" in Tools -> Options. I have included a pic with proof, and all the solutions I have found don't answer this. How can I enable line number, despite already having enabled it?

http://imgur.com/7cmfqcZ

4

2 回答 2

0

您没有为所有语言启用它 - 正方形表示它已为某些语言启用,但显然不是您关心的语言。

只需单击复选框两次 - 第一次将为所有语言删除它,第二次将为所有语言选择它。

于 2013-09-18T23:21:34.097 回答
0

组中行号复选框中的蓝色框All Languages表示行号取决于语言。

要么在此处打勾(为所有语言启用行号),要么在 C/C++ - 特定行号选项中(为 C/C++ 启用行号)。

于 2013-09-18T23:23:53.487 回答