Campos Cloud for VS Code
Manage your Campos Cloud applications, files and databases without leaving the editor: start and stop them, change their settings, edit files and environment variables, follow the live console and deploy a folder with one click.

Features
Application panel
Click an application in the Campos Cloud sidebar to open its panel: status, CPU, memory, uptime and network, the actions (restart, stop, console, variables, upload, download) and a settings form for name, memory, runtime, startup command, automatic restart and web exposure (port and subdomain).
Host a folder on Campos Cloud
Right-click a folder in the Explorer → Host on Campos Cloud. A form opens with name, memory, runtime, main file, team, web exposure and the variables from your .env. If the folder has a camposcloud.config file, the form is already filled in. Runtime and main file are detected from the project otherwise.

Databases
MySQL, PostgreSQL, MongoDB and Redis: create, start, stop, restart, rename, change memory and password, and copy the connection details. Passwords are never shown: a generated password goes straight to the clipboard.

Working with files
Edit files directly on the application. Expand an application in the sidebar and open its Files folder. Folders load as you expand them, so large projects open fast.
- Open a file with a click: it opens in the normal VS Code editor, with syntax highlighting and everything else you are used to.
- Save with
Ctrl+S and the file is sent to Campos Cloud right away. A notification then offers Restart now, since most applications only load the new code after a restart. Nothing restarts by itself.
- Create, rename and delete with the buttons next to a folder or with a right-click: New file, New folder, Rename and Delete file or folder. Deleting asks for confirmation, and the application root can never be deleted.
- Any kind of file: text files are saved directly; images and other binary or large files are sent byte for byte, without changes.
- Protected applications open their files read-only: you can read them, but saving, renaming and deleting are refused.

Upload files from your computer. Right-click files or a folder in the Explorer → Upload files to application, or use Upload files in the application panel:
- Choose the application and the destination folder inside it (empty for the root).
- For a folder, choose whether to upload its contents or the folder itself. For a
.zip, choose whether to extract it on Campos Cloud or upload the .zip as is.
- Review the list of files and confirm. Files with the same name are overwritten, and anything in
camposcloud.exclude (such as node_modules and .git) is skipped.
Download files. Use Download in the application panel and type a file or folder path, or leave it empty to download everything (a full backup). Then extract it into a folder or save it as a .zip. Before extracting, the extension asks if any local file would be overwritten.
Environment variables as a .env file. Variables (.env) opens the variables in the editor, one NAME=value per line. Saving applies them: invalid lines are reported with their line number, nothing is sent if nothing changed, and removing variables asks for confirmation first.

Everything else
- Live console in a read-only VS Code terminal, opened with the Console button: the most recent lines, then new ones as they arrive. It reconnects by itself.
- Teams and account: members, invites, permissions, plan and memory usage.
- Status bar: shows whether you are connected. When not connected, click Campos Cloud: Connect account.
- English and Portuguese: follows the VS Code language automatically (or the
camposcloud.language setting).
Getting started
- Open the Campos Cloud icon in the activity bar.
- Get your developer token: go to camposcloud.com/dashboard/profile?page=developer and click Generate new API key. Copy the key: it is shown only once.
- Click Paste API token and paste the key.
- Click an application to open its panel.
There is also a step-by-step guide in Help → Welcome → Get started with Campos Cloud.
The token is stored in your operating system keychain, never in settings or project files. To sign out, run Campos Cloud: Remove API token.
Safety
- Deleting an application or database asks for confirmation and then for its exact name.
- Stop and restart ask for confirmation (can be turned off).
- Protect important applications and databases: the extension then refuses to delete, stop, restart, change or upload to them until you remove the protection. Files of protected applications open read-only.
- Saving a file never restarts the application by itself: restarts only happen when you click Restart now.
- Panels never receive your token, environment variable values or database passwords.
Settings
| Setting |
Default |
Description |
camposcloud.language |
auto |
Language of the messages: auto (follows VS Code), en or pt-br. |
camposcloud.autoRefreshSeconds |
30 |
How often the lists refresh while visible (0 turns it off). |
camposcloud.exclude |
node_modules, .git, __pycache__, .venv, venv, .DS_Store |
What to skip when zipping a folder for upload. |
camposcloud.confirmPowerActions |
true |
Ask before stopping or restarting. |
camposcloud.protectedApplications |
[] |
IDs of protected applications and databases. |
camposcloud.logTailLines |
100 |
Recent console lines shown when the live console opens (0 to 500). |
Notes
- Uploads are always zipped: Campos Cloud extracts the
.zip into the destination folder.
- Environment variables cannot have empty values (the API does not accept them).
- API limits: 180 requests per minute; creating, updating and uploading accept 1 request every 3 seconds. The extension waits and retries by itself when a limit is reached.