schema
stringclasses 471
values | key
stringlengths 0
203
| description
stringlengths 0
4.37k
| object
stringlengths 2
322k
|
---|---|---|---|
livelyPropertiesSchema.json
|
text
|
The slider title.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
max
|
The maximum slider value.
|
{"type": "number"}
|
livelyPropertiesSchema.json
|
min
|
The minimum slider value.
|
{"type": "number"}
|
livelyPropertiesSchema.json
|
step
|
The precision used when selecting a value with the slider.
|
{"type": "number"}
|
livelyPropertiesSchema.json
|
additionalProperties
|
https://github.com/rocksdanister/lively/wiki/Web-Guide-IV-:-Interaction#textbox
|
{"type": "object", "properties": {"type": {"const": "textbox"}, "value": {"type": "string"}, "text": {"type": "string"}}, "required": ["text"], "additionalProperties": false}
|
livelyPropertiesSchema.json
|
value
|
The default text box text.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
text
|
The text box title.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
additionalProperties
|
https://github.com/rocksdanister/lively/wiki/Web-Guide-IV-:-Interaction#dropdown
|
{"type": "object", "properties": {"type": {"const": "dropdown"}, "value": {"type": "integer"}, "text": {"type": "string"}, "items": {"type": "array"}}, "required": ["text", "items"], "additionalProperties": false}
|
livelyPropertiesSchema.json
|
value
|
The default item index, starting at 0.
|
{"type": "integer"}
|
livelyPropertiesSchema.json
|
text
|
The dropdown title.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
items
|
An array of labels for the dropdown.
|
{"type": "array"}
|
livelyPropertiesSchema.json
|
additionalProperties
|
https://github.com/rocksdanister/lively/wiki/Web-Guide-IV-:-Interaction#folder-dropdown
|
{"type": "object", "properties": {"type": {"const": "folderDropdown"}, "value": {"type": "string"}, "text": {"type": "string"}, "filter": {"type": "string"}, "folder": {"type": "string"}}, "required": ["text", "filter", "folder"], "additionalProperties": false}
|
livelyPropertiesSchema.json
|
value
|
The default file.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
text
|
The dropdown title.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
filter
|
Defines a filter of files to include (e.g. "*.jpg|*.png").
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
folder
|
The default folder. Only works for directory within parent html file.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
additionalProperties
|
https://github.com/rocksdanister/lively/wiki/Web-Guide-IV-:-Interaction#button
|
{"type": "object", "properties": {"type": {"const": "button"}, "value": {"type": "string"}, "text": {"type": "string"}}, "required": ["text"], "additionalProperties": false}
|
livelyPropertiesSchema.json
|
value
|
The button label.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
text
|
The button title.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
additionalProperties
|
https://github.com/rocksdanister/lively/wiki/Web-Guide-IV-:-Interaction#label
|
{"type": "object", "properties": {"type": {"const": "label"}, "value": {"type": "string"}}, "additionalProperties": false}
|
livelyPropertiesSchema.json
|
value
|
The label text.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
additionalProperties
|
https://github.com/rocksdanister/lively/wiki/Web-Guide-IV-:-Interaction#color-picker
|
{"type": "object", "properties": {"type": {"const": "color"}, "value": {"type": "string"}, "text": {"type": "string"}}, "required": ["text"], "additionalProperties": false}
|
livelyPropertiesSchema.json
|
value
|
The default hex color string (e.g. "#C0C0C0").
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
text
|
The color picker title.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
additionalProperties
|
https://github.com/rocksdanister/lively/wiki/Web-Guide-IV-:-Interaction#checkbox
|
{"type": "object", "properties": {"type": {"const": "checkbox"}, "text": {"type": "string"}, "value": {"type": "boolean"}}, "required": ["text"], "additionalProperties": false}
|
livelyPropertiesSchema.json
|
text
|
The check box title.
|
{"type": "string"}
|
livelyPropertiesSchema.json
|
value
|
The default check box state.
|
{"type": "boolean"}
|
pattern.json
|
id
|
Unique id of this pattern
|
{"type": "string", "minLength": 1}
|
pattern.json
|
name
|
Machine readable name of the pattern
|
{"type": "string", "minLength": 1, "pattern": "^[a-z]+(?:-[a-z]+)*$"}
|
pattern.json
|
displayName
|
Human readable name of the pattern
|
{"type": "string", "minLength": 1}
|
pattern.json
|
version
|
Semantic version of the pattern
|
{"type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(-[a-z]*){0,1}$"}
|
pattern.json
|
versions
|
Available semantic versions of the pattern
|
{"type": "array", "minItems": 1, "items": {"type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(-[a-z]*){0,1}$"}}
|
pattern.json
|
items
|
Semantic version of the pattern
|
{"type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(-[a-z]*){0,1}$"}
|
pattern.json
|
flag
|
Stability flag of the pattern
|
{"type": "string", "pattern": "^alpha|beta|rc|stable$"}
|
pattern.json
|
tags
|
Array of tags describing the pattern
|
{"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}, "uniqueItems": true}
|
pattern.json
|
items
|
Tag describing the pattern
|
{"type": "string", "minLength": 1}
|
pattern.json
|
data
|
Custom data object supplied by user
|
{"type": "object", "minProperties": 1}
|
pattern.json
|
meta
|
Custom meta data object supplied by user
|
{"type": "object", "minProperties": 1}
|
pattern.json
|
options
|
Custom options object supplied by user
|
{"type": "object", "minProperties": 1}
|
pattern.json
|
patterns
|
Dependencies of the pattern
|
{"type": "object", "minProperties": 1, "patternProperties": {"^.+$": {"type": "string", "pattern": "^(/)?([^/\u0000]+(/)?)+$"}}}
|
pattern.json
|
demoPatterns
|
Dependencies of the pattern used for demo purposes
|
{"minProperties": 1, "patternProperties": {"^.+$": {"type": "string", "pattern": "^(/)?([^/\u0000]+(/)?)+$"}}}
|
pattern.json
|
overrides
|
Options for overriding of core pattern behaviour
|
{"type": "object", "minProperties": 1, "properties": {"files": {"type": "object", "minProperties": 1, "patternProperties": {"^.+$": {"type": "string", "pattern": "^(/)?([^/\u0000]+(/)?)+$"}}}, "demo": {"type": "string"}}}
|
pattern.json
|
files
|
Custom mapping between patternplate files and paths to use in exchange for this pattern
|
{"type": "object", "minProperties": 1, "patternProperties": {"^.+$": {"type": "string", "pattern": "^(/)?([^/\u0000]+(/)?)+$"}}}
|
pattern.json
|
demo
|
Custom url to use as demo for this pattern
|
{"type": "string"}
|
pattern.json
|
_patternplate
|
Technical values saved by patternplate core
|
{"type": "object"}
|
inventory.json
|
Ansible Inventory Schema
|
{"$defs": {"group": {"properties": {"children": {"patternProperties": {"[a-zA-Z-_0-9]": {}}}, "hosts": {"patternProperties": {"[a-zA-Z.-_0-9]": {"type": ["object", "null"]}}, "type": ["object", "string"]}, "vars": {"type": "object"}}, "type": ["object", "null"]}, "special-group": {"additionalProperties": false, "properties": {"children": {"type": ["object", "null"]}, "groups": {"type": ["object", "null"]}, "hosts": {"type": ["object", "null"]}, "vars": {"type": ["object", "null"]}}, "type": "object"}}, "$schema": "http://json-schema.org/draft-07/schema", "additionalProperties": true, "examples": ["inventory.yaml", "inventory.yml", "inventory/*.yml", "inventory/*.yaml"], "properties": {"all": {}, "ungrouped": {}}, "type": "object"}
|
|
rustfmt.json
|
https://rust-lang.github.io/rustfmt
|
{"$schema": "http://json-schema.org/draft-07/schema#", "properties": {"array_width": {"type": "integer", "default": 60}, "attr_fn_like_width": {"type": "integer", "default": 70}, "binop_separator": {"type": "string", "default": "Front", "enum": ["Front", "Back"]}, "blank_lines_lower_bound": {"type": "integer", "default": 0}, "blank_lines_upper_bound": {"type": "integer", "default": 1}, "brace_style": {"type": "string", "default": "SameLineWhere", "enum": ["AlwaysNextLine", "PreferSameLine", "SameLineWhere"]}, "chain_width": {"type": "integer", "default": 60}, "color": {"type": "string", "default": "Auto", "enum": ["Always", "Never", "Auto"]}, "combine_control_expr": {"type": "boolean", "default": true, "enum": [true, false]}, "comment_width": {"type": "integer", "default": 80}, "condense_wildcard_suffixes": {"type": "boolean", "default": false, "enum": [true, false]}, "control_brace_style": {"type": "string", "default": "AlwaysSameLine", "enum": ["AlwaysSameLine", "ClosingNextLine", "AlwaysNextLine"]}, "disable_all_formatting": {"type": "boolean", "default": false, "enum": [true, false]}, "edition": {"type": "string", "default": "2015", "enum": ["2015", "2018", "2021"]}, "emit_mode": {"type": "string", "default": "Files", "enum": ["Files", "Stdout", "Coverage", "Checkstyle", "Json", "ModifiedLines", "Diff"]}, "empty_item_single_line": {"type": "boolean", "default": true, "enum": [true, false]}, "enum_discrim_align_threshold": {"type": "integer", "default": 0}, "error_on_line_overflow": {"type": "boolean", "default": false, "enum": [true, false]}, "error_on_unformatted": {"type": "boolean", "default": false, "enum": [true, false]}, "fn_args_layout": {"type": "string", "default": "Tall", "enum": ["Compressed", "Tall", "Vertical"]}, "fn_call_width": {"type": "integer", "default": 60}, "fn_single_line": {"type": "boolean", "default": false, "enum": [true, false]}, "force_explicit_abi": {"type": "boolean", "default": true, "enum": [true, false]}, "force_multiline_blocks": {"type": "boolean", "default": false, "enum": [true, false]}, "format_code_in_doc_comments": {"type": "boolean", "default": false, "enum": [true, false]}, "format_generated_files": {"type": "boolean", "default": true, "enum": [true, false]}, "format_macro_bodies": {"type": "boolean", "default": true, "enum": [true, false]}, "format_macro_matchers": {"type": "boolean", "default": false, "enum": [true, false]}, "format_strings": {"type": "boolean", "default": false, "enum": [true, false]}, "group_imports": {"type": "string", "default": "Preserve", "enum": ["Preserve", "StdExternalCrate", "One"]}, "hard_tabs": {"type": "boolean", "default": false, "enum": [true, false]}, "hex_literal_case": {"type": "string", "default": "Preserve", "enum": ["Preserve", "Upper", "Lower"]}, "hide_parse_errors": {"type": "boolean", "default": false, "enum": [true, false]}, "ignore": {"type": "array", "default": []}, "imports_granularity": {"type": "string", "default": "Preserve", "enum": ["Preserve", "Crate", "Module", "Item", "One"]}, "imports_indent": {"type": "string", "default": "Block", "enum": ["Visual", "Block"]}, "imports_layout": {"type": "string", "default": "Mixed", "enum": ["Vertical", "Horizontal", "HorizontalVertical", "LimitedHorizontalVertical", "Mixed"]}, "indent_style": {"type": "string", "default": "Block", "enum": ["Visual", "Block"]}, "inline_attribute_width": {"type": "integer", "default": 0}, "license_template_path": {"type": "string", "default": "\"\""}, "make_backup": {"type": "boolean", "default": false, "enum": [true, false]}, "match_arm_blocks": {"type": "boolean", "default": true, "enum": [true, false]}, "match_arm_leading_pipes": {"type": "string", "default": "Never", "enum": ["Always", "Never", "Preserve"]}, "match_block_trailing_comma": {"type": "boolean", "default": false, "enum": [true, false]}, "max_width": {"type": "integer", "default": 100}, "merge_derives": {"type": "boolean", "default": true, "enum": [true, false]}, "newline_style": {"type": "string", "default": "Auto", "enum": ["Auto", "Windows", "Unix", "Native"]}, "normalize_comments": {"type": "boolean", "default": false, "enum": [true, false]}, "normalize_doc_attributes": {"type": "boolean", "default": false, "enum": [true, false]}, "overflow_delimited_expr": {"type": "boolean", "default": false, "enum": [true, false]}, "print_misformatted_file_names": {"type": "boolean", "default": false, "enum": [true, false]}, "remove_nested_parens": {"type": "boolean", "default": true, "enum": [true, false]}, "reorder_impl_items": {"type": "boolean", "default": false, "enum": [true, false]}, "reorder_imports": {"type": "boolean", "default": true, "enum": [true, false]}, "reorder_modules": {"type": "boolean", "default": true, "enum": [true, false]}, "report_fixme": {"type": "string", "default": "Never", "enum": ["Always", "Unnumbered", "Never"]}, "report_todo": {"type": "string", "default": "Never", "enum": ["Always", "Unnumbered", "Never"]}, "required_version": {"type": "string", "default": "1.4.38"}, "single_line_if_else_max_width": {"type": "integer", "default": 50}, "skip_children": {"type": "boolean", "default": false, "enum": [true, false]}, "space_after_colon": {"type": "boolean", "default": true, "enum": [true, false]}, "space_before_colon": {"type": "boolean", "default": false, "enum": [true, false]}, "spaces_around_ranges": {"type": "boolean", "default": false, "enum": [true, false]}, "struct_field_align_threshold": {"type": "integer", "default": 0}, "struct_lit_single_line": {"type": "boolean", "default": true, "enum": [true, false]}, "struct_lit_width": {"type": "integer", "default": 18}, "struct_variant_width": {"type": "integer", "default": 35}, "tab_spaces": {"type": "integer", "default": 4}, "trailing_comma": {"type": "string", "default": "Vertical", "enum": ["Always", "Never", "Vertical"]}, "trailing_semicolon": {"type": "boolean", "default": true, "enum": [true, false]}, "type_punctuation_density": {"type": "string", "default": "Wide", "enum": ["Compressed", "Wide"]}, "unstable_features": {"type": "boolean", "default": false, "enum": [true, false]}, "use_field_init_shorthand": {"type": "boolean", "default": false, "enum": [true, false]}, "use_small_heuristics": {"type": "string", "default": "Default", "enum": ["Off", "Max", "Default"]}, "use_try_shorthand": {"type": "boolean", "default": false, "enum": [true, false]}, "version": {"type": "string", "default": "One", "enum": ["One", "Two"]}, "where_single_line": {"type": "boolean", "default": false, "enum": [true, false]}, "wrap_comments": {"type": "boolean", "default": false, "enum": [true, false]}}, "type": "object", "x-taplo-info": {"authors": ["Aloso (https://github.com/Aloso)"], "patterns": ["^(.*(/|\\\\)\\.?rustfmt\\.toml|rustfmt\\.toml)$"]}}
|
|
rustfmt.json
|
array_width
|
Maximum width of an array literal before falling back to vertical formatting.
[Documentation](https://rust-lang.github.io/rustfmt/#array_width)
|
{"type": "integer", "default": 60}
|
rustfmt.json
|
attr_fn_like_width
|
Maximum width of the args of a function-like attributes before falling back to vertical formatting.
[Documentation](https://rust-lang.github.io/rustfmt/#attr_fn_like_width)
|
{"type": "integer", "default": 70}
|
rustfmt.json
|
binop_separator
|
Where to put a binary operator when a binary expression goes multiline
[Documentation](https://rust-lang.github.io/rustfmt/#binop_separator)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Front", "enum": ["Front", "Back"]}
|
rustfmt.json
|
blank_lines_lower_bound
|
Minimum number of blank lines which must be put between items
[Documentation](https://rust-lang.github.io/rustfmt/#blank_lines_lower_bound)
### Unstable
This option requires Nightly Rust.
|
{"type": "integer", "default": 0}
|
rustfmt.json
|
blank_lines_upper_bound
|
Maximum number of blank lines which can be put between items
[Documentation](https://rust-lang.github.io/rustfmt/#blank_lines_upper_bound)
### Unstable
This option requires Nightly Rust.
|
{"type": "integer", "default": 1}
|
rustfmt.json
|
brace_style
|
Brace style for items
[Documentation](https://rust-lang.github.io/rustfmt/#brace_style)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "SameLineWhere", "enum": ["AlwaysNextLine", "PreferSameLine", "SameLineWhere"]}
|
rustfmt.json
|
chain_width
|
Maximum length of a chain to fit on a single line.
[Documentation](https://rust-lang.github.io/rustfmt/#chain_width)
|
{"type": "integer", "default": 60}
|
rustfmt.json
|
color
|
What Color option to use when none is supplied: Always, Never, Auto
[Documentation](https://rust-lang.github.io/rustfmt/#color)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Auto", "enum": ["Always", "Never", "Auto"]}
|
rustfmt.json
|
combine_control_expr
|
Combine control expressions with function calls
[Documentation](https://rust-lang.github.io/rustfmt/#combine_control_expr)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": true, "enum": [true, false]}
|
rustfmt.json
|
comment_width
|
Maximum length of comments. No effect unless wrap_comments = true
[Documentation](https://rust-lang.github.io/rustfmt/#comment_width)
### Unstable
This option requires Nightly Rust.
|
{"type": "integer", "default": 80}
|
rustfmt.json
|
condense_wildcard_suffixes
|
Replace strings of _ wildcards by a single .. in tuple patterns
[Documentation](https://rust-lang.github.io/rustfmt/#condense_wildcard_suffixes)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
control_brace_style
|
Brace style for control flow constructs
[Documentation](https://rust-lang.github.io/rustfmt/#control_brace_style)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "AlwaysSameLine", "enum": ["AlwaysSameLine", "ClosingNextLine", "AlwaysNextLine"]}
|
rustfmt.json
|
disable_all_formatting
|
Don't reformat anything
[Documentation](https://rust-lang.github.io/rustfmt/#disable_all_formatting)
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
edition
|
The edition of the parser (RFC 2052)
[Documentation](https://rust-lang.github.io/rustfmt/#edition)
|
{"type": "string", "default": "2015", "enum": ["2015", "2018", "2021"]}
|
rustfmt.json
|
emit_mode
|
What emit Mode to use when none is supplied
[Documentation](https://rust-lang.github.io/rustfmt/#emit_mode)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Files", "enum": ["Files", "Stdout", "Coverage", "Checkstyle", "Json", "ModifiedLines", "Diff"]}
|
rustfmt.json
|
empty_item_single_line
|
Put empty-body functions and impls on a single line
[Documentation](https://rust-lang.github.io/rustfmt/#empty_item_single_line)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": true, "enum": [true, false]}
|
rustfmt.json
|
enum_discrim_align_threshold
|
Align enum variants discrims, if their diffs fit within threshold
[Documentation](https://rust-lang.github.io/rustfmt/#enum_discrim_align_threshold)
### Unstable
This option requires Nightly Rust.
|
{"type": "integer", "default": 0}
|
rustfmt.json
|
error_on_line_overflow
|
Error if unable to get all lines within max_width
[Documentation](https://rust-lang.github.io/rustfmt/#error_on_line_overflow)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
error_on_unformatted
|
Error if unable to get comments or string literals within max_width, or they are left with trailing whitespaces
[Documentation](https://rust-lang.github.io/rustfmt/#error_on_unformatted)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
fn_args_layout
|
Control the layout of arguments in a function
[Documentation](https://rust-lang.github.io/rustfmt/#fn_args_layout)
|
{"type": "string", "default": "Tall", "enum": ["Compressed", "Tall", "Vertical"]}
|
rustfmt.json
|
fn_call_width
|
Maximum width of the args of a function call before falling back to vertical formatting.
[Documentation](https://rust-lang.github.io/rustfmt/#fn_call_width)
|
{"type": "integer", "default": 60}
|
rustfmt.json
|
fn_single_line
|
Put single-expression functions on a single line
[Documentation](https://rust-lang.github.io/rustfmt/#fn_single_line)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
force_explicit_abi
|
Always print the abi for extern items
[Documentation](https://rust-lang.github.io/rustfmt/#force_explicit_abi)
|
{"type": "boolean", "default": true, "enum": [true, false]}
|
rustfmt.json
|
force_multiline_blocks
|
Force multiline closure bodies and match arms to be wrapped in a block
[Documentation](https://rust-lang.github.io/rustfmt/#force_multiline_blocks)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
format_code_in_doc_comments
|
Format the code snippet in doc comments.
[Documentation](https://rust-lang.github.io/rustfmt/#format_code_in_doc_comments)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
format_generated_files
|
Format generated files
[Documentation](https://rust-lang.github.io/rustfmt/#format_generated_files)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": true, "enum": [true, false]}
|
rustfmt.json
|
format_macro_bodies
|
Format the bodies of macros
[Documentation](https://rust-lang.github.io/rustfmt/#format_macro_bodies)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": true, "enum": [true, false]}
|
rustfmt.json
|
format_macro_matchers
|
Format the metavariable matching patterns in macros
[Documentation](https://rust-lang.github.io/rustfmt/#format_macro_matchers)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
format_strings
|
Format string literals where necessary
[Documentation](https://rust-lang.github.io/rustfmt/#format_strings)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
group_imports
|
Controls the strategy for how imports are grouped together
[Documentation](https://rust-lang.github.io/rustfmt/#group_imports)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Preserve", "enum": ["Preserve", "StdExternalCrate", "One"]}
|
rustfmt.json
|
hard_tabs
|
Use tab characters for indentation, spaces for alignment
[Documentation](https://rust-lang.github.io/rustfmt/#hard_tabs)
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
hex_literal_case
|
Format hexadecimal integer literals
[Documentation](https://rust-lang.github.io/rustfmt/#hex_literal_case)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Preserve", "enum": ["Preserve", "Upper", "Lower"]}
|
rustfmt.json
|
hide_parse_errors
|
Hide errors from the parser
[Documentation](https://rust-lang.github.io/rustfmt/#hide_parse_errors)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
ignore
|
Skip formatting the specified files and directories
[Documentation](https://rust-lang.github.io/rustfmt/#ignore)
### Unstable
This option requires Nightly Rust.
|
{"type": "array", "default": []}
|
rustfmt.json
|
imports_granularity
|
Merge or split imports to the provided granularity
[Documentation](https://rust-lang.github.io/rustfmt/#imports_granularity)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Preserve", "enum": ["Preserve", "Crate", "Module", "Item", "One"]}
|
rustfmt.json
|
imports_indent
|
Indent of imports
[Documentation](https://rust-lang.github.io/rustfmt/#imports_indent)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Block", "enum": ["Visual", "Block"]}
|
rustfmt.json
|
imports_layout
|
Item layout inside a import block
[Documentation](https://rust-lang.github.io/rustfmt/#imports_layout)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Mixed", "enum": ["Vertical", "Horizontal", "HorizontalVertical", "LimitedHorizontalVertical", "Mixed"]}
|
rustfmt.json
|
indent_style
|
How do we indent expressions or items
[Documentation](https://rust-lang.github.io/rustfmt/#indent_style)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "Block", "enum": ["Visual", "Block"]}
|
rustfmt.json
|
inline_attribute_width
|
Write an item and its attribute on the same line if their combined width is below a threshold
[Documentation](https://rust-lang.github.io/rustfmt/#inline_attribute_width)
### Unstable
This option requires Nightly Rust.
|
{"type": "integer", "default": 0}
|
rustfmt.json
|
license_template_path
|
Beginning of file must match license template
[Documentation](https://rust-lang.github.io/rustfmt/#license_template_path)
### Unstable
This option requires Nightly Rust.
|
{"type": "string", "default": "\"\""}
|
rustfmt.json
|
make_backup
|
Backup changed files
[Documentation](https://rust-lang.github.io/rustfmt/#make_backup)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
match_arm_blocks
|
Wrap the body of arms in blocks when it does not fit on the same line with the pattern of arms
[Documentation](https://rust-lang.github.io/rustfmt/#match_arm_blocks)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": true, "enum": [true, false]}
|
rustfmt.json
|
match_arm_leading_pipes
|
Determines whether leading pipes are emitted on match arms
[Documentation](https://rust-lang.github.io/rustfmt/#match_arm_leading_pipes)
|
{"type": "string", "default": "Never", "enum": ["Always", "Never", "Preserve"]}
|
rustfmt.json
|
match_block_trailing_comma
|
Put a trailing comma after a block based match arm (non-block arms are not affected)
[Documentation](https://rust-lang.github.io/rustfmt/#match_block_trailing_comma)
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
max_width
|
Maximum width of each line
[Documentation](https://rust-lang.github.io/rustfmt/#max_width)
|
{"type": "integer", "default": 100}
|
rustfmt.json
|
merge_derives
|
Merge multiple `#[derive(...)]` into a single one
[Documentation](https://rust-lang.github.io/rustfmt/#merge_derives)
|
{"type": "boolean", "default": true, "enum": [true, false]}
|
rustfmt.json
|
newline_style
|
Unix or Windows line endings
[Documentation](https://rust-lang.github.io/rustfmt/#newline_style)
|
{"type": "string", "default": "Auto", "enum": ["Auto", "Windows", "Unix", "Native"]}
|
rustfmt.json
|
normalize_comments
|
Convert /* */ comments to // comments where possible
[Documentation](https://rust-lang.github.io/rustfmt/#normalize_comments)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
normalize_doc_attributes
|
Normalize doc attributes as doc comments
[Documentation](https://rust-lang.github.io/rustfmt/#normalize_doc_attributes)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
overflow_delimited_expr
|
Allow trailing bracket/brace delimited expressions to overflow
[Documentation](https://rust-lang.github.io/rustfmt/#overflow_delimited_expr)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
print_misformatted_file_names
|
Prints the names of mismatched files that were formatted. Prints the names of files that would be formated when used with `--check` mode.
[Documentation](https://rust-lang.github.io/rustfmt/#print_misformatted_file_names)
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
rustfmt.json
|
remove_nested_parens
|
Remove nested parens
[Documentation](https://rust-lang.github.io/rustfmt/#remove_nested_parens)
|
{"type": "boolean", "default": true, "enum": [true, false]}
|
rustfmt.json
|
reorder_impl_items
|
Reorder impl items
[Documentation](https://rust-lang.github.io/rustfmt/#reorder_impl_items)
### Unstable
This option requires Nightly Rust.
|
{"type": "boolean", "default": false, "enum": [true, false]}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.