Repository navigation
[Visual Studio Code] Add Customizable Git Branch Color Option - #15699
Conversation
• Introduce a new setting in package.json for users to define a custom hexadecimal color code for Git branch tags. • Update index.tsx to apply the user-defined color if valid, defaulting to green otherwise. • Expose gitBranchColor in preferences.ts to integrate with existing preferences. • Add isValidHexColor function in utils.ts to ensure color codes are valid. This enhancement allows users to personalize their Git branch display, improving the visual experience.
|
Thank you for your contribution! 🎉 🔔 @thomaspaulmann @iainsimmons @macbookandrew @cy-98 @immint023 @vimtor @tonka3000 @aka-rabbi-inv @oilbeater @QIanGua @hakob8956 @erics118 @tmwrnr @tleo19 @aeither @yug2005 @VatsalSy you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. You can expect an initial review within five business days. |
|
@pernielsentikaer Any idea why pull_request action keeps failing.... :( |
|
thanks for the updates @pernielsentikaer |
VatsalSy
left a comment
There was a problem hiding this comment.
is there an easy way to fix the ``Prefer Title Case naming convention for action titles (e.g Copy to Clipboard)" warnings?
I know these are only warnings... but would be satisfying if they are also all fixed..
|
There is a way, but you'll need to add a comment above the warning to instruct the linter to ignore it Could you also check that I didn't break something with my fixes? |
|
yes, I was just checking that.. and all looks fine. :) nice work. I think I am getting a hang of this. :) |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi 👋
Looks good to me, approved 🔥
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
inspired by #15693
🎨 Add customizable Git branch color option
• Introduce a new setting in package.json for users to define a
custom hexadecimal color code for Git branch tags.
• Update index.tsx to apply the user-defined color if valid,
defaulting to green otherwise.
• Expose gitBranchColor in preferences.ts to integrate with
existing preferences.
• Add isValidHexColor function in utils.ts to ensure color
codes are valid.
This enhancement allows users to personalize their Git branch
display, improving the visual experience.
Screencast
How to edit color:

how it shows up:

Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder