Files
spring-tools/atom-extensions/atom-boot-properties

Atom package and Language Server for Spring Boot Application Properties

Atom package and Language Server providing support for working with Spring Boot application.properties and application.yml files.

Usage:

The package will automatically activate when you edit files with the following name patterns:

  • application.properties => activates support for Spring Boot properties in .propertiesformat.
  • application.yml => activates support for Spring Boot properties in .yml format.

For all other files select grammar to be Spring-Boot-Properties for properties file format or Spring-Boot-Properties-YAML for 'YAML' file format

Functionality

This package 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.

Validation

Property keys as well as property values are validated. Property keys are validated for being known properties and values are checked for being of expected type as well being a valid value

application-yaml-validation application-properties-validation

Code Completions

Both YAML and Properties formats have support for Content Assist on property keys and values helping to write valid Spring Boot configuration files right from the start.

application-yaml-completions

application-properties-completions

Information Hovers

Hovering over property keys provide valuable documentation about the purpose of the property and expected type for its value in a small popup window.

application-yaml-hovers

Issues and Feature Requests

Please report bugs, issues and feature requests on the Github STS4 issue tracker.

Releases:

Released versions of this extension can be installed directly from the vscode marketplace.

There are also development snapshots available with the latest fixes and improvements as a .tgz file that can be donwloaded from here. To install it:

  1. Unpack into a folder <package> (this folder should have package.json file)
  2. Execute apm link . from that folder
  3. Execute Window Reload (Package -> Command Palette -> Toggle then search for it) command in the opened Atom instance or open an Atom instance