Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Configurations

Aperta
#9 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@BrendonButler ci sta già lavorando.

Dal 9/6/2016.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
Java
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di BrendonButler/ModestAPI

Tutte le issue di BrendonButler/ModestAPI

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.