mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 03:59:55 +00:00
docs: Link to docs for individual settings from "Configuring Languages" (#17082)
This PR updates the "Configuring Languages" page to link to the docs for individual settings when it mentions them. <img width="770" alt="Screenshot 2024-08-29 at 8 30 35 AM" src="https://github.com/user-attachments/assets/7b593aed-86b7-4b20-a141-6cd51be005d9"> Release Notes: - N/A
This commit is contained in:
parent
cf0a8a7a1a
commit
df883a4803
1 changed files with 8 additions and 8 deletions
|
@ -49,13 +49,13 @@ Here's an example of language-specific settings:
|
|||
|
||||
You can customize a wide range of settings for each language, including:
|
||||
|
||||
- `tab_size`: The number of spaces for each indentation level
|
||||
- `formatter`: The tool used for code formatting
|
||||
- `format_on_save`: Whether to automatically format code when saving
|
||||
- `enable_language_server`: Toggle language server support
|
||||
- `hard_tabs`: Use tabs instead of spaces for indentation
|
||||
- `preferred_line_length`: The recommended maximum line length
|
||||
- `soft_wrap`: How to wrap long lines of code
|
||||
- [`tab_size`](./configuring-zed.md#tab-size): The number of spaces for each indentation level
|
||||
- [`formatter`](./configuring-zed.md#formatter): The tool used for code formatting
|
||||
- [`format_on_save`](./configuring-zed.md#format-on-save): Whether to automatically format code when saving
|
||||
- [`enable_language_server`](./configuring-zed.md#enable-language-server): Toggle language server support
|
||||
- [`hard_tabs`](./configuring-zed.md#hard-tabs): Use tabs instead of spaces for indentation
|
||||
- [`preferred_line_length`](./configuring-zed.md#preferred-line-length): The recommended maximum line length
|
||||
- [`soft_wrap`](./configuring-zed.md#soft-wrap): How to wrap long lines of code
|
||||
|
||||
These settings allow you to maintain specific coding styles across different languages and projects.
|
||||
|
||||
|
@ -63,7 +63,7 @@ These settings allow you to maintain specific coding styles across different lan
|
|||
|
||||
Zed automatically detects file types based on their extensions, but you can customize these associations to fit your workflow.
|
||||
|
||||
To set up custom file associations, use the `file_types` setting in your `settings.json`:
|
||||
To set up custom file associations, use the [`file_types`](./configuring-zed.md#file-types) setting in your `settings.json`:
|
||||
|
||||
```json
|
||||
"file_types": {
|
||||
|
|
Loading…
Reference in a new issue