# Spring 设置

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com.cn/help/idea/llms.txt).

> **TL;DR**
> `文件 | 设置 | 语言＆框架 | Spring`  适用于 Windows 和 Linux
>
>
>
> `%instance% | 偏好设置 | 语言＆框架 | Spring`  适用于 macOS

请使用此页面配置 IntelliJ IDEA 中的 [Spring](https://spring.io/) 支持。

显示配置文件面板
: 在编辑器顶部显示一个特殊面板，允许您查看和更改当前活动的 [Spring Profile](https://docs.spring.io/spring-boot/docs/1.2.0.M1/reference/html/boot-features-profiles.html)。

显示多个上下文面板
: 显示一个特殊面板，用于包含在两个或多个 Spring 应用程序上下文中的文件。 有关更多信息，请参见 [配置父上下文](spring-projects.html#configure-parent-context)。

智能 Bean 补全
: IntelliJ IDEA 为可自动装配的 bean 提供补全，并在方法中输入至少三个字符时自动注入匹配的 bean。 禁用时，您仍然可以 [手动调用 bean 完成](spring-support-tutorial.html#quickly_inject_beans)。

创建新项目时重新格式化代码
: 自动将您的代码样式应用于 [新的 Spring Boot 项目](spring-initializr-project-wizard.html) 中由 Spring Initializr 生成的文件。

在 Actuator 标签页中刷新运行状况的间隔
: 对于 Spring Boot 项目，指定您希望刷新由 [Spring Boot Actuator](https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html) 提供的健康信息的频率。 如需更多信息，请参阅 [运行状况](spring-boot.html#endpoints-health) 和 [教程：探索 Spring 支持功能](spring-support-tutorial.html)。

自动创建运行配置
: 指定在导入 Spring Boot 项目时，是否希望 IntelliJ IDEA 自动创建一个 [Spring Boot 运行配置](run-debug-configuration-spring-boot.html)。

## See also

### 参考

[Spring Boot 运行配置](run-debug-configuration-spring-boot.html) [Spring Boot 项目向导](spring-initializr-project-wizard.html)

