-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Indent with tab issue on website #1470
Comments
@clarkWGriswold where are you seeing this issue (website, nodejs, python, some editor plugin)? What version of beautifier are you using? |
Website v1.8.0-rc4 |
Sorry, it was in the website.
…On Fri, Aug 3, 2018, 8:12 PM Трофимов Сергей ***@***.***> wrote:
Website v1.8.0-rc4
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1470 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHBaYXetB3_rD3q66BAnSZntSPmssYVtks5uNREIgaJpZM4Vsjig>
.
|
@clarkWGriswold |
I think the value the "Indent with a tab character" is setting is
incorrect. When I select this option, the "Your Selected Options (JSON)"
shows the indent_char is " " (single space). When I change this to "\t" it
works correctly.
I hope that helps. I use this site a lot though-out the day.
…On Sat, 4 Aug 2018 at 00:31, Liam Newman ***@***.***> wrote:
@clarkWGriswold <https://github.com/clarkWGriswold>
There's problems displaying tabs on webpages.
I'm not sure how to fix this yet. It maybe a tab display issue or it may
be that I have an old version of codemirror.
https://stackoverflow.com/questions/3946688/encoding-a-tab-in-html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1470 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHBaYbXw1l0aiALO1lrd2zEUJ-ROX_HMks5uNU21gaJpZM4Vsjig>
.
|
Hmm ... |
Oh, I see it: |
@clarkWGriswold |
great. it looks like it's working. I was poking around a little because I
use JsFormat in sublime text, I found there's another option named
"indent_with_tabs". When this is set to true, it overrides the indent_size
and indent_car options. I set the "Additional Settings (JSON)" field on the
website to:
{
"indent_with_tabs": true
}
then set to Index with 2 spaces. When I beautify with these settings, it
indents with tab. If I change the setting to false, it indents with 2
spaces. Since I configured my JsFormat to use my settings from the
jsbeautifier site, I think maybe this option just fell off the options
setting. Obviously, I don't know what's going on in the background, just a
though I had.
I appreciate your site. Like I said, i use it a lot throughout the day and
I recommend it to everyone that will listen to me.
Thank you!
…On Wed, 8 Aug 2018 at 10:15, Liam Newman ***@***.***> wrote:
@clarkWGriswold <https://github.com/clarkWGriswold>
Thanks for your help. I've cherry-picked this fix to the website, so it
should be working now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1470 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHBaYfvUmgvtSkHedbzhPHzWc4E5Ab7Gks5uOxysgaJpZM4Vsjig>
.
|
Beautifying with "Indent with a tab character" is indenting with a single space, see below.
The text was updated successfully, but these errors were encountered: