todo tags not working on eclipse and pydev

大憨熊 提交于 2019-12-09 12:24:41

问题


I'm using eclipse 3.7.0 on fedora and pydev 2.2.2

I tried to use the todo tags but it doesnt work. the todo tags on window > preferences looks fine. i can add a using left click beside the line.

please advice


回答1:


Comments with #TODO will only generate tasks if:

  1. The code is in a source folder (i.e.: in the PYTHONPATH)

  2. You have the builders turned on (or run the build manually from time to time).

Reference: http://pydev.org/manual_adv_tasks.html

The getting started guide ( http://pydev.org/manual_101_root.html ) has instructions on how to config PyDev properly so that things like todo tasks work properly




回答2:


Make sure you are writing:

#TODO: This is my todo.

Otherwise, it won't work. Note the colon after the 'O'.



来源:https://stackoverflow.com/questions/7510652/todo-tags-not-working-on-eclipse-and-pydev

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!