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

Flux script editor will mix tabs and spaces #12733

Closed
jsternberg opened this issue Mar 19, 2019 · 0 comments · Fixed by #13797
Closed

Flux script editor will mix tabs and spaces #12733

jsternberg opened this issue Mar 19, 2019 · 0 comments · Fixed by #13797

Comments

@jsternberg
Copy link
Contributor

The flux script editor will insert a tab when you use the TAB key, but then the auto-indents will use spaces with the same number of spaces instead of replicating the original tab. So you end up with this:

from(bucket: "my-bucket")
<TAB> |> range(start: dashboardTime)
            |> filter(...)

The first enter does not auto-indent, but the enter key after the second line begins the auto-indent with spaces instead of tabs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants