Skip to content

Convert indentation in doc comments? #51

@Gama11

Description

@Gama11

While we should probably preserve the same level of indentation in doc comments because of #38, we might still want to convert the indentation character / width? E.g. if you switch from using spaces to tabs, doc comments would be left alone, which means you end up with two different indent styles.

{}

---

class Main {
    /**
        Description
    **/
    static public function main() {}
}

---

class Main {
	/**
		Description
	**/
	static public function main() {}
}

Right now the result is this:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions