gpt4 book ai didi

grails - 在 Intellij Idea 中格式化 Groovy 服务器页面

转载 作者:行者123 更新时间:2023-12-02 15:34:24 26 4
gpt4 key购买 nike

我正在尝试使用 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 文件吗?如果可以,如何?

最佳答案

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

关于grails - 在 Intellij Idea 中格式化 Groovy 服务器页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14162586/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com