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
Grafana: The open and composable observability platform Icon
Grafana: The open and composable observability platform

Faster answers, predictable costs, and no lock-in built by the team helping to make observability accessible to anyone.

Grafana is the open source analytics & monitoring solution for every database.
Learn More
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