Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration Editor: show javadoc in completion of java enums values #146

Open
AlexFalappa opened this issue Aug 2, 2019 · 2 comments
Open
Assignees
Labels
Milestone

Comments

@AlexFalappa
Copy link
Owner

Present the list of enumeration values when a configuration property as a Java enumeration data type.

The following properties have a java enumeration data type:

management.endpoint.health.show-details=when_authorized
management.info.git.mode=full
management.metrics.export.graphite.duration-units=days
management.metrics.export.simple.mode=cumulative
management.metrics.export.statsd.flavor=telegraf
management.server.ssl.client-auth=need
server.error.include-stacktrace=on_trace_param
spring.artemis.mode=native
spring.batch.initialize-schema=embedded
spring.cache.type=caffeine
spring.data.cassandra.repositories.type=reactive
spring.datasource.initialization-mode=embedded
spring.integration.jdbc.initialize-schema=embedded
spring.jackson.default-property-inclusion=non_default
spring.jersey.type=filter
spring.jooq.sql-dialect=postgres_9_3
spring.main.banner-mode=console
spring.main.web-application-type=reactive
spring.output.ansi.enabled=never
@AlexFalappa AlexFalappa self-assigned this Aug 2, 2019
@snicoll
Copy link

snicoll commented Aug 2, 2019

FTR, such enum have a javadoc that is similar to the ones that are on fields for regular configuration property metadata. If you can extract that information and present it alongside each value that would be awesome.

This is consistent with the values hints where you can specify a description for each value, see this example

@AlexFalappa AlexFalappa added this to the v2.1 milestone Aug 4, 2019
@AlexFalappa
Copy link
Owner Author

@snicoll I have implemented the retrieval of enumeration values in d5ded0d.

Retrieval of javadoc associated to enumeration values will take me some more time as I must get acquainted with NetBeans API for java source management. I will leave this issue open for the moment to track your requested behaviour.

@AlexFalappa AlexFalappa modified the milestones: v2.1, Future Oct 18, 2019
@AlexFalappa AlexFalappa changed the title Configuration Editor: complete java enums values Configuration Editor: show javadoc in completion of java enums values Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants