Desktop IDE
Previous Top Next

The desktop IDE includes several tools for making the code editing more convenient.

AutoComplete

By pressing Ctrl + Space a list of all variables, subs, controls and objects will show.
If only one item fits the already partially written name then this item will be completed immediately.

Code Outlining

Each sub can be folded by pressing on the small minus sign left of the sub declaration.
You can also use the #Region word to declare an outlining node beginning and #End Region which declares the outlining node end.
For example:
...
#Region Form1 Code
Sub ...
...

#End Region

When loading a file that contains outlining nodes that were declared using #Region ... #End Region, these nodes will be collapsed by default.

Bookmarks

You can add bookmarks in the code that later can be jumped to for easier navigation.
Adding bookmarks is done by right clicking on the text editor or by using the toolbar buttons.

Block Comment / Uncomment

Using the two related buttons on the toolbar you can comment / uncomment any number of lines by selecting the lines and pressing the toolbar button.

Retab / Untab

The desktop Retab option (under Edit menu) changes each single space at the beginning of each line to a tab.
The device Untab changes each tab at the beginning of each line to a single space.
These two methods makes sharing code between a device and a desktop more convenient.

Windows Splitting

Sometimes it is necessary to work on two different parts of the code simultaneously.
This can be done by pulling down the small button at the text editor upper-right corner.
This action will open another window with the same code.

Sub Navigation

You could jump to any sub by pressing on the sub name in the subs tree (on the right pane).
This action could also be done by right clicking (or pressing Shift + F2) on the sub name in the text editor.