mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
Merge branch 'main' of https://github.com/QwenLM/qwen-code into feat/support-lsp
This commit is contained in:
commit
45e947dcbc
300 changed files with 19663 additions and 10280 deletions
|
|
@ -74,9 +74,6 @@ Settings are organized into categories. All settings should be placed within the
|
|||
| `ui.customThemes` | object | Custom theme definitions. | `{}` |
|
||||
| `ui.hideWindowTitle` | boolean | Hide the window title bar. | `false` |
|
||||
| `ui.hideTips` | boolean | Hide helpful tips in the UI. | `false` |
|
||||
| `ui.hideBanner` | boolean | Hide the application banner. | `false` |
|
||||
| `ui.hideFooter` | boolean | Hide the footer from the UI. | `false` |
|
||||
| `ui.showMemoryUsage` | boolean | Display memory usage information in the UI. | `false` |
|
||||
| `ui.showLineNumbers` | boolean | Show line numbers in code blocks in the CLI output. | `true` |
|
||||
| `ui.showCitations` | boolean | Show citations for generated text in the chat. | `true` |
|
||||
| `enableWelcomeBack` | boolean | Show welcome back dialog when returning to a project with conversation history. When enabled, Qwen Code will automatically detect if you're returning to a project with a previously generated project summary (`.qwen/PROJECT_SUMMARY.md`) and show a dialog allowing you to continue your previous conversation or start fresh. This feature integrates with the `/summary` command and quit confirmation dialog. | `true` |
|
||||
|
|
@ -273,7 +270,6 @@ If you are experiencing performance issues with file searching (e.g., with `@` c
|
|||
| `tools.enableToolOutputTruncation` | boolean | Enable truncation of large tool outputs. | `true` | Requires restart: Yes |
|
||||
| `tools.truncateToolOutputThreshold` | number | Truncate tool output if it is larger than this many characters. Applies to Shell, Grep, Glob, ReadFile and ReadManyFiles tools. | `25000` | Requires restart: Yes |
|
||||
| `tools.truncateToolOutputLines` | number | Maximum lines or entries kept when truncating tool output. Applies to Shell, Grep, Glob, ReadFile and ReadManyFiles tools. | `1000` | Requires restart: Yes |
|
||||
| `tools.autoAccept` | boolean | Controls whether the CLI automatically accepts and executes tool calls that are considered safe (e.g., read-only operations) without explicit user confirmation. If set to `true`, the CLI will bypass the confirmation prompt for tools deemed safe. | `false` | |
|
||||
|
||||
#### mcp
|
||||
|
||||
|
|
@ -294,14 +290,14 @@ If you are experiencing performance issues with file searching (e.g., with `@` c
|
|||
|
||||
Language Server Protocol (LSP) settings for code intelligence features like go-to-definition, find references, and diagnostics. See the [LSP documentation](../features/lsp) for more details.
|
||||
|
||||
| Setting | Type | Description | Default |
|
||||
| ------------------ | ---------------- | ---------------------------------------------------------------------------------------------------- | ----------- |
|
||||
| `lsp.enabled` | boolean | Enable/disable LSP support. Has no effect unless `--experimental-lsp` is provided. | `false` |
|
||||
| `lsp.autoDetect` | boolean | Automatically detect and start language servers based on project files. | `true` |
|
||||
| `lsp.serverTimeout`| number | LSP server startup timeout in milliseconds. | `10000` |
|
||||
| `lsp.allowed` | array of strings | An allowlist of LSP servers to allow. Empty means allow all detected servers. | `[]` |
|
||||
| `lsp.excluded` | array of strings | A denylist of LSP servers to exclude. A server listed in both is excluded. | `[]` |
|
||||
| `lsp.languageServers` | object | Custom language server configurations. See the [LSP documentation](../features/lsp#custom-language-servers) for configuration format. | `{}` |
|
||||
| Setting | Type | Description | Default |
|
||||
| --------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
||||
| `lsp.enabled` | boolean | Enable/disable LSP support. Has no effect unless `--experimental-lsp` is provided. | `false` |
|
||||
| `lsp.autoDetect` | boolean | Automatically detect and start language servers based on project files. | `true` |
|
||||
| `lsp.serverTimeout` | number | LSP server startup timeout in milliseconds. | `10000` |
|
||||
| `lsp.allowed` | array of strings | An allowlist of LSP servers to allow. Empty means allow all detected servers. | `[]` |
|
||||
| `lsp.excluded` | array of strings | A denylist of LSP servers to exclude. A server listed in both is excluded. | `[]` |
|
||||
| `lsp.languageServers` | object | Custom language server configurations. See the [LSP documentation](../features/lsp#custom-language-servers) for configuration format. | `{}` |
|
||||
|
||||
> [!note]
|
||||
>
|
||||
|
|
@ -381,7 +377,6 @@ Here is an example of a `settings.json` file with the nested structure, new as o
|
|||
},
|
||||
"ui": {
|
||||
"theme": "GitHub",
|
||||
"hideBanner": true,
|
||||
"hideTips": false,
|
||||
"customWittyPhrases": [
|
||||
"You forget a thousand things every day. Make sure this is one of 'em",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue