SA-MP Forums Archive
[Tool/Web/Other] warning 217: loose indentation Fixer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] warning 217: loose indentation Fixer (/showthread.php?tid=585251)



warning 217: loose indentation Fixer - jamesmith12 - 12.08.2015

This is a cool website



Copy/paste your loose indentation code to fix



Here you go







.


Re: warning 217: loose indentation Fixer - benjaminjones - 12.08.2015

Thats nice.


Re: warning 217: loose indentation Fixer - Variable™ - 12.08.2015

Nice man


Re: warning 217: loose indentation Fixer - Hemeei - 12.08.2015

Cool thank you for this/


Re: warning 217: loose indentation Fixer - SecretBoss - 12.08.2015

Amazing! Thanks for sharing


Re: warning 217: loose indentation Fixer - Ahmad45123 - 12.08.2015

What would your script do in cases like:
PHP Code:
//Test {
Bla Bla




Re: warning 217: loose indentation Fixer - jamesmith12 - 12.08.2015

Quote:
Originally Posted by Ahmad45123
View Post
What would your script do in cases like:
PHP Code:
//Test {
Bla Bla

it will result like this

PHP Code:
//Test
{
    
Bla Bla




Re: warning 217: loose indentation Fixer - J0sh... - 12.08.2015

Quote:
Originally Posted by jamesmith12
View Post
it will result like this

PHP Code:
//Test
{
    
Bla Bla

Some people code like this:
PHP Code:
public OnPlayerDisconnect(playeridreason) {
    
Ban(playerid);

So, how would it help them?


Re: warning 217: loose indentation Fixer - jamesmith12 - 12.08.2015

Quote:
Originally Posted by Jamester
View Post
Some people code like this:
PHP Code:
public OnPlayerDisconnect(playeridreason) {
    
Ban(playerid);

So, how would it help them?
They can change that if they want like that , its just an style ? its same?


Re: warning 217: loose indentation Fixer - J0sh... - 12.08.2015

Quote:
Originally Posted by jamesmith12
View Post
They can change that if they want like that , its just an style ? its same?
Yes but { } takes more lines, some people like less lines, and they wont deal with a website that won't support all styles.