gitmoji-vscode icon indicating copy to clipboard operation
gitmoji-vscode copied to clipboard

Option to insert emoji at curren cursor position

Open cmarker0 opened this issue 4 years ago • 9 comments

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.

cmarker0 avatar Apr 21 '21 19:04 cmarker0

@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.

seatonjiang avatar Jul 06 '21 15:07 seatonjiang

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

cmarker0 avatar Jul 06 '21 17:07 cmarker0

Would love to see this implemented!

danielwerg avatar Jul 14 '22 14:07 danielwerg

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

cmarker0 avatar Jul 14 '22 15:07 cmarker0

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

danielwerg avatar Jul 14 '22 15:07 danielwerg

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 😇

cmarker0 avatar Jul 14 '22 15:07 cmarker0

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.

huyz avatar Jul 15 '22 05:07 huyz

@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.

danielwerg avatar Jul 15 '22 07:07 danielwerg

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

HitLuca avatar Aug 22 '22 12:08 HitLuca