0

我正在尝试使用 IntelliJ Idea CE 作为编辑器来开发 Grails 网络应用程序。我创建了一个 GSP 文件

<!DOCTYPE html>
<html>
<head>
<title>Main</title></head>
<body>Welcome, to my online forum, the date today is ${date}
</body>
</html> 

并尝试使用 ctrl+alt+L 格式化,但什么也没发生。

我的问题

我们可以在 IntelliJ Idea 中格式化 .gsp 文件吗?如果可以,如何?

4

1 回答 1

1

IntelliJ IDEA 社区版不支持 Grails 开发。IntelliJ IDEA Ultimate 提供对 Grails 开发的全面支持,包括 GSP 页面的格式化。

于 2013-01-04T19:26:26.273 回答