-
Notifications
You must be signed in to change notification settings - Fork 209
Boot Properties Editor
This describes the Eclipse-based editor support for editing Spring Boot properties files in either .properties
or .yml
format.
Note that similar support is also provided for vscode and atom. For documentation on vscode/atom support please refer to vscode marketplace entry or atom package repository entry instead.
The Boot properties/yml editor will automatically be used when you edit files with name application.yml
or application.properties
. Due to limitations in Eclipse's content-type framework, files with other names like application-production.properties
will not be automatically opened with the Spring Boot Properties Editor.
There is a somewhat clunky workaround for this limitation:
- Open Eclipse Preferences and Search for Content Types.
- Select the Spring Properties File or Spring Yaml Properties File content type.
- In the File Associations section click the Add button.
- Enter the name of your file without path exactly (glob patterns or paths are not supported). For example
application-custom-profile.properties
. - Click Apply and Close button.
From now on files with the name application-custom-profile.properties
will be opened with
the Spring Boot Editor.
STS analyzes your project's classpath and parses and indexes any Spring Boot Properties Metadata it finds. Both Maven and Gradle projects are supported.
The data in the index is used to provide validation, code completions and information
hovers while editing Spring Boot Properties in either .properties
or .yml
format.
- Installation (latest release + snapshots)
- User Guide
- Getting Started
- Navigation
- Live Application Information
- Content Assist
- Version Validation
- Upgrade Support
- Validations and Quick Fixes
- WebFlux Support
- Boot Properties Editor
- Boot Dashboard
- Other Editors
- STS3
- Custom VM args
- FAQ
- Changelog
- Known Limitations & Issues
- Report an Issue
- Developer Manual
- Overview
- Language Server Integration into Clients
- Communication with JDT LS
- STS4 Language Server Protocol Extensions