The change marker is not displayed when changing source code (Version Control)

Answered

When I change the source code, there are no markers of changes.
There is only option to do that: 
Go to Version Control Tab -> Local Changes -> Press "Refresh", then I see this markers.
But If I save the current file it is disappears and I should do this again
How to fixed this????
I was looking for all possible options, even remove web storm config, nothing helped.

Thank for any advice

Info version: 
WebStorm 2018.3.3
Build #WS-183.5153.33, built on January 9, 2019
JRE: 1.8.0_152-release-1343-b26 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.13.0-32-generic

1
11 comments

Do you mean change markers in editor, of the color file is shown with in the Project tool window? does the file appear with correct status in the Version control tool window once you change it? also, what VCS tool do you use - Git?

2
Avatar
Permanently deleted user

I am taking about this change markers. Here is example, I added 2 new lines. IDE do not show me changes. I need to do refresh for Version Control Tab -> Local Changes, and only after I will see this: 


But not when I change my code. 

 

I do change again and save the changes (Ctrl + S) -> markers are gone and I need to refresh Local changes again

I use GIT

0

Please can you recreate the issue and provide your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)? Please don't paste it here, upload it to some file server and provide a link

1

The log shows that the IDE runs out of memory. Did you try giving it more RAM by increasing -Xmx value in Help | Edit custom VM options...?

1
Avatar
Permanently deleted user

I did update and reload IDE. But nothing help


-Xms256m
-Xmx1500m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=100
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
1

Please can you provide your recent idea.log?

1

Sorry for the delayed reply.

Please check if disabling Atlassian connector plugin makes any difference.

If not, please submit an issue to https://youtrack.jetbrains.com/issues/IDEA with the debug log attached 

To enable debug logs go to Help - Debug Log Settings... and add the following lines there

#git4idea.commands.GitHandler
#com.intellij.openapi.vcs.changes.ChangeListWorker
#com.intellij.openapi.vcs.impl.LineStatusTrackerManager
#com.intellij.openapi.vcs.changes.ChangeListManagerImpl

Then please reproduce the issue, zip logs fodler and attach to the issue in Youtrack.

0
Avatar
Permanently deleted user

I experienced the same issue, on Mac

I tried:

  • restart with cache invalidation
  • removed caches and settings manually, re-installed Idea via Toolbox.

Same result.

Then I found it, after going to all that trouble.

The issue was that the setting Editor -> General -> Highlight Modified Lines In Gutter was turned off. Somehow it got turned off across an upgrade or something like that, because I did not even know the setting existed -- it was always turned on by default.

0

If you updated your Mac OS and ran into git trouble after that (e.g. invalid active developer path) you'll have to fix that and then restart PyCharm.

0

Please sign in to leave a comment.