更新时间:2022-12-18 19:31:12
这些.conf
文件属于HOCON类型(人类优化的配置对象表示法").要启用折叠功能,您必须强制编辑器对它们进行同样的处理.在IntelliJ设置中,如下所示进行配置:
Those .conf
files are of HOCON type ("Human-Optimized Config Object Notation"). To enable folding them, you have to force the editor treat them as such. In IntelliJ settings, configure it as illustrated:
Preferences->Editor->File Types
,然后在HOCON文件类型中添加文件名模式.
Preferences->Editor->File Types
, and there add filename patterns to HOCON filetype.