I have a particularly annoying problem (at least for me): VSCode doesn't show the changes I make to a file like in the following image
In the file explore on the left sidebar the file is marked as modified, but when I open the file, no change symbol appears.
However, this only happens for JAVA and XML files, while it works for all other file types.
There is already a question for this problem (vscode-not-showing-the-changes-made-in-a-file), but there was no answer, and since I can't comment on the question, I had to open another one.
I've already tried restarting and updating VSCode, disabling and re-enabling GIT built-in extensions, but nothing so far.
Any advice? Is there another extension to install or a setting to change? Thank you