The other day as i was reviewing a code modification to a long method from my team mate he had to walk me up and down through the code scrolling.
Just then the Ctrl + G flashed in me. Yes It takes a lot less effort to type in the line number then scrolling up and down. Even if you are not sure of the line number make it a guess then it is always a few lines up or down.
If you are newbie here is how you can find the line number
On AX 2009
You can identify the line number in the status bar.
On AX 2012
Activate the toggle line number in the tool bar or identify the line number from the status bar
Ideally keeping best practices in mind you must right methods that have limited number of lines and break them and keep it modular.
Look in to the video for an exciting demo on the features of X++ Editor in coming up Dynamics Ax version.
Also look here for the post related to it ….
Awaiting to get hands on 🙂
An interesting observation in Ax…
When you have a commented line and use the static operator inside it, the X++ editor displays the lookup.
Look at the video to understand better.
Generally in use X++ editor we use line selection or complete block selection to modify the text. In Ax
you can also use vertical block selection to remove spaces or delete text. Here is a small demonstration of vertical block selection along with the way to do it.