Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Configurations

未关闭
#9 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@BrendonButler 已经在做这个了。

开始于 2016年6月9日。

评估

这个 Issue 还没有评估数据。

描述

enhancement
  • Improve Loading and Saving (More universal for custom configuration types)
  • JSON Pretty Print (formatted & indented files) #4
  • Yaml Child Nodes (figure out how to use child nodes and implement) #1
  • JSON Child Nodes (similar method for Yaml nodes)
  • Add a way to add something to a list in a config 'config.add(key, value);'
  • Add a way to remove something from a config config.remove(key, value);
  • Add XML Support

JSON Pretty Print
Will probably have to switch from JSON simple to another API for pretty print.

For those who don't know. "Pretty print" is just a formatted version of json. Instead of having all the data on one line, it is indented and multi-lined.

Yaml Child Nodes
Child keys accessed by config.get("first.second.third");
and set by config.set("first.second.third", "Yay, it works!");

first:
  second:
    third: "Yay, it works!"

Issues

  • When trying to set a child node for a parent that already has data (other than it being a map), it won't save the data on exit.. Could be a bug, or it could be a safety feature.. not sure yet, need more research.
  • Leaving out XML support for now. Future addition possibly. Yaml & JSON should be fine for now.
主要语言
Java
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

BrendonButler/ModestAPI 的其他 Issue

查看 BrendonButler/ModestAPI 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。