【发布时间】:2013-10-11 02:14:58
【问题描述】:
虽然我真的很喜欢 PyCharm,但我想真正学习如何在 emacs 中做到这一点。当我清理 pep8 违规尤其是长行违规时,我真的很欣赏 PyCharm 自动引用行尾或添加我通常在 emacs 中手动执行的任何其他内容的能力。 emacs中是否有一个插件可以做到这一点?例如:
发件人:
output_string += '<table border="1"><tr><th>Column</th> <th>Type</th> <th>Required</th></tr>'
当我换行时,它会自动添加所需的行尾:
output_string += '<table border="1"><tr><th>Column</th> <th>Type</th> ' \
88 '<th>Required</th></tr>'
【问题讨论】:
-
顺便说一句,为什么要添加换行符,为什么不让 Emacs 像
auto-fill在文本模式下那样做 - 只是在此处添加反斜杠?