The Core extension forms the foundation of the WvdS FPC RAD Studio suite. It provides central services used by all other extensions.
The Core extension is mandatory for all other WvdS extensions. It provides:
| Command | Keyboard Shortcut | Description |
|---|---|---|
WVDS: Toolchain Configuration… | - | Opens the toolchain configuration dialog |
WVDS: Show Log | - | Shows the WvdS Output Channel |
WVDS: Clear Log | - | Clears the log content |
WVDS: Show Version Info | - | Shows version information for all components |
WVDS: Hello | - | Test command to verify installation |
The dialog shows all supported tools in a clear table:
| Column | Meaning |
|---|---|
| Tool | Name of the tool |
| Status | Green = Found, Red = Not found, Yellow = Version outdated |
| Path | Current path to the executable |
| Version | Detected version |
| Actions | Buttons: Browse, Auto-Detect, Clear |
Auto-detection searches typical installation paths:
Windows:
%LAZARUS%\fpc\*%PROGRAMFILES%\Free Pascal\*%LOCALAPPDATA%\Programs\FPC\*Linux:
/usr/lib/fpc/*/usr/local/lib/fpc/*~/.fpc/*macOS:
/usr/local/lib/fpc/*/opt/homebrew/lib/fpc/*| Tool | File | Usage |
|---|---|---|
| Free Pascal Compiler | fpc / fpc.exe | Native Pascal compilation |
| pas2js | pas2js / pas2js.exe | Pascal-to-JavaScript transpilation |
| lazbuild | lazbuild / lazbuild.exe | Compile Lazarus projects without IDE |
| Inno Setup | ISCC.exe | Create Windows installers |
| GNU make | make / make.exe | Execute Makefiles |
All settings begin with wvds.toolchain. or wvds.core.:
{
// Compiler paths
"wvds.toolchain.fpcPath": "",
"wvds.toolchain.pas2jsPath": "",
"wvds.toolchain.lazbuildPath": "",
"wvds.toolchain.innoSetupPath": "",
"wvds.toolchain.makePath": "",
// WSL configuration (Windows only)
"wvds.toolchain.wslEnabled": false,
"wvds.toolchain.wslDistribution": ""
}
{
// Log level: debug, info, warn, error
"wvds.core.logLevel": "info"
}
| Log Level | Description |
|---|---|
| debug | All messages, including debug information |
| info | Information, warnings, errors |
| warn | Warnings and errors only |
| error | Errors only |
The Core extension provides a central logging service.
All WvdS extensions write to the shared Output Channel „WvdS“.
To open:
View → OutputWVDS: Show Log[2024-01-15 14:30:22] [INFO] Toolchain: FPC detected at %LAZARUS%\fpc\3.2.2\bin\i386-win32\fpc.exe [2024-01-15 14:30:22] [INFO] Toolchain: Version 3.2.2 [2024-01-15 14:30:23] [WARN] Toolchain: pas2js not found in PATH
On Windows, WSL integration enables cross-compilation for Linux.
sudo apt update sudo apt install fpc
{
"wvds.toolchain.wslEnabled": true,
"wvds.toolchain.wslDistribution": "Ubuntu-22.04"
}
With WSL enabled, you can:
Other extensions can use Core services. See Core API Reference for details.
Symptom: „WVDS: Hello“ shows no output.
Solution:
Help → Toggle Developer Tools)Symptom: The command shows no response.
Solution:
Symptom: All tools remain marked red.
Solution:
| Property | Value |
|---|---|
| Extension ID | wvds.wvds-vscode-core |
| Activation | onStartupFinished |
| Dependencies | None |
| Min. VS Code | 1.85.0 |