Skip to content

Allow Inline Comments #1

Open
Open
@Manered

Description

@Manered

Example:

# Normal Comment
key: value # Inline Comment

# Normal Comment
key: # Inline Comment
  # ...
// Normal Comment
key = value // Inline Comment

// Normal Comment
key { // Inline Comment
  // ...
}

This would mean we need the following in ConfigNode:

@NotNull
Set<String> getComments();

@NotNull
Set<String> getInlineComments();

and in ConfigSection:

void inlineComment(final @NotNull String key, final @NotNull String @NotNull ... comments);

@NotNull
@Unmodifiable
Collection<String> getInlineComments(final @NotNull String key);

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions