是否有任何我可以安裝,以便獲取不贊成不推薦使用的功能警告,只是表明某些東西已被棄用,哪些只是提供了禁止警告,而是提供有關非不贊成的做法是。Eclipse插件建議替換棄用的功能警告
前,而不是這個Android代碼:
TableRow tr = new TableRow(this);
tr.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT));
得到這個警告/建議:
The field ViewGroup.LayoutParams.FILL_PARENT is deprecated
1 quick fix available:
@ Add @SupressWarnings 'deprication' to 'currentMethod()'
我想看到的:
The field ViewGroup.LayoutParams.FILL_PARENT is deprecated
1 quick fix available:
@ Use LayoutParams.MATCH_PARENT instead
而不必複製該消息和搜索找出什麼preferred fix is。
我們歡迎您向Eclipse插件貢獻其他快速修復,據推測。 – CommonsWare
@CommonsWare如果我知道Android足夠好,可以做出明確的修復,那麼我就不會將舊的方式從隨機的techblogs轉變爲eclipse,然後複製/粘貼示例。 –
啊。我認爲你的擔心是發展速度。 – CommonsWare