Skip to content

Add a new option "--disable-indent-subroutine"Β #105

Open
@zaikunzhang

Description

@zaikunzhang

Thank you very much for developing this great package!

In the current version, there are three options concerning disable indentation:

--disable-indent don't impose indentation (default: False)
--disable-fypp Disables the indentation of fypp preprocessor blocks (default: False)
--disable-indent-mod Disables the indentation after module / program (default: False)

The latter two options provide flexibility to the users who want to disable indentation partially, which is very nice. However, the user's preference may not be covered by these two options. For example, one may like to disable indentation for module/program/subroutine/function and keep all the others. I guess there is no easy way to do it with the current version.

That said, what about adding a new option "--disable-indent-subroutine". Or, better, maybe provide an option that accepts a list of indentations to disable?

Again, many thanks for this very useful software. Thank you very much for your consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions