taplo icon indicating copy to clipboard operation
taplo copied to clipboard

FEAT: Add the option to have 2 spaces before inline comment like PEP 8 of Python

Open dvorst opened this issue 1 year ago • 1 comments

Feature request Add an option to have 2 spaces (instead of 1) before inline comments, similar to PEP 8 of Python (https://peps.python.org/pep-0008/#inline-comments).

"evenBetterToml.formatter.alignComments": false "evenBetterToml.formatter.inlineCommentSpaces": 2 <-- new option that only applies when alignComments is false

Rationale: Since a pyproject.toml is quite common to have, it would be nice to have some of the styling be similar to PEP. evenbettertoml

dvorst avatar Sep 12 '23 08:09 dvorst

Thanks for the suggestion! This would need someone writing a PR.

ia0 avatar Sep 12 '23 08:09 ia0