Skip to content

Content assist for keys that exist in YAML and properties files #427

Closed
@humphreygao

Description

@humphreygao

Take the YAML below as example, if I trigger the content-assist command Alt+/ when the cursor is between the curly braces of ${}, it would be better to provide proposals like server.port, spring.application.name, spring.cloud.consul.host and spring.cloud.consul.port.

server:
  port: 8006

spring:
  application:
    name: dadada
  cloud:
    consul:
      host: localhost
      port: 8500
      discovery:
        service-name: ${spring.application.name}

By the way, I notice that STS4 doesn't have the Quick Fix proposals like Add @Autowired to field variable while STS3 has. Was it possible to integrate this feature into STS4?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions