Excel at enterprise, mobile and web development with Java, Scala and Groovy,with all the latest modern technologies and frameworks available out of the。操作系统: 64-bit versions of Microsoft Windows 10, 8。
for { if { count++;如果你在多处添加了这种断点,简单的看 log 可能偶尔还是不够直观,可以勾选上面图片绿色框线的 :Breakpoint reached at top.dayarch.TestDebug.isInterestedinterested 6Breakpoint reached at top.dayarch.TestDebug.isInterestedinterested 0Breakpoint reached at top.dayarch.TestDebug.isInterestedinterested 9Breakpoint reached at top.dayarch.TestDebug.isInterestedinterested 8Breakpoint reached at top.dayarch.TestDebug.isInterestedinterested 1Found 3 interested valuesDisconnected from the target VM, address: '127.0.0.1:0', transport: 'socket'Process finished with exit code。
正文:在项目中,很多同学都不会设置idea,设置是没有任何配置就直接中,导致一些文件编码格式、空白字符等不统一,在提交代码时就会出现一些莫名奇妙的问题,所以我先出一个配置优化idea的视频,正所谓工欲善其事,必先利其器。
IDEA 2021.2 添加了许多在保存的时候就能启动的动作,包括重新格式化代码、优化导入、代码清理等,这些动作都整合在 Preferences / Settings | Tools | Actions on Save 菜单中:
有时候在代码排查的时候,想知道一个类是干嘛的,原始的方式需要ctrl+左键类名,进入类看其注释,操作一次觉得没啥,操作2次还是觉得没啥,但是操作几十次,这次也就想骂人了,IDEA提供了鼠标悬浮提示功能,来解决这个问题。