AX2012 code editing – tabs

Often we cut and paste code from one method to another during our development. This often results in blocks of code with the incorrect indenting, which while does not make the code function any differently makes it hard to read.

You can easily move entire blocks of code from one indent level to another. This is done by selecting the block of code in question, the either pressing <tab> to indent right or <shift>+<tab> to indent left.

This editing tip can save you hours of time making your code more readable.

Advertisements