Skip to content
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

Content of issue for multi-line todos #90

Open
mbtools opened this issue Nov 11, 2021 · 0 comments
Open

Content of issue for multi-line todos #90

mbtools opened this issue Nov 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mbtools
Copy link
Contributor

mbtools commented Nov 11, 2021

If a comment spans multiple lines, extend the link in the issue accordingly. It should end in Lxxx-Lyyy.

Should be easy to add by calculating the number of lines and appending the URL here:

https://github.com/alstr/todo-to-issue-action/blob/master/main.py#L117

Example Issue:

mbtools/TEST-Todo-to-Issue#3

Change the link from
https://github.com/mbtools/TEST-Todo-to-Issue/blob/13691e69ea7ca5fc58ad620ff98bdcaedb64ff73/src/ztest_todo_4.prog.abap#L5
to
https://github.com/mbtools/TEST-Todo-to-Issue/blob/13691e69ea7ca5fc58ad620ff98bdcaedb64ff73/src/ztest_todo_4.prog.abap#L5-L7

@alstr alstr added the enhancement New feature or request label Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants