Different text readers/editors have different interpretations of Tab. A program that originally looked great in your editor would appear messy elsewhere. Therefore, many programmers tend to use space-only for guaranteed visual look, but that will cause a lot of waste of disk space. Is there an ideal solution?

There IS!

We can enforce a rule to all program files:

In each line, before the first non-space, non-tab character, use TAB only! And after that character, use SPACE only!

The advantage of this rule is that, first of all, regardless of how many spaces the tab's interpretation is, the code is always uniformly indented, and since tabs and spaces do not mix together, the appearance of the code line is fixed. Secondly, compared to the all-space solution, it can reduce file size dramatically. I consider this to be the perfect solution. And our Tabspace project just does this job.

Features

  • Batch processing: Beautifies thousands of your files with a single command
  • Universal: Suitable for all programming languages
  • Efficiency: Reduces your file size after beautifying

Project Activity

See All Activity >

Follow tabspace

tabspace Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tabspace!

Additional Project Details

Registered

2024-01-08