https://github.com/j2kun/todo-backlinks
Link from issue 123 to source lines containing `TODO(#123)`
https://github.com/j2kun/todo-backlinks
Last synced: about 1 year ago
JSON representation
Link from issue 123 to source lines containing `TODO(#123)`
- Host: GitHub
- URL: https://github.com/j2kun/todo-backlinks
- Owner: j2kun
- License: mit
- Created: 2023-12-14T23:08:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-05T04:31:02.000Z (over 1 year ago)
- Last Synced: 2025-03-27T13:45:32.835Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# TODO backlinks
Link from GitHub issue #123 to source lines containing `TODO(#123): msg`.
For example, if `source_file.py` contains this on line 126:
```python
# TODO(#4): remove comments which no longer have TODOs
```
Then issue #4 will get a new comment
```markdown
This issue has 1 outstanding TODOs:
- [source_file.py:126](https://github.com/j2kun/todo-backlinks/blob/main/entrypoint.py#L126) : remove comments which no longer have TODOs
This comment was autogenerated by [todo-backlinks](https://github.com/j2kun/todo-backlinks)
```
The comment will be updated in sync with the code changes, including listing
multiple TODOs and deleting the comment when the TODOs are gone. Only works
on files in the repository's main branch.