1
mirror of https://github.com/CarmJos/EasyConfiguration.git synced 2026-06-05 02:58:20 +08:00

feat: Comment resources support #104

This commit is contained in:
2025-02-15 06:06:31 +08:00
parent 3a3533ce81
commit c79b94b719
@@ -8,7 +8,7 @@ public interface CommentableOptions {
// * Whether to keep modified comments in configuration,
// * that means we only set comments for values that are not exists in configuration.
// */
// ConfigurationOption<Boolean> KEEP_COMMENTS = ConfigurationOption.of(true); // TODO: Implement this feature
// ConfigurationOption<Boolean> KEEP_COMMENTS = ConfigurationOption.of(true);
/**
* Whether to comment values name that are not exists in configuration and no default value offered.
@@ -21,4 +21,15 @@ public interface CommentableOptions {
*/
ConfigurationOption<Boolean> COMMENT_EMPTY_VALUE = ConfigurationOption.of(false);
// /**
// * The resource path of the comment file.
// * <p>
// * Use this option to specify the path of the comment file,
// * which will be used to load comments for the configuration.
// * </p>
// */
// ConfigurationOption<String> COMMENT_RESOURCE = ConfigurationOption.of(String.class, "config-comments");
}