Feature Description
As of ktfmt version 0.52 in IntelliJ, users can select "Custom" under "Code style," which provides the ability to customize certain formatting options. One significant feature seen in this version is the ability to manage trailing commas.
Feature Request
I would like to have this functionality available in the ktfmt pre-commit hooks as well. It would be beneficial for users to be able to enable or disable trailing commas during the pre-commit checks, providing more flexibility and adherence to varying code style preferences.
Additionally, it would be great to set a base configuration for the custom style using one of the predefined styles such as Meta, Google, or kotlinlang.
Inquiry
Is there any plan to update the pre-commit hooks to include this feature? If not, could this be considered for future updates?
Thank you for considering this enhancement to ktfmt pre-commit hooks.
Feature Description
As of
ktfmtversion 0.52 in IntelliJ, users can select "Custom" under "Code style," which provides the ability to customize certain formatting options. One significant feature seen in this version is the ability to manage trailing commas.Feature Request
I would like to have this functionality available in the
ktfmtpre-commit hooks as well. It would be beneficial for users to be able to enable or disable trailing commas during the pre-commit checks, providing more flexibility and adherence to varying code style preferences.Additionally, it would be great to set a base configuration for the custom style using one of the predefined styles such as Meta, Google, or kotlinlang.
Inquiry
Is there any plan to update the pre-commit hooks to include this feature? If not, could this be considered for future updates?
Thank you for considering this enhancement to
ktfmtpre-commit hooks.