diff --git a/docs/_articles/en/einstein/einstein-inline.md b/docs/_articles/en/einstein/einstein-inline.md index 28786ba745..2c71fd5104 100644 --- a/docs/_articles/en/einstein/einstein-inline.md +++ b/docs/_articles/en/einstein/einstein-inline.md @@ -15,9 +15,19 @@ Inline autocomplete is enabled by default. Click the Einstein icon in the status To enable or disable the Inline Autocomplete feature from Settings: -1. Select **File** > **Preferences** > **Settings** (Windows or Linux) or **Code** > **Preferences** > **Settings** (macOS). +1. Select **File** > **Preferences** > **Settings** (Windows or Linux) or **Code** > **Settings** > **Settings** (macOS). 2. Under **Einstein for Developers**, select **Enable Einstein Auto Completions** then select the language for which to enable the feature. +## Select Inline Completion Length + +To select the length of generated inline autocompletions: + +1. Select **File** > **Preferences** > **Settings** (Windows or Linux) or **Code** > **Settings** > **Settings** (macOS). +2. Under **Einstein for Developers**, go to **Autocompletion Length** and select **Short** or **Long** from the dropdown. + +Note that longer completions can span multiple lines. Short completions typically span only a single line. + + ## Receive your First Inline Completions Einstein for Developers automatically generates code and suggests completions for you as you type. When writing code, you're often doing things like assigning variable values to an `SObject` such as `Account.name = abc`, or `Account.type = Business` in Apex. Pause the cursor after the variable value and watch Einstein for Developers complete your code for you and fill out the remaining fields. The Einstein icon in the status bar keeps you updated about completion progress.