Community
Participate
Working Groups
- In Javascript Validation settings, change "Mixed spaces and tabs" to Error. - Type a mix of spaces and tabs at the beginning of a line of code. - You should see the red X. - Hover over the red X to see what the suggested QuickFix is - it says it can disable the no-mixed-spaces-and-tabs error. This is not a useful quickfix when you are trying to make a contribution to someone else's code. It would be more useful to offer the user a choice of several possible QuickFixes: - change beginning-of-line tabs to spaces - change beginning-of-line spaces to tabs - IF the project's no-mixed-spaces-and-tabs setting is "smart-tabs" then offer to change beginning-of-line whitespace to smart-tabs Note that all 3 of these can have a Fix All option. (In case it's useful, the initial implementation of no-mixed-spaces-and-tabs was added in Bug 462980)