Getting Started
Requirements
To use UPcode, the following components are required:
- UPstudio running as the UP runtime environment (backend)
- UPcode extension installed in Visual Studio Code
The actifsource extension is automatically installed alongside the UPcode extension, as it is a declared dependency.
1. Install the UPcode Extension in VS Code
Install the UPcode extension from the Visual Studio Code Marketplace:
Extensions panel > search for UPcode > Install
The actifsource extension is installed automatically as a dependency.
2. Configure UPstudio (Remote Access)
UPcode connects to UPstudio via its Remote Access interface. This must be enabled in UPstudio before UPcode can connect.
Open the UPstudio preferences:
Window > Preferences > Actifsource > Environment
Configure the following settings:
| Setting | Value |
|---|---|
| Start Remote Access on startup | enabled |
| Remote Access Port | 8088 |
After saving, restart UPstudio to activate the Remote Access server.
3. Configure the actifsource Extension in VS Code
The actifsource extension needs to know where to find the UPstudio runtime. Open the extension settings via:
Extensions panel > actifsource > gear icon > Extension Settings
Configure the following settings:
| Setting | Description |
|---|---|
| Resource Access: Host | Hostname or IP address of the machine running UPstudio |
| Resource Access: Port | Port configured in UPstudio (default: 8088) |
| Resource Access: Auto Connect | Automatically connect when VS Code starts |