How to indent multiple lines of code in Navision

What to do if you need to indent several lines of Code (Just because youmade the changes in code lately) in any Navision Object? Will you do it manually one line at a time?

Don't despair. There is a simple way to do it -

To indent several lines of code, select those several lines and press TAB. The code indents with two spaces to the right, every time that TAB is pressed.

To indent several lines of code to the left, select those lines, and press SHIFT+TAB. This indents the code with one space to the left, every time that SHIFT+TAB is pressed.

Block indentation enables developers to indent several lines of code in only three keystrokes (one for highlighting the code and two for pressing SHIFT and TAB.)

3 comments:

Pooja Khatri said...

Hi Snehanshu,

I have tried this on ver 4.3 and i tis not working...??is this functionality introduced in the later versions of navision??

Unknown said...

Hopefully yes.. this functionality can into presence from NAV 5.0

Neeraj said...

Yes this functionality started from NAV 5...