Display Line Numbers in the Editor¶
This article was originally posted to the AIMMS Tech Blog.
By default, line numbers are hidden in the Editor in the AIMMS IDE. However, you can enable line numbers in settings.
This is useful when sharing information about your model, so you can point to specific lines in a procedure or a definition.
To enable the display of line numbers in the Editor settings:
Go to Settings > Editor Settings.
In the dialog that appears, select the Misc tab.
Change the value for the setting
AIMMS will display line numbers for all attributes that can consist of multiple lines, as shown in the image below:
You can jump to a specific line number with the keyboard shortcut
Ctrl + G (or from the menu Edit > Goto Line). This will open the dialog below:
Note that the Goto Line function works regardless of whether the line numbers are displayed or not.