在 Visual Studio 2015 中按行号删除多余的空格 [英] Remove extra space by line numbers in Visual Studio 2015
问题描述
我不知道这是否是该问题的合适社区,所以如果不是,请随时移动它.
I have no idea if this is the right community for this question, so please feel free to move it if it is not.
在 Visual Studio 2015 中,行号似乎有六个字符空格,即使您的文件只有 30 行 - 因此这允许屏幕上的实际代码字符更少.有没有办法去除多余的空间?
In Visual Studio 2015, there appear to be six character spaces for line numbers, even if your file only has 30 lines - so this allows for fewer characters of actual code on the screen. Is there a way to remove the extra space?
推荐答案
代码左边有如下边距:断点/书签(17 px)、行号(35 px)、快速操作(18 px)、文件更改(10 像素)和轮廓(9 像素).
There are following margins left of code: breakpoints/bookmarks (17 px), line numbers (35 px), quick actions (18 px), file changes (10 px) and outlining (9 px).
我没有看到任何故意浪费的空间,也没有看到任何更改现有元素宽度的公共选项.
I don't see any deliberately wasted space and I don't see any public options to change width of existing elements.
这篇关于在 Visual Studio 2015 中按行号删除多余的空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!