Closed ctron closed 2 years ago
Yes, you're right that sometimes automatically adding a space can be seen as "too much help" 😄
In the meantime... One thing that I have worked hard to accomplish is inspections inside the commit panel. When you are finished writing your commit message, you should see possible errors or warnings
What I usually do is just CTRL+ALT+L (or whatever the shortcut is in the system) to adjust the message before commiting.
Inspections' quick-fixes should automatically remove unneeded whitespaces.
Let me know in case you have other ideas for inspections or quick-fixes, I'll add them if they sound good!
New settings' option "Automatically insert a space after the colon". true
by default.
First of all, I really like this plugin!
However, what really annoys me: When I starting typing the commit message, it allows me to autocomplete (awesome!) … but then automatically adds a whitespace after the colon. Now, that may be ok in some cases. But when you know what you are doing, and just type
ci:<space>
… you will end up withci:<space><space>
… even though, you never requested auto-complete (by pressing Ctrl+Space).I think this could fixed in two ways: