We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here is a quick sample model to demonstrate the issue (seen on 2.1)
module example { namespace "com:example"; prefix "ex"; container some-when { when "/foo[bar = current()/../baz]"; } leaf some-ref { type leafref { path "/foo[bar = current()/../baz]/id"; } } }
Applying the formatter changes only the leafref's xpath (not the when's) to the following
path "/foo[bar = current ()/../baz]/id";
While this is still a valid xpath, I think it shouldn't be reformated, or at the very least it should be coherent between both.
I've tried disabling the 'Code Style' option 'Spaces -> Custom Spacing -> Spaces before left brace' but there were no change to the behavior.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here is a quick sample model to demonstrate the issue (seen on 2.1)
Applying the formatter changes only the leafref's xpath (not the when's) to the following
While this is still a valid xpath, I think it shouldn't be reformated, or at the very least it should be coherent between both.
I've tried disabling the 'Code Style' option 'Spaces -> Custom Spacing -> Spaces before left brace' but there were no change to the behavior.
The text was updated successfully, but these errors were encountered: