Closed tkapa closed 2 years ago
cc: @jernejk After some investigation, it seems likely that it is possible to create a VSC extension that will add an emoji to the commit message field.
This line of code shows how it is possible to read and write to the commit message field https://github.com/seatonjiang/gitmoji-vscode/blob/6ccfb25489b2684ba1cda01187f51f2ff5e020ee/src/extension.ts#L94
cc: @jernejk
Following your suggestion @bradystroud, I made a quick PoC using the node child_process
to call a cli version of FireEmoji.
Not sure if this is the best idea... but its a start.
Figure: GIF showcasing the current idea
Can you add a pull request so that we can investigate if that is the right approach? It looks good to me but if it's not the best, we can iterate on it. 😊
Also, we should see if we can show other suggestions and a button to fix the suggestion. (Currently just link to a new GitHub issue)
@matt-goldman
Closing the issue and moving the conversation to #43, #44 and #45.
Cc: @jernejk, @bradystroud, @adamcogan, @jaydenalchin
Hi @tkapa,
Pain
It's awesome that we have our website and application, however a way to access FireEmoji directly from Visual Studio or VSCode as application extensions would be awesome.
Suggested Solution
Investigate how to create Visual Studio and VSCode extensions, and implement FireEmoji's solution when typing commit messages.
Tasks
Create sub repositories for each extension (e.g. SSW.FireEmoji.VisualStudio, SSW.FireEmoji.VSCode)extensions
where each extension will in their own folderThanks!
UPDATE: Added additional tasks.