Skip to Content

First, I think now the most common option to choose when you have to wrap your code is this one:

(or almost the most common I’ve seen people are used to)

/wp-content/uploads/2014/08/6_524422.png

But let me say to you that there is another suitable option, that in my opinion is better.

What this option does is, to keep the whole lines into the source code, and then

to cut them at a position, the one that you’ve chosen.

For example, here is the selection at first.

/wp-content/uploads/2014/08/2_524424.png

/wp-content/uploads/2014/08/3_524423.png

Then, this result has the following effect:

/wp-content/uploads/2014/08/1_524425.png

Then, if we save the code, it’s keeping and showing with this line larger than our expectations…

So, we have to toggle to this option:

/wp-content/uploads/2014/08/4_524432.png

Then, the result is the following:

/wp-content/uploads/2014/08/5_524433.png

SO, briefly, this option keep the source code “as it”, but the only thing is that it “truncates” the code,

and to put it immediately at down first position.

I think this option is better, because it keeps the source code unchanged, and then you can choose

on which position is going to be better to be truncated.

Hope it helps.

Regards,

To report this post you need to login first.

5 Comments

You must be Logged on to comment or reply to a post.

    1. Nahuel Elías Romanello Post author

      I think the best option is to have a source code without word wrapping, and the you can cut it off at where you want. I’m talking about, the most suitable option for me is, to take the ABAP instructions up to 72 characters, and then comments more than this size. Or well, you can take more for ABAP instructions (always that you don’t have a REUSE ALV), and even more for comments…

      I think, for example, if you have in your office a bigger screen than maybe your personal netbook, and when you want to see the code on netbook screen it’s complicated…

      So, besides, if you have a code with more than 72 characters, and you want to cut it off to 72, with the following option you can see this excess without a line hard break…

      (so, it’s easier to visualize which line is more than 72, and to cut it off)

      /wp-content/uploads/2014/08/9_524957.png

      Regards,

      (0) 

Leave a Reply