1.warning 提示 idea found duplicate code
- 打开 Settings → Editor → Inspections.
- 在出现的搜索栏处搜索 Duplicated Code ,回车,取消掉Duplicated Code后面的钩钩,然后OK即可取消提示
2. 格式化快捷键
- option(alt) + command + L
3. 删除行快捷键
- command + del
4. 关闭 spell-checking
- File >> Settings >> Editor >> Inspections >> Spelling >> Typo
- 自己定义关闭那些范围
来源: http://www.bubuko.com/infodetail-1990144.html