-
Notifications
You must be signed in to change notification settings - Fork 583
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
Create issue from markdown template #5503
Create issue from markdown template #5503
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Balastrong, I'd be happy to take a PR for this, thank you! #1792 it has not been high enough priority to work on, and a PR will solve that. What you have looks like a good start, but I do think some of your bullet points are needed, specifically "blank" and template name, before this feature is ready.
Thank you @alexr00! I'll work on that :) |
I added the two features :) You can now find a "Blank issue" option at the end of the list and you will also get the blank template if you press Esc. demo2.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you! I restored the behavior where you don't have to chose a repo if the active file belongs to a repo and made a few style changes.
I was wondering why #1792 is still open so I tried to create a proof of concept for that.
At the current state I can read from
{docs,.github}/ISSUE_TEMPLATE/*.md
and put the files to the quick pick to get selected by the user.If a file is selected I read the content and roughly parse title and body to pass them to
makeNewIssueFile
, otherwise the existing default file is opened.template.mov
If it's something worth working on I'll be happy to put some more effort in either in this PR of in future ones, for example: