Skip to content

Auto-insert of module block renders in single line even if "single line" preference is off #62

@davidmichaelkarr

Description

@davidmichaelkarr

I typed "import", space, then "conf", ctrl-space, selected "config". It auto-inserted the rest of the module block, all on a single line.

I then deleted the line, then went into preferences, and on the "YANG"->"Formatter" page, I turned OFF the "Collapse import statement in single line" flag.

I then went back to where I had added and deleted the "import" line, and reinserted it again the same way. It still inserted it on a single line.

I then reformatted the entire file, which changed the inserted line to the multiple line format.

The auto-insert behavior should respect the state of the "Collapose import statement in single line" flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions