cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Source Control badge doesn't appear

Open BrenoVelasco opened this issue 2 years ago • 10 comments

The badge indicating the number of files changed in Source Control icon doesn't appear. It does appear, however, in the Changes dropdown. Is there a way to make it visible? Thanks.

Screen Shot 2023-08-22 at 14 18 55

BrenoVelasco avatar Aug 22 '23 17:08 BrenoVelasco

+1 Please fix this! I rely on this a lot to quickly see how many changes I've made.

atul-jalan avatar Jun 05 '24 23:06 atul-jalan

I am actually troubleshooting this issue now but first a quick explanation of how this happened.

  1. On my first visit to your amazing site when I was prompted to create the account somehow I simply entered in my email and verified.

  2. After watching more youtube videos on how awesome you guys are I decided to head back to your site and signup.

  3. It was during this enrollment visit that I subconsciously enrolled with my Google account - paid the upgrade fee and started building my prompt for CTRL K.

  4. It was when I returned to upload my prompt that I discovered I screwed up bigtime by crossing that login process - as a developer I should have known better.

  5. From one developer to another I first would like to say I'm sorry for generating a trouble ticket that should have never been because my entire onboarding was flawless. So what is the best way to sort this out - please advise?

Having said that, I am here because I believe in all of the potential and possibilities of Large Language Models. and When I stumbled upon Cursor I became an instant fan. Please help me sort out the mess I made so I can join you guys in changing the world.

On Wed, Jun 5, 2024 at 6:30 PM Atul Jalan @.***> wrote:

+1 Please fix this! I rely on this a lot to quickly see how many changes I've made.

— Reply to this email directly, view it on GitHub https://github.com/getcursor/cursor/issues/771#issuecomment-2151121107, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI6IVJ2XGF72RHSAFKXHEUDZF6NQFAVCNFSM6AAAAAA32H4ERCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRGEZDCMJQG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

CHATGPTGOAT avatar Jun 06 '24 04:06 CHATGPTGOAT

I'm having this issue too. Is there any way to turn on source control badge?

ansh avatar Jun 11 '24 22:06 ansh

Temp fix: Change Activity Bar Orientation to vertical

CleanShot 2024-06-11 at 15 41 20@2x

ansh avatar Jun 11 '24 22:06 ansh

Thanks @ansh. But I prefer the horizontal orientation. Hey Cursor! Ideal solution would be to keep it as horizontal but show the badge

AXSJ avatar Jul 22 '24 02:07 AXSJ

+1 this is extremely important to me

theshaneyu avatar Aug 26 '24 06:08 theshaneyu

I can confirm this. But the solution @ansh posted works!

ggous avatar Aug 28 '24 08:08 ggous

Temp fix: Change Activity Bar Orientation to vertical

CleanShot 2024-06-11 at 15 41 20@2x

Also change the Activity Bar: Location to top @AXSJ @theshaneyu

image

Looks like Orientation really switches between a custom Cursor activity bar and Vscode's built in one. The vscode one has a horizontal/top position we can use for a working badge.

lyallh avatar Aug 31 '24 04:08 lyallh

That works but I do prefer Cursor's custom activity bar, looking forward to getting this fixed and I might upgrade to pro when it is.

theolvq avatar Sep 02 '24 20:09 theolvq

Also hopeful for this fix on the horizontal orientation!

shadeemerhi avatar Sep 06 '24 16:09 shadeemerhi

tldr; use the non-custom original orientation where it isn't broken

thanks!

0mjs avatar Sep 15 '24 17:09 0mjs

Hi, im new in cursor and I also want this fix on the horizontal orientation plsssssss

ViktorJJF avatar Nov 04 '24 15:11 ViktorJJF

Any news on this?

FerminBD avatar Nov 21 '24 20:11 FerminBD

I've just found a nice solution to show the source control pending changes badge, while still sparing some pixels while using my laptop.

image

Hextar avatar Nov 26 '24 18:11 Hextar

Badges should be on by default. It is extremely important. As of December 2024 the issue is still happening. I used the vertical workspace workaround. A dealbreaker for me, really.

sebukaimp avatar Dec 23 '24 10:12 sebukaimp

The latest version still has this issue. Is it unsolvable? It's been a long time.

julee avatar Feb 10 '25 09:02 julee

This bothers me a lot, the badges should be on by default

Liyumk avatar Feb 20 '25 09:02 Liyumk

The latest version actually broke @Hextar's solution. Now we cannot use VS Code's default activity bar, if we do, the badges get cut off:

Image

theolvq avatar Feb 24 '25 22:02 theolvq

Super annoying that it doesn't show by default.

Changing the activity bar location to default and orientation to vertical will show the badges again after the March 2025 update (Unsure of the exact date)

Image

andrewduss avatar Mar 10 '25 17:03 andrewduss

24/3/2025 - same bug:

Image

the fix suggesting to switch to vsc og activity bar is not good

Image

is ms having patent on activity bar??? why not just using the og one?

ChipLuxury-EWA avatar Mar 24 '25 14:03 ChipLuxury-EWA

In a horizontal mode the badge doesn't exist, in a vertical mode it is a half-cut

Image

ZhenyaGoroh avatar Apr 10 '25 07:04 ZhenyaGoroh

Why is this STILL a problem, after all this time??

The badge only shows in vertical mode, and NOT on the default horizontal one.

Is this only affecting a small number of people?

WhiskeyBest avatar Apr 15 '25 11:04 WhiskeyBest

The bug still exists, but as a workaround you can add this to your settings.json for horizontal mode

"workbench.activityBar.orientation": "vertical", "workbench.activityBar.location": "top"

Image

ViktorJJF avatar Apr 16 '25 12:04 ViktorJJF

Having the same issue on critical workflow

KovalchukKonstantin avatar May 02 '25 18:05 KovalchukKonstantin

I was very annoyed by this so I went to update the source code. I changed the top property from 17px to 9px in the css rule .monaco-workbench .pane-composite-part>.header-or-footer>.composite-bar-container>.composite-bar>.monaco-action-bar .action-item.icon .badge.compact .badge-content

You can find the file in /Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css

Maybe it's going to be overriden in the next update, if that's the case I might consider writing a small script to run after updating.

Before

Image

After

Image

enriquechoza avatar May 06 '25 22:05 enriquechoza

Image

thanks @enriquechoza! this actually works. you can just copy and paste this code: .monaco-workbench .pane-composite-part>.header-or-footer>.composite-bar-container>.composite-bar>.monaco-action-bar .action-item.icon .badge.compact .badge-content and then cursor will do the changes (it requires sudo privileges), after that you need to restart Cursor and the changes appear.

Happy coding!

germy-BD avatar May 07 '25 14:05 germy-BD

@enriquechoza THANKS!!

here is the file location on windows:

C:\Users\yourUserName\AppData\Local\Programs\cursor\resources\app\out\vs\workbench\workbench.desktop.main.css

search in the file for:

.monaco-workbench .pane-composite-part>.header-or-footer>.composite-bar-container>.composite-bar>.monaco-action-bar .action-item.icon .badge.compact .badge-content,.monaco-workbench .pane-composite-part>.title>.composite-bar-container>.composite-bar>.monaco-action-bar .action-item.icon .badge.compact .badge-content{border-radius:16px;font-size:9px;font-weight:600;height:13px;line-height:13px;min-width:13px;padding:0 2px;position:absolute;right:0;text-align:center;top:17px}

and change the 17 to 9:

Image

Restart cursor


Since this fix is taking some screen-estate, for me is a temporary fix and I hope to see this bug fix in cursor-activity-bar: BEFORE: Image AFTER: Image

Also on each start there is this toast: Image

UPDATE 15/05/2025: THIS CHANGES GETS OVERRIDDEN AFTER UPDATE.... @enriquechoza

Image

ChipLuxury-EWA avatar May 13 '25 06:05 ChipLuxury-EWA

bug still exist, i'm on mac

bryanprimus avatar May 21 '25 17:05 bryanprimus

I ended up installing Custom UI Style extension and added below configurations to settings.json

"workbench.activityBar.orientation": "vertical",
"workbench.activityBar.location": "top",
"custom-ui-style.stylesheet": {
        ".monaco-workbench .pane-composite-part>.header-or-footer>.composite-bar-container>.composite-bar>.monaco-action-bar .action-item.icon .badge.compact .badge-content": "top: 9px",
        ".monaco-workbench .composite-bar .monaco-action-bar .action-item .action-label:before": "font-size:16px !important"
},

This is how it looks now :)

Image

aslamdoctor avatar May 24 '25 05:05 aslamdoctor

the bug is still a bug...

rogerhlg avatar Aug 28 '25 13:08 rogerhlg