Eclipse:保存时执行format code 和 organize import动作
window --> preferences --> java --> Editor --> Save Actions选中 Perform the selected actions on save 选中 Format source code选中 organize imports这样,在保存时就能够执行 SHIFT+CTRL+O 和 CTRL+SHIFT+F
·
window --> preferences --> java --> Editor --> Save Actions
选中 Perform the selected actions on save
选中 Format source code
选中 organize imports
这样,在保存时就能够执行 SHIFT+CTRL+O 和 CTRL+SHIFT+F
更多推荐
已为社区贡献1条内容
所有评论(0)