简体   繁体   中英

Wrap text in PyDev editor

Is it possible to set text wrapping in PyDev?

For Python such feature is especially important because you cant freely use newline characters.

In PyDev, the Source/Wrap paragraph menu (Ctrl+2, w) wraps the current line automatically. You should of course check if the output is what you expected.

Python syntax depends on indentation. So automatic text wrapping spoils the syntax. But you can tell Python to continue a statement on the next line. See the style guide under Maximum Line Length : : http://www.python.org/dev/peps/pep-0008/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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