我在我的项目中使用一尘不染来格式化代码。我决定在这个项目中使用 WTP 插件来格式化 html、css 和 js。
应该有一个配置来选择 html 的格式。例如。用空格代替制表符。
https://github.com/diffplug/spotless/tree/main/plugin-gradle#eclipse-web-tools-platform
给出的文件路径是 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.html.core.prefs。
但我不知道这个文件在哪里。我尝试安装 elcpse 并找到给定的文件,但没有成功。