# Formatting long lines of code

**URL:** <https://forum.kirupa.com/t/formatting-long-lines-of-code/306373>\
**Category:** Uncategorized\
**Created:** [March 14, 2010, 9:01am UTC](https://forum.kirupa.com/t/formatting-long-lines-of-code/306373 "2010-03-14T09:01:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dandylion13](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Post date:** [March 14, 2010, 9:01am UTC](https://forum.kirupa.com/t/formatting-long-lines-of-code/306373/1 "2010-03-14T09:01:07Z")

</div>

Hi,

I was wondering whether anyone could suggest a style for formatting methods with lots of parameters, or long lines of code in general.

For example, this is quite long and a bit hard to read:

```auto

_bitmapData.copyPixels(sourceBitmapData, sourceRectangle, destinationPoint, null, null, true);

```

Does it make sense to format it like this?

```auto

_bitmapData.copyPixels
(
  sourceBitmapData, 
  sourceRectangle, 
  destinationPoint, 
  null, null, true
);

```
