0pdd icon indicating copy to clipboard operation
0pdd copied to clipboard

Allow `TODO:` and `TODO` as PDD tag to better align with C#/F# .NET Codebases

Open SilasReinagel opened this issue 6 years ago • 16 comments

For .NET Developers, they don't use annotations and the convention is to write TODO in all caps, sometimes with a : at the end.

It would be a very useful feature if 0pdd were able to treat those as Puzzle tags and the interpret the remainder of the puzzle to create a ticket.

This was one of the reasons I stopped using 0pdd in some of my .NET projects. It was very inconsistent from the normal code style.

SilasReinagel avatar Apr 26 '18 17:04 SilasReinagel

@yegor256/z please, pay attention to this issue

0crat avatar Apr 26 '18 17:04 0crat

@SilasReinagel can you give an example how you would format a puzzle instead?

yegor256 avatar May 03 '18 11:05 yegor256

// TODO: #16 This needs to use Trigonometry to apply the velocity correctly

SilasReinagel avatar May 04 '18 01:05 SilasReinagel

Job #202 is now in scope, role is DEV

0crat avatar May 30 '18 11:05 0crat

@SilasReinagel we will make it possible to use TODO: in addition to @todo

yegor256 avatar May 30 '18 11:05 yegor256

Bug was reported, see §29: +15 point(s) just awarded to @silasreinagel/z

0crat avatar May 30 '18 11:05 0crat

The job #202 assigned to @liligga/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be no monetary reward for this job

0crat avatar Jun 24 '18 08:06 0crat

The job #202 assigned to @fybwid/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

0crat avatar Jun 29 '18 06:06 0crat

@0crat wait @yegor256 I need more details with this issue

yosefbennywidyo avatar Jun 29 '18 06:06 yosefbennywidyo

@0crat wait @yegor256 I need more details with this issue (here)

@fybwid The impediment for #202 was registered successfully by @fybwid/z

0crat avatar Jun 29 '18 06:06 0crat

@fybwid What details are you lacking?

SilasReinagel avatar Jun 30 '18 07:06 SilasReinagel

@SilasReinagel, the Puzzle tags is not sufficiently documented, I don't understand how it works. In order to use TODO: in addition to @todo I should understand how it works first.

yosefbennywidyo avatar Jun 30 '18 09:06 yosefbennywidyo

@fybwid https://github.com/yegor256/pdd/blob/master/README.md

SilasReinagel avatar Jun 30 '18 15:06 SilasReinagel

@SilasReinagel, I have find which files needed to change which is: https://github.com/yegor256/pdd/blob/master/lib/pdd/source.rb in order to add TODO and TODO: to the current Puzzle tags @todo. If this is the file should changed, do I have to open New issue at https://github.com/yegor256/pdd/blob/master/lib/pdd/source.rb to enhance supported Puzzle tags?

yosefbennywidyo avatar Jul 01 '18 16:07 yosefbennywidyo

@fybwid I opened a bug in that repository too. Originally when I opened this issue, I was unaware that the parsing was handled by another library.

SilasReinagel avatar Jul 01 '18 16:07 SilasReinagel

@fybwid This ticket can be closed once an updated version of pdd with this feature is incorporated into 0pdd

SilasReinagel avatar Jul 01 '18 16:07 SilasReinagel