问题描述
我希望VS Code在保存时修复所有掉毛错误,但忽略警告。
此规则可修复所有可保存的内容:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_c);
Bundle extras = getIntent().getExtras();
String returnString = extras.getString("returnData");
final TextView textView = findViewById(R.id.title);//make change here...
textView.setText(returnString);
}
}
.eslintrc.js:
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
但是我希望它忽略警告。
我该怎么做?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)