Skip to content

createIniEdits

createIniEdits(source, path, value): TextEdit[]

Defined in: packages/format-ini/src/edit.ts:19

Returns the TextEdits that set value at path.

Span-targeted: only the property’s own line is rewritten, so comments, blank lines, section order and the formatting of every untouched line survive. A key that does not exist yet is appended to its section, or a new section is appended to the document.

string

PropertyPath

unknown

TextEdit[]