Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij idea deprecated no strikeout/strikethrough

I'm using IntelliJ IDEA v12. When I import a project, there’s a strikeout/strikethrough line on the method which has the annotation @Deprecated, but I used alt+enter to disable it. So, how can I reactivate this feature? I want to display that strikethrough, thanks!

like image 342
Awakening Avatar asked Nov 13 '13 06:11

Awakening


1 Answers

Open Settings -> Type Inspections to go to inspection settings -> Type Deprecated to find out all deprecated related inspection settings -> Check Deprecated API usage.

enter image description here

like image 59
longhua Avatar answered Sep 29 '22 15:09

longhua