IntelliJ IDEA 社区版中无法识别的 .sql 文件类型

问题描述 投票:0回答:1

我正在学习 IntelliJ IDEA Community Edition 中的 Spring Boot 教程,并且遇到了我的 .sql 文件未被识别为 SQL 文件类型的问题。相反,它们被视为通用文本文件或自定义文件类型。

files are not being recognized as SQL file types

其中一个文件的示例 -

An example of one of the files

我正在观看的教程中的文件是什么样子的 -

An example of the files in the tutorial

*我正在使用 PostgreSQL

我转到“设置”中的“文件类型”,但找不到解决方案 另外,我下载了Database Navigator,但是SQL的类型不同。

java spring postgresql spring-boot intellij-idea
1个回答
0
投票

您遇到这种情况是因为社区版本不支持具有 .sql 扩展名的文件。要享受此功能,请购买 intelliJ IDEA 的终极版本。

© www.soinside.com 2019 - 2024. All rights reserved.