Skip to content

Comments

Add the ability to customize section and field names on save/load.#11

Merged
burner merged 3 commits intoburner:masterfrom
Hackerpilot:issue-1
Mar 29, 2018
Merged

Add the ability to customize section and field names on save/load.#11
burner merged 3 commits intoburner:masterfrom
Hackerpilot:issue-1

Conversation

@Hackerpilot
Copy link
Contributor

Fixes #1. Also fixes some spelling mistakes.

@ghost
Copy link

ghost commented Mar 26, 2018

@burner, if you take this PR please also push a new git tag for DUB. We actually require it for D-Scanner.

@burner
Copy link
Owner

burner commented Mar 28, 2018

apart of the nitpicks it looks good. thank you.
As soon as these are fixed I'm gone merge and push a new tag.


if(section) {
oRange.formattedWrite("[%s]\n", getTypeName!T);
if (hasUDA!(T, INI))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you move the { to the end of the line

auto ini = getINI!(T);
if (ini.name !is null)
oRange.formattedWrite("[%s]\n", ini.name);
else
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please add curly braces for the two else statements

@burner burner merged commit ee2d986 into burner:master Mar 29, 2018
@burner
Copy link
Owner

burner commented Mar 29, 2018

@Hackerpilot thank you

@burner
Copy link
Owner

burner commented Mar 29, 2018

new tag is pushed

@Hackerpilot Hackerpilot deleted the issue-1 branch March 29, 2018 19:34
wilzbach added a commit to wilzbach/phobos that referenced this pull request Apr 3, 2018
Due to dlang-community/D-Scanner#526, the
`.dscanner` prefix was required.

However, thanks to burner/inifiled#11 this is no
longer needed and DScanner 0.5 doesn't require the prefix anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possibility to change section name

2 participants