Closed Bug 433543 Opened 16 years ago Closed 15 years ago

tab spacing display too large to be useful

Categories

(Toolkit :: View Source, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 295506

People

(Reporter: leeoniya, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051206 Minefield/3.0pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051206 Minefield/3.0pre

I find it strange that there's and no ability to specify tab spacing display in view source, especially since the current implementation is way too large to be useful in heavily nested pages.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Summary: tab width is too large to be useable → tab width is too large to be useful
Summary: tab width is too large to be useful → tab spacing display too large to be useful
The current implementation puts in eight spaces for each tab character.

Potential fixes:
1) Introduce a new pref which indicates the number of characters to use when printing a tab character in the view source window.
2) Change the default spacing to a smaller value, presumably 4 spaces.
Product: Firefox → Toolkit
When working on a Project, there are coding standards to be followed, and these standards also include tab spacing in the source code.

In my experience, you should always use tabs to indent code, and the developer can then set this setting in there program of choice to the way they prefer the indents to look.

I personally like my tabs to display as 2 spaces, but 8 space tabs is definately to much, and whilst i,m not using Firefox to code with, I frequently use it to quickly check things, so I would also like to suggest this feature in the preferences for Firefox.
i agree, a setting (even a hidden one in about:config) would be nice, 8 spaces is gigantic ;D
Flags: wanted1.9.2?
This sounds like a duplicate of bug 295506
I agree with Comment 4 - Resolving this as a dupe of Bug 295506.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.