Intellij Idea不建议删除线/删除线 [英] Intellij idea deprecated no strikeout/strikethrough

查看:1780
本文介绍了Intellij Idea不建议删除线/删除线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IntelliJ idea v12.导入项目时,该方法的删除线/删除线显示为注释@Deprecated,但是我使用 alt + enter 并禁用.那么,如何重新激活此功能?谢谢!我要显示删除线!

I'm using IntelliJ idea v12. When I import a project, there shows the strikeout/strikethrough line on the method which has the annotation @Deprecated, but I use alt+enter and disable. So, how can I re-active this feature? Thanks! I want to display that strikethrough!

推荐答案

打开Settings->键入Inspections进入检查设置->键入Deprecated找出所有已弃用的相关检查设置->检查Deprecated API usage.

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

这篇关于Intellij Idea不建议删除线/删除线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆