How to avoid the "loose indentation"?
Here is my codes which are warned.
PHP Code:
PHP Code:
Thx |
Re: How to avoid the "loose indentation"?
When you indent your code, either you use Tabs or spaces but not both at the same time.
|
Re: How to avoid the "loose indentation"?
I always use spaces but it still warn me...
|
Re: How to avoid the "loose indentation"?
Is that hard to indent properly ?
Code:
switch(key) |
Re: How to avoid the "loose indentation"?
With proper indentation it will also be easier to see your missing braces (assuming you showed us a complete code block). Though it should allow "else if" on the same line as the ending brace.
|
Re: How to avoid the "loose indentation"?
Thank you very much!
no WARNINGs any more~~ I will use this writing style. |
| All times are GMT -4. The time now is 01:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.