can't select LocalHistory

Hello

I’m having trouble with PyCharm v. 2025.2.5 (bevor and even after updating to 2025.2.6).

I can’t select the code history under LocalHistory > Show History because it’s grayed out.

I’ve already tried running Repair IDE, but that didn’t help either.

I didn’t select the last option, number 5, regarding “Clear cache.”

Reinstalling PyCharm didn’t help either.

Does anyone have any ideas on how I can restore the LocalHistory?

Thanks in advance,
Miro

Have you reviewed PyCharm’s documentation?

I just checked a standalone file that I use to run simple test scripts and it works just fine.

Right-click anywhere in the editor and choose Local History | Show History from the context menu.

The left-most column lists the time-stamps when the changes took place. The middle column lists the actual code for a given time-stamp. The right-most column lists your current code.

You can configure the retention period as well.

Hi Paul

Thanks for the tip…

Yes, I know that link and the description… Thanks.

But the page doesn’t describe my problem, it only explains how to use existing LocalHistory.

I can’t use LocalHistory because I don’t have access to the LocalHistory buttons.

The button links are grayed out and unresponsive…

I have several small practice projects in Project.
Yes, it worked for me until a few days ago. Now it doesn’t anymore.

Best regards,
Miro

Can you please provide a screenshot so that I may be better synchronized with your specific issue.

Hi Paul

Thanks for your help.

I’ve managed to fix the problem,

so I can’t post the screenshot anymore.

But I’m posting a screenshot so you understand what problem I was talking about.

Well…
Local History can be accessed in at least two ways:

  1. via File > Local History > Show History and

  2. Right-click > Show History > Local History

Normally, Local History is on a black background, highlighted in white.

This means it’s selectable, and the links work, calling up the function.

In both cases (1. and 2.), the “Local History” was gray, and the link couldn’t be followed, as shown in the screenshot I’m sending here.

This means the function wasn’t available during the problem because the gray color wasn’t selectable with the mouse.

Now the Local History text is white, and it works again.

The screenshot shows what color the Local History menu link was before. Undo and redo are not available here.

I hope you now understand my problem from back then.

Miro

Now it looks as it should: the links are white.

Paul… That was very kind of you. Thanks for you help!

Greeting