Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Idea: how can I hide the VCS changes markers in the right margin

I'm trying to hide the marker stripes in the right margin of intellij idea.

I tried whith:

settings -> Editor -> Colors and Fonts -> General 

but it is not possible to check/uncheck "Error stripe Mark" in "Added lines" or "Modified lines".

I also tried to put white colors in "stripe mark color" in

settings -> Editor -> Colors and Fonts -> Diff

but the stripe is still present.

Do you know if it's possible to manage that without removing VCS support for the project?

like image 811
domak Avatar asked Oct 13 '14 13:10

domak


People also ask

How do you see who made changes in IntelliJ?

The change history for a file is displayed in the dedicated History tab of the Version Control tool window Alt+9 . The change history for a selection of code is displayed in a separate window, in the form of the differences viewer.

How do I see uncommitted changes in IntelliJ?

You can use Version Control window to see all changed files (⌘-9). Then you can select file and press ⌘-D to view diff for it. On Linux it is Alt+9 to view changed files list (menu item View→Tool Windows→Version Control), then Ctrl+D to open a file's diff. The feature is documented here jetbrains.com/help/idea/….

How do I show local changes in IntelliJ?

With IntelliJ IDEA you can restore that change in a couple of clicks. Right-click anywhere in the editor and choose Local History | Show History from the context menu. In the dialog that opens, the left-hand pane shows a list of all saved revisions of the current file with timestamps.


3 Answers

There is now a setting as of IntelliJ IDEA 15 142.3728 (released as EAP in August 2015).

In preferences, go to Editor -> General and untick Highlight modified lines in gutter.

like image 59
Bo A Avatar answered Oct 18 '22 06:10

Bo A


I use version 12.1.4

Easiest way I've found is by right-clicking on the marker at the top of the margin.

Click "Customize Highlighting level" and bring the slider down "syntax".

This may also help: https://www.jetbrains.com/idea/webhelp/editor-appearance.html

like image 1
hippoLogic Avatar answered Oct 18 '22 06:10

hippoLogic


IntelliJ 14.

In dark theme, the change marker at right margin is very eye-distracting. The real problem is we can not close it.

Go to Editor -> Colors and Fonts -> General and find:

  • deleted line in gutter
  • added line in gutter
  • modified line in gutter

Change to color you like.

Here is the official doc about changes marker.

like image 1
WeiChing 林煒清 Avatar answered Oct 18 '22 07:10

WeiChing 林煒清