monitoring keyword todo
sometimes i have properties called "todo":
<?php
/**
* @property mixed mode
* @property mixed todo
*/
class params { .... }
phpstorm always parses this as a real todo comment, does anyone know howto fix that ?
//todo .... <--- A REAL TODO
@property mixed todo <--- NO REAL TODO
thanks,
micha
请先登录再写评论。
Hi there,
"Settings | TODO" -- you can alter todo matching patterns there
thanks,
did the job for me...
Just a note: this pattern will not match // todo or @todo
If it's about your code only.. then it does not matter. But if it should cover somebody else's code as well ... then you may want to improve the pattern a bit :)
thanks for explaining a very simple regex ;)