Feature #563

Generating configuration file from Ini values

Added by Jan DolinĂ¡r over 10 years ago. Updated over 10 years ago.

Status:ApprovedStart date:11/03/2013
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:


Category:CoreSpent time:-
Target version:-


I'd like to add two simple utility functions that generate contents of configuration file from IniInfo containing either currently set values or defaults. The generated String contains not only the values, but also the description strings in comments.

The idea is to simplify documentation for developer and configuration for user. All the necessary information is usually present in the description of Ini values, so by generating config file, the programmer doesn't have to list all the information again in docs... Also, since current values can be stored, it could be a handy way for apps to store configuration instead of using human-unreadable serialization (or xml or json which are not much better).

Ini.patch Magnifier (1.28 KB) Jan DolinĂ¡r, 11/03/2013 05:45 PM


#1 Updated by Miroslav Fidler over 10 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF