Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
davidmichaelkarr opened this issue Dec 3, 2015 · 0 comments

Comments

@davidmichaelkarr
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant