Skip to content

Using AutoComplete

Kaamil Jasani edited this page Aug 4, 2017 · 1 revision

Using AutoComplete is very simple. On a new line type in a shortcut, then press tab!

Default Shortcuts

These are the shortcuts available by default. These can be changed. See AutoComplete file format

| represents the cursor.

For loop

Type in for name_of_counter and press tab. This will result in the following code:

for(int name_of_counter = 0; name_of_counter < |; name_of_counter++){
  
}

For loop (i)

Type in fori and press tab. This will result in the following code:

for(int i = 0; i < |; i++){
    
}

Void method

Type in name_of_method and press tab. This will result in the following code:

void name_of_method(){
    |
}
Clone this wiki locally