【发布时间】:2018-07-16 16:31:52
【问题描述】:
我想在我的 PyCharm 项目中添加多行 TODO 注释。
# TODO: Multiple errors can be wrapped inside an exception.
# WfcApiException should do recursive error checking to locate
# and store an arbitrary number of nested errors.
不幸的是,PyCharm 仅将第一行识别为 TODO 注释。以下任何行都被视为标准 Python cmets。
在 PyCharm 中格式化多行 TODO 注释的正确方法是什么?
【问题讨论】:
-
不幸的是,您不能使用 PyCharm 格式化多行 TODO cmets。有许多论坛帖子,您可以通过谷歌搜索来确认这一点。
标签: python pycharm comments multiline todo