#102 Indent your code!

Closed
opened 4 years ago by SuperSandro2000 · 1 comments

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!
Niklas Poslovski commented 4 years ago
Owner

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.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.