Recent file   -> ctril+e  (查找最近打开的文件)

implementations   --> ctril+q (打开实现类)

back  --> ctril+r (返回上一步操作记录)

forward--> ctril+t (前一步操作记录)

bookmark --> shift+v (标记书签-进行页数设置)   ctril+页数(回调到标签页)

toggle line breakpoint --> shift+z(设置断点)

debug run -->shift+d(debug 运行)

stop -->shift+a (停止运行)

run -->shift+f (程序运行)

step over --> shift+1(debug 下一步)

step into -->shift+2(debug 进入)

resume pro -->shift+3(进入下一个断点)

run to cursor-->shift+4 (运行至鼠标制定行)

show breakpoint-->shift+q(显示全部断点)

uml-->shift+w (uml 类图)

 

 

 

idea live template

1.Gson 对象转json字符串

gson

    Gson builder = new GsonBuilder().create();
    String json = builder.toJson(你的对象);

2.空判断

sb

StringUtils.isBlank();

3.非空判断

snb

StringUtils.isNotBlank();

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

jsp  foreach 循环

foreach

    <c:choose>
    <c:when test="${not empty dataPager.records}">
    <c:forEach items="${dataPager.records}" var="var" varStatus="vs">
    
    </c:forEach>
    </c:when>
        <c:otherwise>
            
        </c:otherwise>
    </c:choose>
    

jsp  if 

if

    <c:if test="${}">
                        
    </c:if>

jsp el

el

${}

 

posted on 2018-12-24 16:06  iscys  阅读(227)  评论(0编辑  收藏  举报