How to make Eclipse to format JSP code properly?

前端 未结 3 2124
栀梦
栀梦 2021-02-15 12:42

I use code formatting command (Ctrl + Shift + F) a lot in Eclipse IDE. While this works pretty well for Java / CSS source codes, the JSP formatt

3条回答
  •  隐瞒了意图╮
    2021-02-15 13:23

    I think it is sucks for java also! It can not detect line code size dynamic and breaking code to Irrational parts,for jsp also in other Ide's like Intelliji editor detects

        
      .......
    

    in understandable format that you can track tag start and end point by your eyes , But unfortunately in eclipse you can just say editor to cut off jsp in specific size , We have a idiom ,Drink soup as you paid!

提交回复
热议问题