Large

Tab size

By NV Last update Sep 28, 2010 — Installed 314 times.

Script Summary: Replace all tab characters with two spaces (or something else)



8 spaces for the tab character is too many. I prefer 2. Supported browsers: Firefox, Google Chrome, Opera, and Safari.
beforeafter
jQuery.fn.extend({
	show: function( speed, callback ) {
		...
	}
 	...
jQuery.fn.extend({
  show: function( speed, callback ) {
    ...
  }
  ...

Configure tab size

In Firefox you can change default 2 spaces to something else.

User Script Commands... → Change tab size...Replace tabs with

In other browsers you have to edit script manually.