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

Fix: space indent in Mango Query editor doesn't match the indent guides #1388

Merged

Conversation

Antonio-Maranhao
Copy link
Contributor

Overview

The Mango query editor was using a 3-space indent, which doesn't match the indent guides drawn in the editor (2 spaces).
This PR updates the formatter so both use 2-space ident.

Before
2nd_level {

After
Mango Query ®

Testing recommendations

Run Fauxton and verify the indent guide line up with the formatted text.

GitHub issue number

#1313

Related Pull Requests

n/a

Checklist

  • Code is written and works correctly;
  • Changes are covered by tests;
  • Documentation reflects the changes;
  • Update rebar.config.script with the correct tag once a new Fauxton release is made

@Antonio-Maranhao Antonio-Maranhao merged commit 53009f5 into apache:main Feb 9, 2023
@Antonio-Maranhao Antonio-Maranhao deleted the fix-mango-query-space-indent branch February 9, 2023 19:28
mharrigan26 pushed a commit to mharrigan26/couchdb-fauxton that referenced this pull request Feb 24, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants