---
title: "IntelliSense"
canonical: "https://docs.cuesystem.com/space/CVCHELP/509116417/IntelliSense"
format: markdown
---
> Macro (toc)

---

IntelliSense offers functions that facilitate access to parts of the language. IntelliSense helps insert language elements directly into your code. It even completes your typing for you. It completes the rest of the names (e.g. variable, command, ...) once you have entered them. 

# Complete structured identifier 

A structured identifier can be inserted into the source code. It is Structure's, Class's, Channel's or Connector's item (e.g. S1.ClearReceiveBuffer). Press a **full stop** name separator to show a list of items. Select the item and press **Enter** to insert it into the source code. 

#### Example: How to insert the S1 channel's command Send 

Write the channel name S1 and a full stop. A list command is shown. Select the command Send by arrows and press **Enter**. 

![image](media://8bc4475f-9f9a-47c3-8cca-1b669590d104)

The command DebugPrintFormat is inserted into the source code 

![image](media://08fc92b8-8fb2-4d0f-83eb-7af5e2686066)

# Complete word 

A command or a control construction can be inserted into the source code. Press **CTRL+space** to show a list of commands. Select the command and press **Enter** to insert it into the source code. 

#### Example: How to insert the command DebugPrintFormat into the source code 

Write a beginning part of the command "De" and then press **CTRL+space**. Or you can press **CTRL+space** at first and write "De". The command names beginning with "De" are shown. 

![image](media://36ab6dfa-e9e7-48c8-b41b-2d220722132c)

Select the command DebugPrintFormat by arrows and press **Enter**. 

![image](media://71b483dd-e363-472f-8e86-5c02cc434bd3)

The command DebugPrintFormat is inserted into the source code. 

![image](media://75d92865-0991-4415-9324-529f155ac5e6)

# Complete construction 

An end part of the control construction (e.g. End Function) can be inserted into the source code. Write a beginning part of the control construction (e.g. Function TesData) and then press **CTRL+Enter**. The end part is inserted into the source code. 

#### IntelliSense completes followed constructions: 

|  |  |
| --- | --- |
| Begin part | After pressing CTRL+Enter |
| Class Name | Class Name<br>End Class |
| GraphicClass Name | GraphicClass Name<br>End GraphicClass |
| DeviceClass Name | DeviceClass Name<br>End DeviceClass |
| Structure Name | Structure Name<br>End Structure |
| Function Name | Function Name()<br>End Function |
| Function Name(a As Long) | Function Name(a As Long)<br>End Function |
| Function Name(a As Long) As Long | Function Name(a As Long) As Long<br>End Function |
| Process Name | Process Name()<br>End Process |
| Process Name(a As Long) | Process Name(a As Long)<br>End Process |
| If a > 10 | If a > 10 Then<br>End If |
| Select | Select<br>Case<br>End Select |
| Do | Do While<br>End Do |
| For i := 1 To 10 | For i := 1 To 10<br>End For |

#### Example complete "If" construction – before pressing CTRL+Enter 

![image](media://bfc405f6-1077-43a7-a29f-48f179c36080)

#### After pressing 

![image](media://f0f27388-cc61-4142-85a1-2e7a7dcb4c79)

#### Example complete function – before pressing CTRL+Enter 

![image](media://3c8eeb5f-6049-487d-a5ef-4cb03e654dfd)

#### After pressing – parentheses are added as well 

![image](media://fc95e7c1-c68b-4051-a3f2-e91dfc257f9e)

#### Example complete function with parameter – before pressing CTRL+Enter 

![image](media://edab5926-cd31-4195-9e3d-1f1ca0a1fa31)

#### After pressing – no parentheses are added 

![image](media://11587894-6c9f-4ef4-ba43-169c97d0d716)