Grails 在Intellij Idea中格式化GroovyServer页面
我正在尝试使用IntelliJ Idea CE作为开发Grails web应用程序的编辑器。我创建了一个GSP文件Grails 在Intellij Idea中格式化GroovyServer页面,grails,formatting,intellij-idea,Grails,Formatting,Intellij Idea,我正在尝试使用IntelliJ Idea CE作为开发Grails web应用程序的编辑器。我创建了一个GSP文件 <!DOCTYPE html> <html> <head> <title>Main</title></head> <body>Welcome, to my online forum, the date today is ${date} </body> </html> 主
<!DOCTYPE html>
<html>
<head>
<title>Main</title></head>
<body>Welcome, to my online forum, the date today is ${date}
</body>
</html>
主要
欢迎来到我的在线论坛,今天的日期是${date}
并尝试使用ctrl+alt+L设置格式,但什么也没发生
我的问题
我们可以在IntelliJ Idea中格式化.gsp文件吗?如果可以,如何格式化?IntelliJ Idea社区版不支持Grails开发。IntelliJ IDEA Ultimate提供了对Grails开发的全面支持,包括GSP页面的格式