Sublime Text 2 高亮装订线
问题说明
默认情况下,当插入符号位于该行时,sublime text 2 中的行号/装订线区域会突出显示.我怎样才能关闭它?
By default the line number / gutter area in sublime text 2 is highlighted when the caret is on that line. How can I turn it off?
我看到了隐藏装订线的选项,但我希望行号可见.谢谢.
I see options to hide the gutter but I want the line numbers to be visible. Thanks.
正确答案
要关闭行突出显示,请通过菜单转到 preferences>settings - User
并添加以下行:
To turn off line highlighting go to preferences>settings - User
through the menus and add this line:
"highlight_line": false,
然后保存.我在 linux 中使用默认的 Monokai
主题,这将改变它:
then save. I am using the default Monokai
theme in linux, this will change it from:
到:
如您所见,该行不再突出显示(它没有显示在图片中,但我的光标仍在该行上),但装订线编号是.我想你也想摆脱它?因此,打开主题文件 .../sublime-text-2/Packages/Color Scheme - Default/Monokai.tmTheme
,并更改 lineHighlight
颜色,所以它与 background
颜色相同,即.#3E3D32
转到 #272822
,像这样:
As you can see the line is no longer highlighted (it doesn't show in the picture but my cursor is still on the line), but the gutter numbers are. I think you also want to get rid of that? So, open the theme file .../sublime-text-2/Packages/Color Scheme - Default/Monokai.tmTheme
, and change the <key>lineHighlight</key>
colour, so it is the same as the <key>background</key>
color, ie. #3E3D32
goes to #272822
, like this:
保存后,它应该可以解决您的问题:
On saving, it should resolve your problem:
只有第二步才是真正必要的.
Only the 2nd step is really neccessary.
这篇好文章是转载于:学新通技术网
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 学新通技术网
- 本文地址: /reply/detail/tanhcbieih
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
检查邮件是否发送成功
it1352 07-25 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
Android微调工具-删除当前选择
it1352 06-20 -
Android App 和三星 Galaxy S4 不兼容
it1352 07-20 -
希伯来语的空格句子标记化错误
it1352 06-22