-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature request: #5
Comments
However this inserts a double-backline between each paragraph, which is not exactly a multiline comment. |
Are you thinking something like what is described in this article? This format is:
Is it possible with using newline characters? |
Yes I'm thinking about this. However I've just tested, using \n character doesn't go back to line, it just inserts characters \ and n in the commit title. |
Some hint here: |
So does the user create the temp file in vscode? Or do I parse the user input from the vscode UI and generate a file from that? I have to look into vscode api and see if it offers a multiline input. Right now all I can think of is parsing the single line text for the |
As a user I think it is a bad idea to make the user create the temp file. This is quite a lot of work for just a commit. Generating it would be the best. If multiline input is possible in quick actions, then this would be the best solution. I have no idea if this is possible, but I think not. Your solution parsing \n would be quite a good compromise I think. |
First of all nice work on the extension! 👏 I'd like multi-line commits too. I'm coming from using a custom git commit template:
Committing looks like: It's a great experience because you have the full power of a code editor, you get multi-line commits, spell checking, you can set rulers to 50 characters, you get another look at the committed file names and you can change your mind: Hang on this isn't a ✏️ Fixing typos it's a 💬 Changing text and literals... The upsides with your extension are triggering with a command (incl. keybinding) and that sweet sweet fuzzy search command palette menu, instead of doing Ctrl F. I can't figure out how to integrate the commit template workflow directly into VSCode, save for opening a terminal and typing out |
I am brainstorming. I just found this article and the last option - adding OR - maybe try to integrate with git's flow somehow. If extensions could write to user's machine i guess it could overwrite the template and open the editor with the selected emoji and text on the subject line on each commit. not sure if this is possible or the best approach though. |
Nice discovery! I also found out that you can commit directly a text file as a message:
In the documentation of VSCode extensions, I can see several interesting things:
|
I added basic multiline support. |
@benjaminadk can you submit updates by now again? |
Hello it's me again and again!
Would it be possible to add the possibility to add comments to the commit?
From git commit documentation:
This means that comments could be appended in the command line reusing -m "comment line 1" -m "comment line 2", etc
The text was updated successfully, but these errors were encountered: