Skip to content

Commit 4df59b7

Browse files
authored
Merge pull request #8921 from microsoft/copilot/fix-0faf0fec-eadd-4f65-afaf-1633106f7885
Fix inlayHints.callArgumentNames documentation: update from boolean to enum
2 parents 4b14c34 + 9102d65 commit 4df59b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/python/settings-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The language server settings apply when `python.languageServer` is `Pylance` or
9999
| includeAliasesFromUserFiles | false | Whether to include alias symbols from user files in auto-import suggestions and in the add import Quick Fix. When disabled, Pylance will offer the import suggestion from where the symbol is defined. When enabled, it'll also offer import suggestions from files where the symbol is imported (i.e. aliased). Available values are `true` and `false`. |
100100
| ignore | [] | Paths of directories or files whose diagnostic output (errors and warnings) should be suppressed, even if they are an included file or within the transitive closure of an included file. <br> Paths may contain wildcard characters such as `**` (a directory or multiple levels of directories), `*` (a sequence of zero or more characters), or `?` (a single character). <br> If no value is provided, the value of `python.linting.ignorePatterns` (if set) will be used. |
101101
| indexing | true | Used to specify whether Pylance should index user files as well as installed third party libraries at start up, to provide a more complete set of symbols in features such as auto imports, Quick Fixes, auto completions, etc. <br> Accepted values are `true` or `false`. <br> When set to `true`, by default Pylance indexes top-level symbols of installed packages (i.e., symbols in `__all__` under `package/__init__.py`), as well as all symbols from up to 2000 user files. <br> When set to `false`, Pylance will only display symbols already referenced or used in files that were previously opened in or loaded by the editor. |
102-
| inlayHints.callArgumentNames | false | Whether to display inlay hints for call argument names. Accepted values are `true` or `false`. |
102+
| inlayHints.callArgumentNames | off | Controls the display of inlay hints for call argument names. <br> Available values are `off`, `partial`, and `all`. <br> When set to `off`, no inlay hints are shown. When set to `partial`, hints are disabled for positional-only and keyword-only parameters. When set to `all`, hints are shown for all parameters. |
103103
| inlayHints.functionReturnTypes | false | Whether to display inlay hints for function return types. Accepted values are `true` or `false`. |
104104
| inlayHints.pytestParameters | false | Whether to display inlay hints for pytest fixture argument types. Accepted values are `true` or `false`. |
105105
| inlayHints.variableTypes | false | Whether to display inlay hints for variable types. Accepted values are `true` or `false`. |

0 commit comments

Comments
 (0)