Skip to main content
Senior
August 8, 2024
Question

Github Desktop not showing any file changes ONLY when made with CubeIDE editor...

  • August 8, 2024
  • 3 replies
  • 2288 views

Hi,
I installed GitHub Desktop and created a local repository which resides inside a an STM32 CubeIDE project.

I can modify any of the .c or .h files with any editor (notepad, notepad++, wordpad, etc) and the changes appear immediately in GitHub Desktop. But if I edit the same file/s with CubeIDE editor the changes do not appear at all on GitHub Desktop. i.e. GitHub Desktop does not show that the file (or any file) has been changed.

Does anybody have any idea why?

Thank you :)

3 replies

TDK
Super User
August 8, 2024

Perhaps you aren't saving the file. GitHub Desktop doesn't know what modified the file, no way it would differentiate between different programs editing a file.

"If you feel a post has answered your question, please click ""Accept as Solution""."
RickoAuthor
Senior
August 8, 2024

Thank you @TDK 

I definitely save the file. That was the first I double checked.

Does anybody use GitHub Desktop with CubeIDE?

Thank you

Senior III
August 9, 2024

can you do a rescan and see if it appears? .  Can you please post a picture of your Github desktop what it shows?

Andrew Neil
Super User
August 9, 2024

@Ricko wrote:

I can modify any of the .c or .h files with any editor (notepad, notepad++, wordpad, etc) and the changes appear immediately in GitHub Desktop. But if I edit the same file/s with CubeIDE editor the changes do not appear at all on GitHub Desktop. :)


Do the edits made in CubeIDE appear in your other editor(s) ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
August 9, 2024

If you right-click one of the files in the CubeIDE Project Explorer, and click 'Properties' it will show you where the file actually is in the file system:

AndrewNeil_0-1723210400416.png

Check that this is where your GitHub Desktop is looking

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.