playMaker

Author Topic: TODO in .cs source  (Read 4450 times)

mindlube

  • Playmaker Newbie
  • *
  • Posts: 32
TODO in .cs source
« on: October 12, 2011, 02:00:20 PM »
Hi, can you please remove the TODO comments from your source code before publishing. Right now I'm working on a Perl script to remove all of it. Because in Monodevelop I can't see my tasks because the task list is filled with all the playmaker todo items. Thanks!

mindlube

  • Playmaker Newbie
  • *
  • Posts: 32
Re: TODO in .cs source
« Reply #1 on: October 12, 2011, 02:05:16 PM »
This works:
alexr:PlayMaker $ perl -pi -e 's/TODO/PLAYMAKER_TODO/g' Actions/*.cs Editor/*.cs

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: TODO in .cs source
« Reply #2 on: October 12, 2011, 07:13:58 PM »
Thanks for sharing! I'll look into this. Probably won't make it into 1.2.1 - just about to submit the update and don't want to make any last minute changes!

mindlube

  • Playmaker Newbie
  • *
  • Posts: 32
Re: TODO in .cs source
« Reply #3 on: August 18, 2012, 08:39:52 PM »
This is still bugging me in Monodevelop -- I have to run the Perl code with every new playmaker update in order to see my own TODOs in the task pad window.
edit:
actually Monodevelop is even more aggressive about tagging todos now, so I used instead:
Code: [Select]
cd Assets/Playmaker
perl -pi -e 's/TODO/IGNORE/g' Actions/*.cs Editor/*.cs
« Last Edit: August 18, 2012, 08:43:22 PM by mindlube »