Indent with tab issue on website
See original GitHub issueBeautifying with “Indent with a tab character” is indenting with a single space, see below.
answer = checkForHardFreezeBlackoutSchedules();
function checkForHardFreezeBlackoutSchedules() {
var blackoutHelper = new TUChangeBlackoutHelper();
var startDate = new GlideDateTime(current.start_date);
var endDate = new GlideDateTime(current.end_date);
var blckOutSchedGR = new GlideRecord('cmn_schedule_blackout');
blckOutSchedGR.addQuery('u_type_of_freeze', 'Hard');
blckOutSchedGR.query();
while (blckOutSchedGR.next()) {
if (blackoutHelper.isTimeFrameInBlackoutWindows(startDate, endDate, String(blckOutSchedGR.sys_id), true)) {
return 'yes';
}
}
return 'yes';
//return 'no';
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to indent or tab text on a web page or in HTML
Steps on how to create a tab or indent text on a web page or in HTML.
Read more >Google Docs: Using Indents and Tabs - GCF Global
In Google Docs indents are useful to draw attention to certain elements. In Google Docs tabs are helpful for text placement.
Read more >Can't indent (tab) in Safari? - Codecademy Forums
Hello, I'm having a problem with the code editor in Safari that I've not previously had before, so maybe I've done something inadvertently....
Read more >Use tab key for shortcut of indentation when writing texts in gitlab
Use tab key for shortcut of indentation(i.e., two spaces) when writing/editing an issue or gitlab wiki pages. Use shift + tab key for...
Read more >Formatting & Indenting Your HTML - Scott Granneman
On this page… ... Your text editor should make it easy to indent your code ... The next question is, how many spaces...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 notifications@github.com wrote:
@clarkWGriswold Thanks for your help. I’ve cherry-picked this fix to the website, so it should be working now.