Skip to content

Code Formatting Tool #13

@ktechhydle

Description

@ktechhydle

I'm considering the introduction of a code formatting tool for GLang. Something like:

glang sawyer <file-name>

sawyer is the real life name of a dog from my place of work!

I would have to figure out a way to architect this, but the best bet is to create an AST like normal, then run through it to generate clean code. For example, this code:

if 1 == 1 { bark(true); }

Would be formatted to:

if 1 == 1 { 
    bark(true); 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions