Use consistent comment style in default.json
(#25783)
This PR updates the comments in the `default.json` file consistently use `//`. Some comments were using `///`, which doesn't make sense in JSONC. Release Notes: - N/A
This commit is contained in:
parent
b8387c6077
commit
6f30d5da71
1 changed files with 91 additions and 91 deletions
|
@ -176,8 +176,8 @@
|
||||||
"show_completion_documentation": true,
|
"show_completion_documentation": true,
|
||||||
// Show method signatures in the editor, when inside parentheses.
|
// Show method signatures in the editor, when inside parentheses.
|
||||||
"auto_signature_help": false,
|
"auto_signature_help": false,
|
||||||
/// Whether to show the signature help after completion or a bracket pair inserted.
|
// Whether to show the signature help after completion or a bracket pair inserted.
|
||||||
/// If `auto_signature_help` is enabled, this setting will be treated as enabled also.
|
// If `auto_signature_help` is enabled, this setting will be treated as enabled also.
|
||||||
"show_signature_help_after_edits": false,
|
"show_signature_help_after_edits": false,
|
||||||
// Whether to show wrap guides (vertical rulers) in the editor.
|
// Whether to show wrap guides (vertical rulers) in the editor.
|
||||||
// Setting this to true will show a guide at the 'preferred_line_length' value
|
// Setting this to true will show a guide at the 'preferred_line_length' value
|
||||||
|
@ -298,11 +298,11 @@
|
||||||
// - "information": show only errors, warnings, and information
|
// - "information": show only errors, warnings, and information
|
||||||
// - "all" or true: show all diagnostics
|
// - "all" or true: show all diagnostics
|
||||||
"diagnostics": "all",
|
"diagnostics": "all",
|
||||||
/// Forcefully enable or disable the scrollbar for each axis
|
// Forcefully enable or disable the scrollbar for each axis
|
||||||
"axes": {
|
"axes": {
|
||||||
/// When false, forcefully disables the horizontal scrollbar. Otherwise, obey other settings.
|
// When false, forcefully disables the horizontal scrollbar. Otherwise, obey other settings.
|
||||||
"horizontal": true,
|
"horizontal": true,
|
||||||
/// When false, forcefully disables the vertical scrollbar. Otherwise, obey other settings.
|
// When false, forcefully disables the vertical scrollbar. Otherwise, obey other settings.
|
||||||
"vertical": true
|
"vertical": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -328,24 +328,24 @@
|
||||||
"folds": true
|
"folds": true
|
||||||
},
|
},
|
||||||
"indent_guides": {
|
"indent_guides": {
|
||||||
/// Whether to show indent guides in the editor.
|
// Whether to show indent guides in the editor.
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
/// The width of the indent guides in pixels, between 1 and 10.
|
// The width of the indent guides in pixels, between 1 and 10.
|
||||||
"line_width": 1,
|
"line_width": 1,
|
||||||
/// The width of the active indent guide in pixels, between 1 and 10.
|
// The width of the active indent guide in pixels, between 1 and 10.
|
||||||
"active_line_width": 1,
|
"active_line_width": 1,
|
||||||
/// Determines how indent guides are colored.
|
// Determines how indent guides are colored.
|
||||||
/// This setting can take the following three values:
|
// This setting can take the following three values:
|
||||||
///
|
///
|
||||||
/// 1. "disabled"
|
// 1. "disabled"
|
||||||
/// 2. "fixed"
|
// 2. "fixed"
|
||||||
/// 3. "indent_aware"
|
// 3. "indent_aware"
|
||||||
"coloring": "fixed",
|
"coloring": "fixed",
|
||||||
/// Determines how indent guide backgrounds are colored.
|
// Determines how indent guide backgrounds are colored.
|
||||||
/// This setting can take the following two values:
|
// This setting can take the following two values:
|
||||||
///
|
///
|
||||||
/// 1. "disabled"
|
// 1. "disabled"
|
||||||
/// 2. "indent_aware"
|
// 2. "indent_aware"
|
||||||
"background_coloring": "disabled"
|
"background_coloring": "disabled"
|
||||||
},
|
},
|
||||||
// Whether the editor will scroll beyond the last line.
|
// Whether the editor will scroll beyond the last line.
|
||||||
|
@ -424,32 +424,32 @@
|
||||||
// Whether to fold directories automatically and show compact folders
|
// Whether to fold directories automatically and show compact folders
|
||||||
// (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
|
// (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
|
||||||
"auto_fold_dirs": true,
|
"auto_fold_dirs": true,
|
||||||
/// Scrollbar-related settings
|
// Scrollbar-related settings
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
/// When to show the scrollbar in the project panel.
|
// When to show the scrollbar in the project panel.
|
||||||
/// This setting can take five values:
|
// This setting can take five values:
|
||||||
///
|
///
|
||||||
/// 1. null (default): Inherit editor settings
|
// 1. null (default): Inherit editor settings
|
||||||
/// 2. Show the scrollbar if there's important information or
|
// 2. Show the scrollbar if there's important information or
|
||||||
/// follow the system's configured behavior (default):
|
// follow the system's configured behavior (default):
|
||||||
/// "auto"
|
// "auto"
|
||||||
/// 3. Match the system's configured behavior:
|
// 3. Match the system's configured behavior:
|
||||||
/// "system"
|
// "system"
|
||||||
/// 4. Always show the scrollbar:
|
// 4. Always show the scrollbar:
|
||||||
/// "always"
|
// "always"
|
||||||
/// 5. Never show the scrollbar:
|
// 5. Never show the scrollbar:
|
||||||
/// "never"
|
// "never"
|
||||||
"show": null
|
"show": null
|
||||||
},
|
},
|
||||||
/// Which files containing diagnostic errors/warnings to mark in the project panel.
|
// Which files containing diagnostic errors/warnings to mark in the project panel.
|
||||||
/// This setting can take the following three values:
|
// This setting can take the following three values:
|
||||||
///
|
///
|
||||||
/// 1. Do not mark any files:
|
// 1. Do not mark any files:
|
||||||
/// "off"
|
// "off"
|
||||||
/// 2. Only mark files with errors:
|
// 2. Only mark files with errors:
|
||||||
/// "errors"
|
// "errors"
|
||||||
/// 3. Mark files with errors and warnings:
|
// 3. Mark files with errors and warnings:
|
||||||
/// "all"
|
// "all"
|
||||||
"show_diagnostics": "all",
|
"show_diagnostics": "all",
|
||||||
// Settings related to indent guides in the project panel.
|
// Settings related to indent guides in the project panel.
|
||||||
"indent_guides": {
|
"indent_guides": {
|
||||||
|
@ -482,8 +482,8 @@
|
||||||
// when a corresponding outline entry becomes active.
|
// when a corresponding outline entry becomes active.
|
||||||
// Gitignored entries are never auto revealed.
|
// Gitignored entries are never auto revealed.
|
||||||
"auto_reveal_entries": true,
|
"auto_reveal_entries": true,
|
||||||
/// Whether to fold directories automatically
|
// Whether to fold directories automatically
|
||||||
/// when a directory has only one directory inside.
|
// when a directory has only one directory inside.
|
||||||
"auto_fold_dirs": true,
|
"auto_fold_dirs": true,
|
||||||
// Settings related to indent guides in the outline panel.
|
// Settings related to indent guides in the outline panel.
|
||||||
"indent_guides": {
|
"indent_guides": {
|
||||||
|
@ -496,21 +496,21 @@
|
||||||
// "never"
|
// "never"
|
||||||
"show": "always"
|
"show": "always"
|
||||||
},
|
},
|
||||||
/// Scrollbar-related settings
|
// Scrollbar-related settings
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
/// When to show the scrollbar in the project panel.
|
// When to show the scrollbar in the project panel.
|
||||||
/// This setting can take five values:
|
// This setting can take five values:
|
||||||
///
|
///
|
||||||
/// 1. null (default): Inherit editor settings
|
// 1. null (default): Inherit editor settings
|
||||||
/// 2. Show the scrollbar if there's important information or
|
// 2. Show the scrollbar if there's important information or
|
||||||
/// follow the system's configured behavior (default):
|
// follow the system's configured behavior (default):
|
||||||
/// "auto"
|
// "auto"
|
||||||
/// 3. Match the system's configured behavior:
|
// 3. Match the system's configured behavior:
|
||||||
/// "system"
|
// "system"
|
||||||
/// 4. Always show the scrollbar:
|
// 4. Always show the scrollbar:
|
||||||
/// "always"
|
// "always"
|
||||||
/// 5. Never show the scrollbar:
|
// 5. Never show the scrollbar:
|
||||||
/// "never"
|
// "never"
|
||||||
"show": null
|
"show": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -628,7 +628,7 @@
|
||||||
"show": true,
|
"show": true,
|
||||||
// Whether or not to show the navigation history buttons.
|
// Whether or not to show the navigation history buttons.
|
||||||
"show_nav_history_buttons": true,
|
"show_nav_history_buttons": true,
|
||||||
/// Whether or not to show the tab bar buttons.
|
// Whether or not to show the tab bar buttons.
|
||||||
"show_tab_bar_buttons": true
|
"show_tab_bar_buttons": true
|
||||||
},
|
},
|
||||||
// Settings related to the editor's tabs
|
// Settings related to the editor's tabs
|
||||||
|
@ -650,16 +650,16 @@
|
||||||
// 3. Activate the left neighbour tab if present
|
// 3. Activate the left neighbour tab if present
|
||||||
// "left_neighbour"
|
// "left_neighbour"
|
||||||
"activate_on_close": "history",
|
"activate_on_close": "history",
|
||||||
/// Which files containing diagnostic errors/warnings to mark in the tabs.
|
// Which files containing diagnostic errors/warnings to mark in the tabs.
|
||||||
/// Diagnostics are only shown when file icons are also active.
|
// Diagnostics are only shown when file icons are also active.
|
||||||
/// This setting only works when can take the following three values:
|
// This setting only works when can take the following three values:
|
||||||
///
|
///
|
||||||
/// 1. Do not mark any files:
|
// 1. Do not mark any files:
|
||||||
/// "off"
|
// "off"
|
||||||
/// 2. Only mark files with errors:
|
// 2. Only mark files with errors:
|
||||||
/// "errors"
|
// "errors"
|
||||||
/// 3. Mark files with errors and warnings:
|
// 3. Mark files with errors and warnings:
|
||||||
/// "all"
|
// "all"
|
||||||
"show_diagnostics": "off"
|
"show_diagnostics": "off"
|
||||||
},
|
},
|
||||||
// Settings related to preview tabs.
|
// Settings related to preview tabs.
|
||||||
|
@ -985,21 +985,21 @@
|
||||||
// Example: `echo -e "\e]2;New Title\007";`
|
// Example: `echo -e "\e]2;New Title\007";`
|
||||||
"breadcrumbs": true
|
"breadcrumbs": true
|
||||||
},
|
},
|
||||||
/// Scrollbar-related settings
|
// Scrollbar-related settings
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
/// When to show the scrollbar in the terminal.
|
// When to show the scrollbar in the terminal.
|
||||||
/// This setting can take five values:
|
// This setting can take five values:
|
||||||
///
|
///
|
||||||
/// 1. null (default): Inherit editor settings
|
// 1. null (default): Inherit editor settings
|
||||||
/// 2. Show the scrollbar if there's important information or
|
// 2. Show the scrollbar if there's important information or
|
||||||
/// follow the system's configured behavior (default):
|
// follow the system's configured behavior (default):
|
||||||
/// "auto"
|
// "auto"
|
||||||
/// 3. Match the system's configured behavior:
|
// 3. Match the system's configured behavior:
|
||||||
/// "system"
|
// "system"
|
||||||
/// 4. Always show the scrollbar:
|
// 4. Always show the scrollbar:
|
||||||
/// "always"
|
// "always"
|
||||||
/// 5. Never show the scrollbar:
|
// 5. Never show the scrollbar:
|
||||||
/// "never"
|
// "never"
|
||||||
"show": null
|
"show": null
|
||||||
}
|
}
|
||||||
// Set the terminal's font size. If this option is not included,
|
// Set the terminal's font size. If this option is not included,
|
||||||
|
@ -1018,7 +1018,7 @@
|
||||||
// "max_scroll_history_lines": 10000,
|
// "max_scroll_history_lines": 10000,
|
||||||
},
|
},
|
||||||
"code_actions_on_format": {},
|
"code_actions_on_format": {},
|
||||||
/// Settings related to running tasks.
|
// Settings related to running tasks.
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"variables": {}
|
"variables": {}
|
||||||
},
|
},
|
||||||
|
@ -1039,20 +1039,20 @@
|
||||||
"JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"],
|
"JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"],
|
||||||
"Shell Script": [".env.*"]
|
"Shell Script": [".env.*"]
|
||||||
},
|
},
|
||||||
/// By default use a recent system version of node, or install our own.
|
// By default use a recent system version of node, or install our own.
|
||||||
/// You can override this to use a version of node that is not in $PATH with:
|
// You can override this to use a version of node that is not in $PATH with:
|
||||||
/// {
|
// {
|
||||||
/// "node": {
|
// "node": {
|
||||||
/// "path": "/path/to/node"
|
// "path": "/path/to/node"
|
||||||
/// "npm_path": "/path/to/npm" (defaults to node_path/../npm)
|
// "npm_path": "/path/to/npm" (defaults to node_path/../npm)
|
||||||
/// }
|
// }
|
||||||
/// }
|
// }
|
||||||
/// or to ensure Zed always downloads and installs an isolated version of node:
|
// or to ensure Zed always downloads and installs an isolated version of node:
|
||||||
/// {
|
// {
|
||||||
/// "node": {
|
// "node": {
|
||||||
/// "ignore_system_version": true,
|
// "ignore_system_version": true,
|
||||||
/// }
|
// }
|
||||||
/// NOTE: changing this setting currently requires restarting Zed.
|
// NOTE: changing this setting currently requires restarting Zed.
|
||||||
"node": {},
|
"node": {},
|
||||||
// The extensions that Zed should automatically install on startup.
|
// The extensions that Zed should automatically install on startup.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue