seatonjiang / gitmoji-vscode

Gitmoji tool for git commit messages in VSCode
https://marketplace.visualstudio.com/items?itemName=seatonjiang.gitmoji-vscode
MIT License
277 stars 29 forks source link

Option to insert emoji at curren cursor position #22

Open MiniMarker opened 3 years ago

MiniMarker commented 3 years ago

Hi.

I was wondering if there is possible to add an option to insert the emoji at the current cursor placement instead of at the start of the commit message.

seatonjiang commented 3 years ago

@MiniMarker ,I'm sorry it took me so long to reply to you, I was delayed by something (COVID-19). This feature is possible, but according to the gitmoji standard, the emoji is placed at the top.

MiniMarker commented 3 years ago

Hi @seatonjiang. No worries! I see, but would it be possible to add the option with default turned off?

danielwerg commented 2 years ago

Would love to see this implemented!

MiniMarker commented 2 years ago

I have since created this issue changed to a different vscode extension that incorporates the conventional commit structure as well as gitmojis.

https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits

danielwerg commented 2 years ago

I have since created this issue changed to a different vscode extension that incorporates the conventional commit structure as well as gitmojis.

https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits

Thanks for sharing ❤️ I'm using both of them right now, can't choose either of them because of this issue and https://github.com/vivaxy/vscode-conventional-commits/issues/38

MiniMarker commented 2 years ago

Aah. I also missed that feature when switching to that plugin.

Funny enough I actually stared at contributing by fixing this. But the process stalled.

I'll see if I can't pick up the pieces where I left, but I won't promise anything 😇

huyz commented 2 years ago

I have since created this issue changed to a different vscode extension that incorporates the conventional commit structure as well as gitmojis. https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits

@MiniMarker But how does that plugin let you insert a gitmoji at the current cursor position? It seems that plugin is even more structured, giving you less freedom for placement.

danielwerg commented 2 years ago

@huyz While you are right, it seems like it just works for both of us. I prefer docs: 📝 Update readme over 📝 docs: Update readme format. On top of that there is already this issue exists and I generally prefer as much customization as possible.

HitLuca commented 2 years ago

Also looking for this feature, since I always use multiple emojis when making a commit like

[AB-123]
🐛  stepped on worm
♻️ thrown my laptop in the trash
🚑 found cure for cancer

but having the emoji always pop up at the start makes using this extension very annoying