Robert
Robert

Reputation: 261

How can I remove line annotations behind cursor in Intellij 2019.1?

After updating to IntelliJ IDEA 2019.1 on macOS I see behind the cursor the line commit message (or annotations). How can I disable it?

<CURSOR> <USER>, <DATE> <TIME> <COMMIT MESSAGE>

<CURSOR> Name, 2019-03-07 09:41 ABC-1234 Did do something

I had to remove some parts

Upvotes: 25

Views: 14632

Answers (3)

artronics
artronics

Reputation: 1496

Newer versions of intellij has a feature called "Inlay Hints".

Open preferences and search for it.

Uncheck those you don't want to see, probably "Code author"

enter image description here

Upvotes: 28

CrazyCoder
CrazyCoder

Reputation: 401877

You have installed GitToolBox third-party plug-in which provides this feature:

Blame inlined in active editor - show blame for line at caret in active editor

Either disable the plug-in or configure its options as shown below:

blame

Upvotes: 33

LppEdd
LppEdd

Reputation: 21104

That isn't an IntellIJ IDEA feature.
You installed the GitToolBox plugin.

enter image description here


This is called Git blame.
You enable it by right-clicking the gutter area (if you configured a valid Git root)

enter image description here

And you disable it in the same way with Close Annotations

enter image description here


The displayed information can be altered using the View sub-menu

enter image description here


All the necessary IDEA examples/explanation can be found here.
For your case, under the Locate code author paragraph.

Upvotes: 7

Related Questions