OverviewAgentforce Vibes Autocomplete is an AI-powered inline autocomplete feature that suggests code as you write it in Visual Studio Code. The feature is built on premium third-party models. Inline autocomplete works in Apex, JavaScript, HTML, and CSS files (including Lightning Web Component files). It is enabled by default for any developer with access to a Salesforce org. Go to the Agentforce Vibes Extension Setup Documentation to learn more about the full extension pack. PrerequisitesBefore you use inline autocomplete, make sure your development environment meets these requirements.
Required EditionsAvailable in: Developer, Enterprise, Partner Developer, Performance, and Unlimited Editions. Inoperable in: Group, Professional, and Essentials Editions. Not Available in: EU Operating Zone and Government Cloud. Agentforce Vibes is supported in orgs in the EU that are not part of EU Operating Zone, per standard product terms and conditions. Use Inline AutocompleteAs you type in a supported file, Agentforce Vibes autocomplete automatically generates suggestions and displays them as grayed (ghost) text. For example, after you assign a value to an Keyboard Shortcuts
You can always trigger suggestions manually with Option (⌥)\, even when Auto Completions are off. Enable or Disable Inline AutocompleteInline autocomplete is enabled by default. The Agentforce Vibes status icon in the VS Code status bar (bottom panel) shows whether the feature is active. Click the status icon to open the command palette for quick access to enable and disable commands. To toggle inline autocomplete from the command palette:
To enable or disable inline autocomplete from Settings:
Note: Agentforce Vibes turns off inline autocomplete when you're idle. The sleeping Agentforce status icon in the status bar indicates this state. To re-enable, restart VS Code or press Option (⌥)\ to trigger suggestions manually. Inline autocomplete also re-enables automatically after 1 hour of inactivity. Settings ReferenceThe following VS Code settings control inline autocomplete behavior. Access them via File > Preferences > Settings and search for Agentforce Vibes Autocomplete.
Privacy and TelemetryWhen inline autocomplete is active, code context from your active file is sent to the Salesforce LLM Gateway to generate suggestions. This context includes the code surrounding your cursor position. Salesforce does not use this data to train its models. Telemetry is required to use Agentforce Vibes in Code Builder. In VS Code, telemetry can be disabled after initial setup if your organization's policy permits. See Salesforce CLI data collection and metrics for details about what data is collected and how it is used. Known Issues
|