10

I just upgraded to Android Studio 3.0 and I noticed that there's strange labels / tags all over my code. I can't manually delete these labels since the cursor just jumps right over them. How do I turn off these labels?? Android Studio has different menus and commands than IntelliJ.

enter image description here

Jay
  • 614
  • 5
  • 22
  • 2
    Give them a chance :) they are really useful – poss Oct 31 '17 at 13:58
  • 1
    I don't think this is a duplicate question. The other question was for intelliJ, this question is for Android Studio. The commands and menus to disable this in intelliJ are totally different. – Jay Oct 31 '17 at 14:14

2 Answers2

11

For Android studio 4 Go to Settings > Editor > Inlay Hints

Credit goes to @Quintin Willison in the comments of this answer

For earlier versions

Got to File > Settings > Editor > General >Appearance
And remove tick from this option

Show Parameter name hints

Disable code hint

Samy Massoud
  • 4,295
  • 2
  • 35
  • 48
  • 1
    Android Studio 4.0 seems to have renamed these "Inlay Hints" and the check box to disable them can be found at `Settings` > `Editor` > `Inlay Hints`. – Quintin Willison Jul 13 '20 at 19:29
1

press Alt + Enter when you are in that line and select "Do not show hints for current method"

further infos here

woodii
  • 763
  • 7
  • 23