-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take advantage of more accurate comment to code mapping? #5
Comments
Would you mind giving an example? Having a hard time understanding what this means in relation to feature/fix/improvement. |
For each line of code in the most recent version, you could associate with it all commit comment fragments that have applied to that line in particular. With this information, you can get a lot of motivation for why the code is the way it is via browsing/searching based on this information. |
For example, you might want to search for "drag and drop" to find code fragments, possibly spread out, that collectively implement drag and drop. |
Ah I think I understand (correct me if I missed it). You'd like to see a relation between the commit comments and the lines of code which they were applied to. If that's the case, I'm afraid that feature might be a bit out of the scope of the current Bash scripts (which only searches & replaces lines). One solution might be to perform a |
So do you include the @commit comments in the code submitted? There's a lot of valuable information there with regards to the more accurate comment/lines of code mapping. One problem with doing this though is that other developers may not be using your tool and so checking out code with @commit comments still included from the last commit would not be good. |
@commit comments are removed from the code via the If this is just for the programmer to see cool/neat relationships between their commit comments and actual code, it might be worth file for someone else to fork this project. |
Assuming that the comments are included in the committed code (and not just the commit comment), perhaps you could use the more accurate comment to code mapping for browsing and search purposes?
The text was updated successfully, but these errors were encountered: