Use the term "edit prediction" over "inline completion" (#24211)

Note that this does *not* involve any breaking code changes.

cc @0xtimsb - I didn't change any settings or anything here. That can
happen separately!

Release Notes:

- N/A
This commit is contained in:
Richard Feldman 2025-02-04 13:33:01 -05:00 committed by GitHub
parent c64b26110c
commit 667396c44b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 56 additions and 56 deletions

View file

@ -375,9 +375,9 @@ There are two options to choose from:
1. `shell_hook`: Use the shell hook to load direnv. This relies on direnv to activate upon entering the directory. Supports POSIX shells and fish.
2. `direct`: Use `direnv export json` to load direnv. This will load direnv directly without relying on the shell hook and might cause some inconsistencies. This allows direnv to work with any shell.
## Inline Completions
## Edit Predictions
- Description: Settings for inline completions.
- Description: Settings for edit predictions.
- Setting: `inline_completions`
- Default:
@ -398,7 +398,7 @@ There are two options to choose from:
### Disabled Globs
- Description: A list of globs representing files that inline completions should be disabled for.
- Description: A list of globs representing files that edit predictions should be disabled for.
- Setting: `disabled_globs`
- Default: `[".env"]`
@ -406,9 +406,9 @@ There are two options to choose from:
List of `string` values
## Inline Completions Disabled in
## Edit Predictions Disabled in
- Description: A list of language scopes in which inline completions should be disabled.
- Description: A list of language scopes in which edit predictions should be disabled.
- Setting: `inline_completions_disabled_in`
- Default: `[]`
@ -416,19 +416,19 @@ List of `string` values
List of `string` values
1. Don't show inline completions in comments:
1. Don't show edit predictions in comments:
```json
"disabled_in": ["comment"]
```
2. Don't show inline completions in strings and comments:
2. Don't show edit predictions in strings and comments:
```json
"disabled_in": ["comment", "string"]
```
3. Only in Go, don't show inline completions in strings and comments:
3. Only in Go, don't show edit predictions in strings and comments:
```json
{
@ -1652,9 +1652,9 @@ Or to set a `socks5` proxy:
`boolean` values
## Show Inline Completions
## Show Edit Predictions
- Description: Whether to show inline completions as you type or manually by triggering `editor::ShowInlineCompletion`.
- Description: Whether to show edit predictions as you type or manually by triggering `editor::ShowInlineCompletion`.
- Setting: `show_inline_completions`
- Default: `true`