#102 Indent your code!

Cerrada
aberta %!s(int64=5) %!d(string=hai) anos por SuperSandro2000 · 1 comentarios

I needed to debug your code the last days and a bit of formatting and especially indentation would definitely not hurt!

I needed to debug your code the last days and a bit of formatting and especially indentation would definitely not hurt!

I upload the code in the way I can work best with it. I think that makes sense because Halcyon won't receive further updates if I can't understand that mess anymore. The source here won't be changed for that reason but there's a simple trick you can add indentation yourself with a single click. Go to your Halcyon instance,open Firefox' debugger,select the file you want to view and click "pretty print" in the bottom line of the editor. In Firefox that will only work for the client side scripts but I'm sure that some normal text editors have the same feature.

I upload the code in the way I can work best with it. I think that makes sense because Halcyon won't receive further updates if I can't understand that mess anymore. The source here won't be changed for that reason but there's a simple trick you can add indentation yourself with a single click. Go to your Halcyon instance,open Firefox' debugger,select the file you want to view and click "pretty print" in the bottom line of the editor. In Firefox that will only work for the client side scripts but I'm sure that some normal text editors have the same feature.
Accede para unirte á conversa.
Sen fito
Sen asignado
2 participantes
Cargando...
Cancelar
Gardar
Aínda non existe contido.