{"id":472757,"date":"2025-08-07T16:44:02","date_gmt":"2025-08-07T16:44:02","guid":{"rendered":"https:\/\/Blockchain.News\/news\/github-updates-default-tab-size-enhance-code-readability"},"modified":"2025-08-07T16:44:02","modified_gmt":"2025-08-07T16:44:02","slug":"github-updates-default-tab-size-to-enhance-code-readability","status":"publish","type":"post","link":"https:\/\/e-bitco.in\/index.php\/2025\/08\/07\/github-updates-default-tab-size-to-enhance-code-readability\/","title":{"rendered":"GitHub Updates Default Tab Size to Enhance Code Readability"},"content":{"rendered":"<figure class=\"figure mt-2\">\n<p> <a href=\"https:\/\/blockchain.news\/Profile\/Timothy-Morano\">Timothy Morano<\/a> <span class=\"publication-date ml-2\"> Aug 07, 2025 16:44<\/span> <\/p>\n<p class=\"lead\">GitHub modifies its default tab size from eight to four spaces, aligning with common development practices and enhancing code readability for new and logged-out users.<\/p>\n<p> <a href=\"https:\/\/image.blockchain.news:443\/features\/24B6EBDC6093F0C1F639A6A7DA12473E2D2C5C390185833B0F398CC7FCE1368C.jpg\"> <img decoding=\"async\" class=\"rounded\" src=\"https:\/\/image.blockchain.news:443\/features\/24B6EBDC6093F0C1F639A6A7DA12473E2D2C5C390185833B0F398CC7FCE1368C.jpg\" alt=\"GitHub Updates Default Tab Size to Enhance Code Readability\"> <\/a> <\/figure>\n<p>In a significant update aimed at improving code readability, GitHub has announced a change in its default tab size from eight spaces to four. This adjustment applies to all logged-out users and new accounts, according to the official <a rel=\"nofollow\" href=\"https:\/\/github.blog\/changelog\/2025-08-07-default-tab-size-changed-from-eight-to-four\/\">GitHub blog<\/a>.<\/p>\n<h2>Aligning with Common Practices<\/h2>\n<p>The decision to reduce the default tab size is rooted in aligning GitHub&#8217;s code display with prevalent development practices. Previously, the eight-space default often resulted in code appearing more indented than expected, which could be disconcerting for developers used to a four-space indentation. GitHub&#8217;s move aims to provide a more consistent and familiar experience, reflecting what developers typically encounter in their daily work environments.<\/p>\n<h2>Customizable Settings for Users<\/h2>\n<p>While the change will affect new and logged-out users, existing users who prefer the previous default setting of eight spaces can maintain their preference. GitHub allows users to customize their tab size by navigating to <strong>Settings &gt; Appearance<\/strong>. This flexibility ensures that individual user preferences are respected while still promoting a more universally accepted default.<\/p>\n<h2>Feedback and Community Engagement<\/h2>\n<p>GitHub is encouraging feedback from its community regarding this update. Users can share their thoughts or report any issues they encounter with the new tab size through GitHub&#8217;s <a rel=\"nofollow\" href=\"https:\/\/github.com\/orgs\/community\/discussions\/168948\">Community Discussion<\/a> page. This open channel for communication underlines GitHub&#8217;s commitment to enhancing the user experience by considering community input.<\/p>\n<p>By updating the default tab size, GitHub continues to refine its platform in alignment with user needs and industry standards, ensuring an optimal environment for code viewing and collaboration.<\/p>\n<p><span><i>Image source: Shutterstock<\/i><\/span> <!-- Divider --> <!-- Author info END --> <!-- Divider --> <a href=\"https:\/\/blockchain.news\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Timothy Morano Aug 07, 2025 16:44 GitHub modifies its default tab size from eight to four spaces, aligning with common development practices and enhancing code readability for new and logged-out users. In a significant update aimed at improving code readability, GitHub has announced a change in its default tab size from eight spaces to four. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":472758,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[21913,21914,8404,25],"class_list":{"0":"post-472757","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-blockchain","8":"tag-code-readability","9":"tag-development-practices","10":"tag-github","11":"tag-news"},"_links":{"self":[{"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/posts\/472757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/comments?post=472757"}],"version-history":[{"count":0,"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/posts\/472757\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/media\/472758"}],"wp:attachment":[{"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/media?parent=472757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/categories?post=472757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/e-bitco.in\/index.php\/wp-json\/wp\/v2\/tags?post=472757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}