GitHub Atom - 删除编辑器中的中心线 [英] GitHub Atom - Remove the center line in the editor

查看:26
本文介绍了GitHub Atom - 删除编辑器中的中心线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了 GitHub Atom 编辑器并正在对其进行自定义.

I just downloaded the GitHub Atom Editor and I'm customizing it.

但我无法删除编辑器中间的那一行.

But I couldn't remove the line that is the middle of the editor.

有人帮我看看如何删除那条线吗?

Anyone help me out how to remove that line?

推荐答案

此行由 wrap-guide 包提供.您可以通过以下方式删除该行:

This line is provided by the wrap-guide package. You have the following options to remove the line:

禁用 wrap-guide 包.转到 Atom > Preferences > Packages,在搜索框中输入wrap",然后等待 wrap-guide 包出现在 Core Packages 下em>,然后点击那里的禁用按钮.

Disable the wrap-guide package. Go to Atom > Preferences > Packages, type "wrap" into the search box, then wait for the wrap-guide package to show up under Core Packages, and click the Disable button there.

或者将以下内容添加到您的用户样式表中.使用 Atom > Open Your Stylesheet 在编辑器中打开 styles.less 文件,然后添加以下内容:

Or add the following to your user stylesheet. Use Atom > Open Your Stylesheet to open the styles.less file in the editor, then add the following:

atom-text-editor::shadow {
    .wrap-guide {
        visibility: hidden;
    }
}

保存文件后,该行将消失.

Once you save the file, the line will be gone.

更多信息可以在这里找到:https://discuss.atom.io/t/vertical-line-in-editor/2717

More info can be found here: https://discuss.atom.io/t/vertical-line-in-editor/2717

更新 2015-06-28 由于 Atom 样式类的更新而更新了选择器.以上现在适用于 Atom 1.0+.

Update 2015-06-28 Updated selector due to updates in the Atom style classes. The above now works in Atom 1.0+.

这篇关于GitHub Atom - 删除编辑器中的中心线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆