GithubHelp home page GithubHelp logo

rubyworks / dnote Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 2.0 3.06 MB

Extract Developers Notes from Source

Home Page: http://rubyworks.github.com/dnote

License: Other

Ruby 99.22% JavaScript 0.47% Visual Basic 0.31%

dnote's People

Contributors

trans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jcangas mvz

dnote's Issues

Rake Task

Good idea to add a Rake task for DNote. Basically just copy the Syckle service.

little more free Label patttern

Hi: I love Dnote so much I want use it for my other non ruby projects: yes I'm guilty; also write non ruby :(. So I want use other patterns than #LABEL: what about //LABEL: ? it is valid for java, C, Delphi.
Maybe options --premark --postmark can do the trick, by default :premark => '#' and :postmark => ':'
That's all!. Thanks for the useful Dnote project

source capture

I thing vert useful to cature some source lines for show in dnote report, i.e. copy some lines after the note. Sample
# FIXME: the count is incorrect
def counts
@CountS ||= (
h = {}
by_label.each do |label, notes|
h[label] = notes.size
end
h
)
end

Then the report shows something likes
FIXME: the count is incorrect
def counts
@CountS ||= (
h = {}
by_label.each do |label, notes|
...

The number of lines to capture can be a parameter.

Incorrect Counts

Counts are not adding up correctly. It seems it is counting the number of files rather then the number of notes.

Missing dnote.yml

Version 1.7.0 of dnote aborts immediately because it cannot find dnote.yml.

Website typo

In the future the parsing may imnprove to allow page-top outlined notes as well.

s/imnprove/improve/

Not a huge deal, but I didn't know where it would be best to submit this.

--label throws an exception

dnote --label FIXME generates this error. Could you pls fix it? Thx!

/tmp/test/vendor/gems/gems/dnote-1.1.4/lib/dnote/format.rb:45:in __send__': undefined methodlabels=' for #DNote::Format:0xb79102a0 (NoMethodError)
from /tmp/test/vendor/gems/gems/dnote-1.1.4/lib/dnote/format.rb:45:in initialize' from /tmp/test/vendor/gems/gems/dnote-1.1.4/lib/dnote/format.rb:44:ineach'
from /tmp/test/vendor/gems/gems/dnote-1.1.4/lib/dnote/format.rb:44:in initialize' from /tmp/test/vendor/gems/gems/dnote-1.1.4/lib/dnote/command.rb:121:innew'
from /tmp/test/vendor/gems/gems/dnote-1.1.4/lib/dnote/command.rb:121:in run' from ../../bin/../vendor/gems/gems/dnote-1.1.4/bin/dnote:3 from ../../bin/dnote:3:inload'
from ../../bin/dnote:3

Option to ignore directories like grep

Right now if we use gem bundler, the statistics are also for the code for gem, which we really dont want, it would be great if you could add an option to ignore directories. Thx!

Context support in more formats

Support context in more formats.

Text formats should be pretty easy, getting the indent right is the only tricky part there.

XML needs to put the text in CDATA. That might be difficult with way it's currently being handled.

Error running dnote over a rails project

$ dnote -T
/Library/Ruby/Gems/1.8/gems/dnote-1.3.0/lib/dnote/session.rb:224: warning: don't put space before argument parentheses
undefined method `group_by' for #Array:0x1123b34

Double Colons

DNote will sometimes pick up class or module names thinking they are notes.

To fix just ad a [^:](no extra colon) to the regexp for finding notes..

Option to generate report sorted by filename

At the moment, it defaults & sorts by labels. It would great if u could add the option to sort by filename.

Thx for an awesome tool, its a boon to manage labels & developers!

Add -R for recursive search

When specifying path matchers via bash there is no way to specify a recursive search. So a -R option would be nice for that use case.

Support YARD like @label Syntax

YARD documentation tool labels everything using @Label syntax. Including @todo. I am not 100% sure that a good idea b/c how does one distinguish a developer's note from an API annotation?

In any case, if somehow feasible, it might be nice to support this syntax too so that YARD and DNote can inter-operate well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.