-
Notifications
You must be signed in to change notification settings - Fork 18
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
Feedback: general #35
Comments
First of all thanks for all the effort in making this an even better plugin! One suggestion I would like to propose: autosuggested scopes based on git history. Background/details: I'd love to hear feedback on this idea. Cheers! |
@Gerrit-K Hi! Thanks a lot for the feedback 😄
This is similar to what I already do with the subject token. This is absolutely a good idea that I will consider developing in the next month. I'm a bit busy now trying to create a real language (with an AST) for conventional commits. |
@Gerrit-K just a question: should the history-proposed scopes be extracted based on the inputted type, or would you like to see all of them anyway? |
@lppedd thanks for the swift reply!
Yes, exactly that, but for scopes. Totally forgot about checking the settings 🙈 Seeing this now, I actually don't know if we really need the full history or if the recent history would suffice too. Would have to experiment with that. If it makes things easier, feel free to start with the latter, if you like.
For us I think it would make more sense to see all, because we usually perform different types on the same scope (e.g. |
@Gerrit-K the development for 0.17.0 is finished. It will be published tomorrow I think. For whoever is reading, keep the suggestions coming 😄 |
The type of non-English characters cannot be customized. {
"types": {
"重构": {
"description": "Changes which neither fix a bug nor add a feature"
}
}
} |
@cn-src oh wait, I don't understand 😅 Do you mean you cannot use non-ASCII characters in the custom JSON file? |
@cn-src yeah now I got it. The JSON Schema allows only |
建议保持简短的且标准的英文表述,后期处理时也更加方便、有规范。 可以参考我整理的常见提交类型: |
Awesome plugin, one thing that prevents me from using it is the lack of GUI, I think it would be awesome if you would add something like VS Code - Conventional Commits Plugin |
@lppedd maybe allow more other non-ASCII characters is better. i want to use chinese to show the commit type message |
建议是好的,但团队里面确实是有中文需求的,规范都是人定的,没必要说一定要用英文 |
@rluvaton I'm not familiar with that plugin. Could you shortly describe what kind of UI you'd like to have? |
@lppedd Thanks for your work. very grateful |
Autocomplete is very nice if you are familiar with conventional commits. |
@patrek good suggestion! This could be something that gets proposed at installation time. Like "Do you prefer doing this or that?". |
Could also be as simple as adding an icon to the stock commit dialog, with an option to remove it in the settings page. One would press the button when necessary. |
Hi, first I want to say really good work on this plugin 👍 Until now I was using a CLI tool to commit and when selecting the type It's really just cosmetic but wondering if it could easily be defined via the types schema as an optional attribute maybe? |
@gaeljw hi! If it's so, unfortunately you cannot do anything with the custom file, and this isn't accounted in code too. What can be done is:
What do you think is more appropriate? Edit: also another option that can work in tandem with emoji in completion, an inspection with a quick fix that warns you in case you forgot the associated emoji. Edit 2: need to verify if it's possible, but what about a commit hook that adds the emoji before committing, if it's not present? You could type the message without emoji and don't worry about it. |
Yes
What I would expect is more option 2, not sure how it interacts with the existing features of the plugin though. Option 1 could be an intermediate solution but only if autocompletion reminds the meaning of emojis (the association type-emoji). Addon plugins feels overkill to me.
Good question. It's really not something mandatory or even everyone will want, thus not sure.. 🤷♂️
I guess it's a matter of preferences but not fan of using commit hooks in general, and even more for this use case. |
That's fair, however there is something to clarify.
When you invoke the completion popup at caret positon, I can prefix the completion items with the emoji. |
I hadn't actually play enough with the plugin yet and didn't realize the Anyway, I just realised that IntelliJ doesn't show emoji nicely in the commit dialog :( I guess we can postpone this potential feature to later! I'll maybe get used to no emoji 😄 |
@gaeljw yeah, especially if you're on Windows, there are major issues with emojis, which are rendered as monochrome symbols. But leaving that aside, it seems you'd want to go with
And have you considered the inspection option? |
@lppedd Linux but still not good looking emoji 😅
Not sure what inspection means in this context TBH. (BTW maybe we should move this discussion to the Github Discussions to not pollute too much this thread?) |
An checkbox to add [skip ci] to the commit message (like : https://plugins.jetbrains.com/plugin/9861-git-commit-template has) or an option to configure whether the value in a custom footer is required or not (so we can make a skip ci footer that doesn't require a value). |
@AVROTROS-developers where would you like to have this checkbox? As a general settings? Or in the commit builder dialog? |
I think in the dialog would be best, so you can enable it when committing something that should not trigger the CI. |
Hi @maxbebaasuro! In the meantime, try disabling it using the registry key
|
Hey! I'd love to see support for comma separated scopes added. See details here: conventional-changelog/commitlint#901 |
Really good plugin! I feel how good it is now, after update to 2024.1 and not being able to use it anymore |
Feel free to write down whatever you want regarding the plugin, good and bad things you noticed using it, things you would like to see implemented or enhanced.
The text was updated successfully, but these errors were encountered: