简体   繁体   English

用记事本++换行

[英]Wrapping in Notepad++

I know the Python coding standard has a limit of 78 characters per line.我知道 Python 编码标准有每行 78 个字符的限制。 I am working in Notepad++ and how do I set it so it wraps after 78 characters?我在 Notepad++ 中工作,如何设置它使其在 78 个字符后换行?

There's a good writeup in the Notepad++ User Manual about managing line lengths . Notepad++ 用户手册中有一篇关于管理行长度的好文章 It suggests using the Settings -> Preferences -> Editing -> Vertical edge settings.它建议使用设置 -> 首选项 -> 编辑 -> 垂直边缘设置。 There doesn't appear to be a way to have it automatically wrap to a new line as you are typing.似乎没有办法让它在您键入时自动换行。

要应用 WordWrap,只需转到菜单栏中的查看并选中 WordWrap 选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM