Configuration
Learn how to configure Tombi using the tombi.toml configuration file.
Tombi uses a TOML configuration file named tombi.toml(or .tombi.toml).
Also, we supports [tool.tombi] in pyproject.toml.
Search Priority
For each directory from the current directory up to the filesystem root:
.tombi.tomltombi.toml.config/tombi.toml(See config-dir or dot-config.github.io)[tool.tombi]inpyproject.toml
If nothing is found, Tombi then falls back to:
$XDG_CONFIG_HOME/tombi/config.toml~/.config/tombi/config.toml~/Library/Application Support/tombi/config.toml(macOS),%APPDATA%\tombi\config.toml(Windows)/etc/tombi/config.toml(Linux)- editor settings via workspace/didChangeConfiguration (LSP only)
The base directory for configuration search depends on the context: for CLI usage, it is the directory where the command is executed; for LSP usage, it is the directory of the currently opened file.
Therefore, it is recommended to place tombi.toml only at the root of your project. If multiple tombi.toml files exist at different levels within a single project, there may be inconsistencies in formatting or diagnostic results between the CLI and the editor.
Available Options
- toml-version
- files
- format
- format.rules
- format.rules.array-bracket-space-width
- format.rules.array-comma-space-width
- format.rules.date-time-delimiter
- format.rules.indent-style
- format.rules.indent-sub-tables
- format.rules.indent-table-key-value-pairs
- format.rules.indent-width
- format.rules.inline-table-brace-space-width
- format.rules.inline-table-comma-space-width
- format.rules.key-value-equals-sign-alignment
- format.rules.key-value-equals-sign-space-width
- format.rules.line-ending
- format.rules.line-width
- format.rules.string-quote-style
- format.rules.trailing-comment-alignment
- format.rules.trailing-comment-space-width
- format.rules
- lint
- lsp
- schema
- schemas
- overrides
- extensions
- extensions."tombi-toml/cargo"
- extensions."tombi-toml/cargo".lsp
- extensions."tombi-toml/cargo".lsp.completion
- extensions."tombi-toml/cargo".lsp.goto-definition
- extensions."tombi-toml/cargo".lsp.goto-declaration
- extensions."tombi-toml/cargo".lsp.document-link
- extensions."tombi-toml/cargo".lsp.code-action
- extensions."tombi-toml/cargo".lsp.hover
- extensions."tombi-toml/cargo".lsp.inlay-hint
- extensions."tombi-toml/cargo".lsp
- extensions."tombi-toml/pyproject"
- extensions."tombi-toml/pyproject".lsp
- extensions."tombi-toml/pyproject".lsp.completion
- extensions."tombi-toml/pyproject".lsp.goto-definition
- extensions."tombi-toml/pyproject".lsp.goto-declaration
- extensions."tombi-toml/pyproject".lsp.document-link
- extensions."tombi-toml/pyproject".lsp.code-action
- extensions."tombi-toml/pyproject".lsp.hover
- extensions."tombi-toml/pyproject".lsp.inlay-hint
- extensions."tombi-toml/pyproject".lsp
- extensions."tombi-toml/tombi"
- extensions."tombi-toml/cargo"
Full Structure
toml-version = "v1.0.0"
[files]
include = ["**/*.toml"]
exclude = [".cache/**/*.toml"]
[format]
[format.rules]
array-bracket-space-width = 0
array-comma-space-width = 1
date-time-delimiter = "T"
indent-style = "space"
indent-sub-tables = false
indent-table-key-value-pairs = false
indent-width = 2
inline-table-brace-space-width = 1
inline-table-comma-space-width = 1
key-value-equals-sign-alignment = false
key-value-equals-sign-space-width = 1
line-ending = "lf"
line-width = 80
string-quote-style = "double"
trailing-comment-alignment = false
trailing-comment-space-width = 2
[lint]
[lint.rules]
dotted-keys-out-of-order = "warn"
key-empty = "warn"
tables-out-of-order = "warn"
[lsp]
code-action.enabled = true
completion.enabled = true
diagnostic.enabled = true
document-link.enabled = true
formatting.enabled = true
goto-declaration.enabled = true
goto-definition.enabled = true
goto-type-definition.enabled = true
hover.enabled = true
workspace-diagnostic.enabled = true
[schema]
enabled = true
strict = true
catalog = {
paths = [
"tombi://www.schemastore.org/api/json/catalog.json",
"https://www.schemastore.org/api/json/catalog.json",
],
}
# Root Schema
[[schemas]]
toml-version = "v1.0.0"
path = "https://example.com/schema.json"
include = ["example.toml"]
[schemas.lint.rules]
deprecated = "error"
# Sub Schema
[[schemas]]
root = "tool.taskipy"
path = "schemas/partial-taskipy.schema.json"
include = ["pyproject.toml"]
[schemas.lint.rules]
deprecated = "warn"
# Override config
[[overrides]]
[overrides.files]
include = ["specific/**/*.toml"]
exclude = ["specific/**/ignored.toml"]
[overrides.format]
enabled = true
[overrides.format.rules]
array-bracket-space-width = 1
array-comma-space-width = 1
date-time-delimiter = "space"
indent-style = "tab"
indent-sub-tables = true
indent-table-key-value-pairs = true
indent-width = 4
inline-table-brace-space-width = 0
inline-table-comma-space-width = 1
key-value-equals-sign-alignment = true
key-value-equals-sign-space-width = 1
line-ending = "crlf"
line-width = 120
string-quote-style = "single"
trailing-comment-alignment = true
trailing-comment-space-width = 1
[overrides.lint]
enabled = true
[overrides.lint.rules]
dotted-keys-out-of-order = "error"
key-empty = "error"
tables-out-of-order = "error"
[extensions]
"tombi-toml/cargo" = {
lsp = {
code-action = {
add-to-workspace-and-inherit-dependency.enabled = true,
convert-dependency-to-table-format.enabled = true,
inherit-dependency-from-workspace.enabled = true,
inherit-from-workspace.enabled = true,
},
completion = {
dependency-feature.enabled = true,
dependency-version.enabled = true,
path.enabled = true,
},
document-link = {
cargo-toml.enabled = true,
crates-io.enabled = true,
git.enabled = true,
path.enabled = true,
},
goto-declaration = {
dependency.enabled = true,
member.enabled = true,
path.enabled = true,
},
goto-definition = {
dependency.enabled = true,
member.enabled = true,
path.enabled = true,
},
hover = {
dependency-detail.enabled = true,
},
inlay-hint = {
default-features.enabled = true,
dependency-version.enabled = true,
workspace-value.enabled = true,
},
}
}
"tombi-toml/pyproject" = {
lsp = {
code-action = {
add-to-workspace-and-use-workspace-dependency.enabled = true,
use-workspace-dependency.enabled = true,
},
completion = {
path.enabled = true,
},
document-link = {
pypi-org.enabled = true,
pyproject-toml.enabled = true,
},
goto-declaration = {
dependency.enabled = true,
member.enabled = true,
path.enabled = true,
},
goto-definition = {
dependency.enabled = true,
member.enabled = true,
path.enabled = true,
},
hover = {
dependency-detail.enabled = true,
},
inlay-hint = {
dependency-version.enabled = true,
},
}
}
"tombi-toml/tombi" = {
lsp = {
completion = {
path.enabled = true,
},
document-link = {
path.enabled = true,
},
goto-definition = {
path.enabled = true,
},
hover.enabled = true,
}
}toml-version
Specifies the TOML version to use if not specified in the schema and comment directive.
- Type:
"v1.0.0" | "v1.1.0" - Default:
"v1.0.0"
files
Configure file patterns for formatting and linting operations.
files.include
The file match pattern to include in formatting and linting. Supports glob pattern.
- Type:
String[] - Default:
["**/*.toml"]
files.exclude
The file match pattern to exclude from formatting and linting. Supports glob pattern.
- Type:
String[]
format
Formatter options for TOML files.
format.rules
Configure formatting styles.
If you want to know Tombi's recommended formatting style, simply use the default settings.
Originally, Tombi enforced strict formatting rules similar to black, but we relaxed some requirements to welcome Taplo users. Even so, we still encourage you to stick with the defaults to avoid wasting time on style debates and maintain consistency.
format.rules.array-bracket-space-width
The number of spaces inside the brackets of a single line array.
- Type:
Number - Default:
0
key = [ 1, 2, 3 ]
# ^ ^ <- thisformat.rules.array-comma-space-width
The number of spaces after the comma in a single line array.
- Type:
Number - Default:
1
key = [ 1, 2, 3 ]
# ^ ^ <- thisformat.rules.date-time-delimiter
The delimiter between date and time
In accordance with RFC 3339, you can use T or space character between date and time.
- Type:
"T" | "space" | "preserve" - Default:
"T" - Enum Values:
T: UseTbetween date and time like2001-01-01T00:00:00space: Use space between date and time like2001-01-01 00:00:00preserve: Preserve the original delimiter.
format.rules.indent-style
The style of indentation
Whether to use spaces or tabs for indentation.
- Type:
"space" | "tab" - Default:
"space" - Enum Values:
space: Use spaces for indentation.tab: Use tabs for indentation.
format.rules.indent-sub-tables
Whether to indent the sub-tables.
If true, the sub-table will be indented.
- Type:
Boolean - Default:
false
[table]
[table.sub-table]
key = "value"
# ^^ <- thisformat.rules.indent-table-key-value-pairs
Whether to indent the table key-value pairs.
If true, the table key-value pairs will be indented.
- Type:
Boolean - Default:
false
[table]
key = "value"
# ^^ <- thisformat.rules.indent-width
The number of spaces per indentation level.
- Type:
Number - Default:
2
This option is only used when the indentation style is space.
format.rules.inline-table-brace-space-width
The number of spaces inside the brackets of a single line inline table.
- Type:
Number - Default:
1
key = { a = 1, b = 2 }
# ^ ^ <- thisformat.rules.inline-table-comma-space-width
The number of spaces after the comma in a single line inline table.
- Type:
Number - Default:
1
key = { a = 1, b = 2 }
# ^ <- thisformat.rules.key-value-equals-sign-alignment
Whether to align the equals sign in the key-value pairs.
If true, the equals sign in the key-value pairs will be aligned.
- Type:
Boolean - Default:
false
# BEFORE
key = "value1"
key2 = "value2"
key3.key4 = "value3"
# AFTER
key = "value1"
key2 = "value2"
key3.key4 = "value3"This feature does not apply to key-value pairs inside single line inline tables.
format.rules.trailing-comment-alignment
Whether to align the trailing comments in the key-value pairs.
If true, the trailing comments in value/key-value pairs will be aligned.
- Type:
Boolean - Default:
false
# BEFORE
key = "value1" # comment 1
key2 = "value2" # comment 2
key3.key4 = "value3" # comment 3
# AFTER
key = "value1" # comment 1
key2 = "value2" # comment 2
key3.key4 = "value3" # comment 3The trailing comments of table header are not targeted by alignment.
format.rules.key-value-equals-sign-space-width
The number of spaces around the equals sign in a key-value pair.
- Type:
Number - Default:
1
key = "value"
# ^ ^ <- thisformat.rules.line-ending
The type of line ending.
- Type:
"lf" | "crlf" - Default:
"lf" - Enum Values:
lf: Line Feed only (\n), common on Linux and macOS as well as inside git repos.crlf: Carriage Return Line Feed (\r\n), common on Windows.
format.rules.line-width
The maximum line width.
The formatter will try to keep lines within this width.
- Type:
Number - Default:
80
format.rules.string-quote-style
The preferred quote character for strings.
- Type:
"double" | "single" | "preserve" - Default:
"double" - Enum Values:
double: Prefer the double quote like"value"single: Prefer the single quote like'value'preserve: Preserve the original quote
format.rules.trailing-comment-space-width
The number of spaces before the trailing comment.
- Type:
Number - Default:
2
key = "value" # trailing comment
# ^^ <- thislint
Linter options for TOML files.
lint.rules
Configure individual lint rules with severity levels.
lint.rules.key-empty
Check if the key is empty.
- Type:
"off" | "warn" | "error" - Default:
"warn"
# VALID BUT DISCOURAGED
"" = trueThis rule is disabled when the JSON Schema for the table specifies propertyNames.minLength: 0, since the schema explicitly allows empty keys.
lint.rules.dotted-keys-out-of-order
Check if dotted keys are defined out of order.
- Type:
"off" | "warn" | "error" - Default:
"warn"
# VALID BUT DISCOURAGED
apple.type = "fruit"
orange.type = "fruit"
apple.skin = "thin"
orange.skin = "thick"
# RECOMMENDED
apple.type = "fruit"
apple.skin = "thin"
orange.type = "fruit"
orange.skin = "thick"lint.rules.tables-out-of-order
Check if tables are defined out of order.
- Type:
"off" | "warn" | "error" - Default:
"warn"
# VALID BUT DISCOURAGED
[fruit.apple]
[animal]
[fruit.orange]
# RECOMMENDED
[fruit.apple]
[fruit.orange]
[animal]lsp
Language Server Protocol (LSP) feature configuration. Each feature can be individually enabled or disabled.
lsp.code-action
Configure code action feature.
lsp.code-action.enabled
Enable or disable code action feature.
- Type:
Boolean - Default:
true
lsp.completion
Configure completion feature.
lsp.completion.enabled
Enable or disable completion feature.
- Type:
Boolean - Default:
true
lsp.diagnostic
Configure diagnostic feature.
lsp.diagnostic.enabled
Enable or disable diagnostic feature.
- Type:
Boolean - Default:
true
lsp.document-link
Configure document link feature.
lsp.document-link.enabled
Enable or disable document link feature.
- Type:
Boolean - Default:
true
lsp.formatting
Configure formatting feature.
lsp.formatting.enabled
Enable or disable formatting feature.
- Type:
Boolean - Default:
true
lsp.goto-declaration
Configure go to declaration feature.
lsp.goto-declaration.enabled
Enable or disable go to declaration feature.
- Type:
Boolean - Default:
true
lsp.goto-definition
Configure go to definition feature.
lsp.goto-definition.enabled
Enable or disable go to definition feature.
- Type:
Boolean - Default:
true
lsp.goto-type-definition
Configure go to type definition feature.
lsp.goto-type-definition.enabled
Enable or disable go to type definition feature.
- Type:
Boolean - Default:
true
lsp.hover
Configure hover feature.
lsp.hover.enabled
Enable or disable hover feature.
- Type:
Boolean - Default:
true
lsp.workspace-diagnostic
Configure workspace diagnostic feature.
lsp.workspace-diagnostic.enabled
Enable or disable workspace diagnostic feature.
- Type:
Boolean - Default:
true
schema
JSON Schema validation options for TOML files.
schema.enabled
Enable or disable schema validation.
- Type:
Boolean - Default:
true
schema.strict
Enable strict schema validation. If additionalProperties is not specified in the JSON Schema, the strict mode treats it as additionalProperties: false, which is different from the JSON Schema specification.
- Type:
Boolean - Default:
true
schema.catalog
Configure schema catalog for automatic schema detection.
schema.catalog.paths
The schema catalog path/url array. The catalog is evaluated after the schemas specified by [[schemas]]. Schemas are loaded in order from the beginning of the catalog list.
- Type:
String[] - Default:
["tombi://www.schemastore.org/api/json/catalog.json", "https://www.schemastore.org/api/json/catalog.json"]
For local paths in schema.catalog.paths, relative paths are also resolved from the directory containing the loaded config file.
schemas
Define custom schemas for specific TOML files. You can specify both root schemas and sub-schemas.
Root Schema
Apply a schema to the entire TOML document.
[[schemas]]
toml-version = "v1.0.0" # optional
path = "https://example.com/schema.json"
include = ["example.toml"]
[schemas.lint.rules]
deprecated = "error"toml-version(optional): The TOML version that the schema is available forpath: The schema path (URL or local file path)include: File match patterns to apply this schema (supports glob patterns)lint.rules.deprecated(optional): Override the deprecated diagnostic level for this schema with"off","warn", or"error"
For local paths, path is resolved relative to the directory containing the loaded config file.
When using User/System config (for example ~/.config/tombi/config.toml), the config directory is usually outside your project.
In that case, use recursive include globs such as **/project/**/*.toml or filename-based patterns like pyproject.toml to target project files.
Sub Schema
Apply a schema to a specific part of the TOML document.
Sub schemas are mainly provided for configuring extension features, such as the tool section in pyproject.toml or similar cases where only part of the document should be validated or structured according to an additional schema.
[[schemas]]
root = "tool.taskipy"
path = "schemas/partial-taskipy.schema.json"
include = ["pyproject.toml"]
[schemas.lint.rules]
deprecated = "warn"root: The accessor path to apply the sub-schema (e.g.,"tools.tombi","tool.*","tool.'*'","items[0].name"). Use bare*for any key segment and[*]for any array element. If you need the literal key*, quote it as'*'or"*".path: The schema path (URL or local file path)include: File match patterns to apply this schema (supports glob patterns)lint.rules.deprecated(optional): Override the deprecated diagnostic level for this schema with"off","warn", or"error"
schemas[*].lint
Configure schema-specific lint settings.
- Type:
Table
schemas[*].lint.rules
Configure schema-specific lint rules.
- Type:
Table
schemas[*].lint.rules.deprecated
Override the deprecated diagnostic level for the schema.
This applies when the matched JSON Schema marks a value as deprecated: true.
- Type:
"off" | "warn" | "error" - Default:
"warn"
overrides
Override configuration settings for specific file patterns. You can define multiple override rules, and matching settings will be applied to files.
[[overrides]]
files.include = ["tests/**/*.toml"]
[overrides.format.rules]
indent-width = 4
line-width = 120
[overrides.lint.rules]
key-empty = "off"overrides[*].files
Specify file patterns to which the override should be applied.
- Type:
Table - Required:
true
overrides[*].files.include
File patterns to apply the override. Supports glob patterns.
- Type:
String[] - Required:
true
overrides[*].files.exclude
File patterns to exclude from the override. Supports glob patterns.
- Type:
String[]
overrides[*].format
Override format settings.
overrides[*].format.enabled
Enable or disable formatting feature.
- Type:
Boolean - Default:
true
overrides[*].format.rules
Override format rules. Only the specified rules will be overridden, and the rest will use the base configuration.
Available rules are the same as format.rules.
overrides[*].lint
Override lint settings.
overrides[*].lint.enabled
Enable or disable linting feature.
- Type:
Boolean - Default:
true
overrides[*].lint.rules
Override lint rules. Only the specified rules will be overridden, and the rest will use the base configuration.
Available rules are the same as lint.rules.
extensions
Configure experimental built-in extensions and their feature flags.
If an extension or feature is omitted, it is enabled by default.
[extensions]
"tombi-toml/cargo" = { lsp.completion.path.enabled = false }
"tombi-toml/pyproject" = { lsp.document-link.pypi-org.enabled = false }
"tombi-toml/tombi" = { lsp.document-link.path.enabled = false }Available extension IDs:
tombi-toml/cargo: Cargo-specific completion, navigation, document links, code actions, hover, and inlay hints forCargo.tomltombi-toml/pyproject:pyproject.toml-specific completion, navigation, document links, code actions, hover, and inlay hintstombi-toml/tombi: Tombi's own config-oriented path completion, navigation, document links, and hover
extensions."tombi-toml/cargo"
Configure the experimental Cargo extension for Cargo.toml.
See Cargo Extension for the supported Cargo-specific editor features.
- Type:
Table
extensions."tombi-toml/cargo".enabled
Enable or disable the entire Cargo extension.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp
Configure Cargo extension language-server features such as completion, navigation, document links, and code actions.
See Cargo Extension for feature details.
- Type:
Table
extensions."tombi-toml/cargo".lsp.enabled
Enable or disable all Cargo extension language-server features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.completion
Configure Cargo-specific completion features.
See Cargo Extension > Code Completion.
- Type:
Table
extensions."tombi-toml/cargo".lsp.completion.enabled
Enable or disable all Cargo completion features provided by the extension.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.completion.dependency-version
Configure registry version completion for Cargo dependencies. This powers the version suggestions shown while editing dependency requirements.
See Cargo Extension > Code Completion.
- Type:
Table
extensions."tombi-toml/cargo".lsp.completion.dependency-version.enabled
Enable or disable version completion for Cargo dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.completion.dependency-feature
Configure feature completion for Cargo dependencies. This powers feature-name suggestions for crate dependencies, including workspace-aware lookups.
See Cargo Extension > Code Completion.
- Type:
Table
extensions."tombi-toml/cargo".lsp.completion.dependency-feature.enabled
Enable or disable feature completion for Cargo dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.completion.path
Configure path completion for Cargo manifests.
This covers member paths, dependency paths, target source paths, and file references such as readme.
See Cargo Extension > Code Completion.
- Type:
Table
extensions."tombi-toml/cargo".lsp.completion.path.enabled
Enable or disable path completion for Cargo manifests.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.goto-definition
Configure Cargo-specific go to definition features.
See Cargo Extension > Go to Definition.
- Type:
Table
extensions."tombi-toml/cargo".lsp.goto-definition.enabled
Enable or disable all Cargo go to definition features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.goto-definition.dependency
Configure go to definition for Cargo dependencies. This resolves dependency entries to workspace definitions or referenced crates when possible.
See Cargo Extension > Go to Definition.
- Type:
Table
extensions."tombi-toml/cargo".lsp.goto-definition.dependency.enabled
Enable or disable go to definition for Cargo dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.goto-definition.member
Configure go to definition for Cargo workspace members. This resolves workspace member references such as member manifests and managed crates.
See Cargo Extension > Go to Definition.
- Type:
Table
extensions."tombi-toml/cargo".lsp.goto-definition.member.enabled
Enable or disable go to definition for Cargo workspace members.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.goto-definition.path
Configure go to definition for Cargo path targets.
This resolves local path references in Cargo manifests.
See Cargo Extension > Go to Definition.
- Type:
Table
extensions."tombi-toml/cargo".lsp.goto-definition.path.enabled
Enable or disable go to definition for Cargo path targets.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.goto-declaration
Configure Cargo-specific go to declaration features.
See Cargo Extension > Go to Declaration.
- Type:
Table
extensions."tombi-toml/cargo".lsp.goto-declaration.enabled
Enable or disable all Cargo go to declaration features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.goto-declaration.dependency
Configure go to declaration for Cargo dependencies. This resolves dependency entries back to their declared workspace location when applicable.
See Cargo Extension > Go to Declaration.
- Type:
Table
extensions."tombi-toml/cargo".lsp.goto-declaration.dependency.enabled
Enable or disable go to declaration for Cargo dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.goto-declaration.member
Configure go to declaration for Cargo workspace members. This resolves workspace member references back to the manifest that declares them.
See Cargo Extension > Go to Declaration.
- Type:
Table
extensions."tombi-toml/cargo".lsp.goto-declaration.member.enabled
Enable or disable go to declaration for Cargo workspace members.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.goto-declaration.path
Configure go to declaration for Cargo path targets.
This resolves declaration-like navigation for local path references in Cargo manifests.
See Cargo Extension > Go to Declaration.
- Type:
Table
extensions."tombi-toml/cargo".lsp.goto-declaration.path.enabled
Enable or disable go to declaration for Cargo path targets.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.document-link
Configure Cargo-specific document links.
See Cargo Extension > Document Links.
- Type:
Table
extensions."tombi-toml/cargo".lsp.document-link.enabled
Enable or disable all Cargo document links.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.document-link.cargo-toml
Configure document links to Cargo.toml files.
These links jump to member manifests or workspace manifests referenced from the current file.
See Cargo Extension > Document Links.
- Type:
Table
extensions."tombi-toml/cargo".lsp.document-link.cargo-toml.enabled
Enable or disable document links to Cargo.toml files.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.document-link.git
Configure document links to Git repositories referenced from Cargo manifests. These links open repository URLs referenced by Cargo dependency tables.
See Cargo Extension > Document Links.
- Type:
Table
extensions."tombi-toml/cargo".lsp.document-link.git.enabled
Enable or disable document links to Git repositories referenced from Cargo manifests.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.document-link.path
Configure document links to local paths referenced from Cargo manifests. These links open local files or directories referenced by Cargo manifest fields.
See Cargo Extension > Document Links.
- Type:
Table
extensions."tombi-toml/cargo".lsp.document-link.path.enabled
Enable or disable document links to local paths referenced from Cargo manifests.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.document-link.crates-io
Configure document links to crates.io pages referenced from Cargo manifests. These links open crates.io package pages for registry dependencies.
See Cargo Extension > Document Links.
- Type:
Table
extensions."tombi-toml/cargo".lsp.document-link.crates-io.enabled
Enable or disable document links to crates.io pages referenced from Cargo manifests.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.code-action
Configure Cargo-specific code actions.
See Cargo Extension > Code Actions.
- Type:
Table
extensions."tombi-toml/cargo".lsp.code-action.enabled
Enable or disable all Cargo code actions.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.code-action.inherit-from-workspace
Configure the "Inherit from Workspace" code action for Cargo manifests. This refactor converts package fields to workspace inheritance.
See Cargo Extension > Code Actions.
- Type:
Table
extensions."tombi-toml/cargo".lsp.code-action.inherit-from-workspace.enabled
Enable or disable the "Inherit from Workspace" code action for Cargo manifests.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.code-action.inherit-dependency-from-workspace
Configure the "Inherit Dependency from Workspace" code action for Cargo manifests. This refactor rewrites dependencies to use workspace-managed versions.
See Cargo Extension > Code Actions.
- Type:
Table
extensions."tombi-toml/cargo".lsp.code-action.inherit-dependency-from-workspace.enabled
Enable or disable the "Inherit Dependency from Workspace" code action for Cargo manifests.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.code-action.convert-dependency-to-table-format
Configure the "Convert Dependency to Table Format" code action for Cargo manifests. This refactor expands a simple string dependency into table form for further editing.
See Cargo Extension > Code Actions.
- Type:
Table
extensions."tombi-toml/cargo".lsp.code-action.convert-dependency-to-table-format.enabled
Enable or disable the "Convert Dependency to Table Format" code action for Cargo manifests.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.code-action.add-to-workspace-and-inherit-dependency
Configure the "Add to Workspace and Inherit Dependency" code action for Cargo manifests.
This refactor promotes a member dependency into [workspace.dependencies] and rewrites the member entry to inherit it.
See Cargo Extension > Code Actions.
- Type:
Table
extensions."tombi-toml/cargo".lsp.code-action.add-to-workspace-and-inherit-dependency.enabled
Enable or disable the "Add to Workspace and Inherit Dependency" code action for Cargo manifests.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.hover
Configure Cargo-specific hover features.
- Type:
Table
extensions."tombi-toml/cargo".lsp.hover.enabled
Enable or disable all Cargo hover features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.hover.dependency-detail
Configure dependency detail hover for Cargo dependencies.
- Type:
Table
extensions."tombi-toml/cargo".lsp.hover.dependency-detail.enabled
Enable or disable dependency detail hover for Cargo dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.inlay-hint
Configure Cargo-specific inlay hints.
See Cargo Extension > Inlay Hints.
- Type:
Table
extensions."tombi-toml/cargo".lsp.inlay-hint.enabled
Enable or disable all Cargo inlay hints.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.inlay-hint.dependency-version
Configure resolved-version inlay hints for Cargo dependencies.
See Cargo Extension > Inlay Hints.
- Type:
Table
extensions."tombi-toml/cargo".lsp.inlay-hint.dependency-version.enabled
Enable or disable resolved-version inlay hints for Cargo dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.inlay-hint.default-features
Configure default-features inlay hints for Cargo dependencies.
See Cargo Extension > Inlay Hints.
- Type:
Table
extensions."tombi-toml/cargo".lsp.inlay-hint.default-features.enabled
Enable or disable default-features inlay hints for Cargo dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/cargo".lsp.inlay-hint.workspace-value
Configure workspace-value inlay hints for Cargo workspace inheritance.
See Cargo Extension > Inlay Hints.
- Type:
Table
extensions."tombi-toml/cargo".lsp.inlay-hint.workspace-value.enabled
Enable or disable workspace-value inlay hints for Cargo workspace inheritance.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject"
Configure the experimental pyproject.toml extension.
See Pyproject Extension for the supported pyproject.toml editor features.
- Type:
Table
extensions."tombi-toml/pyproject".enabled
Enable or disable the entire pyproject.toml extension.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp
Configure pyproject.toml extension language-server features such as completion, navigation, document links, and code actions.
See Pyproject Extension for feature details.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.enabled
Enable or disable all pyproject.toml extension language-server features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.completion
Configure pyproject.toml-specific completion features.
See Pyproject Extension > Completion.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.completion.enabled
Enable or disable all pyproject.toml completion features provided by the extension.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.completion.path
Configure path completion for pyproject.toml.
This covers workspace member paths, source paths, and file references such as readme and license.file.
See Pyproject Extension > Completion.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.completion.path.enabled
Enable or disable path completion for pyproject.toml.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.goto-definition
Configure pyproject.toml-specific go to definition features.
See Pyproject Extension > Go to Definition.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.goto-definition.enabled
Enable or disable all pyproject.toml go to definition features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.goto-definition.dependency
Configure go to definition for pyproject.toml dependencies.
This resolves dependency strings or source entries to workspace-managed packages when possible.
See Pyproject Extension > Go to Definition.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.goto-definition.dependency.enabled
Enable or disable go to definition for pyproject.toml dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.goto-definition.member
Configure go to definition for pyproject.toml workspace members.
This resolves uv workspace member references to the corresponding member project.
See Pyproject Extension > Go to Definition.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.goto-definition.member.enabled
Enable or disable go to definition for pyproject.toml workspace members.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.goto-definition.path
Configure go to definition for pyproject.toml path targets.
This resolves local path references in tool.uv.sources and related fields.
See Pyproject Extension > Go to Definition.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.goto-definition.path.enabled
Enable or disable go to definition for pyproject.toml path targets.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.goto-declaration
Configure pyproject.toml-specific go to declaration features.
See Pyproject Extension > Go to Declaration.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.goto-declaration.enabled
Enable or disable all pyproject.toml go to declaration features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.goto-declaration.dependency
Configure go to declaration for pyproject.toml dependencies.
This resolves dependency references back to their workspace declaration.
See Pyproject Extension > Go to Declaration.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.goto-declaration.dependency.enabled
Enable or disable go to declaration for pyproject.toml dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.goto-declaration.member
Configure go to declaration for pyproject.toml workspace members.
This resolves uv workspace member references back to the workspace manifest that declares them.
See Pyproject Extension > Go to Declaration.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.goto-declaration.member.enabled
Enable or disable go to declaration for pyproject.toml workspace members.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.goto-declaration.path
Configure go to declaration for pyproject.toml path targets.
This resolves declaration-like navigation for local path references in pyproject.toml.
See Pyproject Extension > Go to Declaration.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.goto-declaration.path.enabled
Enable or disable go to declaration for pyproject.toml path targets.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.document-link
Configure pyproject.toml-specific document links.
See Pyproject Extension > Document Links.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.document-link.enabled
Enable or disable all pyproject.toml document links.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.document-link.pyproject-toml
Configure document links to pyproject.toml files.
These links open member manifests and workspace manifests discovered from uv metadata.
See Pyproject Extension > Document Links.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.document-link.pyproject-toml.enabled
Enable or disable document links to pyproject.toml files.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.document-link.pypi-org
Configure document links to PyPI pages referenced from pyproject.toml.
These links open PyPI package pages for dependency strings when no local workspace target applies.
See Pyproject Extension > Document Links.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.document-link.pypi-org.enabled
Enable or disable document links to PyPI pages referenced from pyproject.toml.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.code-action
Configure pyproject.toml-specific code actions.
See Pyproject Extension > Code Actions.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.code-action.enabled
Enable or disable all pyproject.toml code actions.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.code-action.use-workspace-dependency
Configure the "Use Workspace Dependency" code action for pyproject.toml.
This refactor rewrites a member dependency so it follows the workspace-managed dependency definition.
See Pyproject Extension > Code Actions.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.code-action.use-workspace-dependency.enabled
Enable or disable the "Use Workspace Dependency" code action for pyproject.toml.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.code-action.add-to-workspace-and-use-workspace-dependency
Configure the "Add to Workspace and Use Workspace Dependency" code action for pyproject.toml.
This refactor adds the dependency to the workspace and rewrites the member entry to use the shared definition.
See Pyproject Extension > Code Actions.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.code-action.add-to-workspace-and-use-workspace-dependency.enabled
Enable or disable the "Add to Workspace and Use Workspace Dependency" code action for pyproject.toml.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.hover
Configure pyproject.toml-specific hover features.
See Pyproject Extension > Hover.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.hover.enabled
Enable or disable all pyproject.toml hover features provided by the extension.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.hover.dependency-detail
Configure dependency detail hover for pyproject.toml dependencies.
See Pyproject Extension > Hover.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.hover.dependency-detail.enabled
Enable or disable dependency detail hover for pyproject.toml dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.inlay-hint
Configure pyproject.toml-specific inlay hints.
See Pyproject Extension > Inlay Hints.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.inlay-hint.enabled
Enable or disable all pyproject.toml inlay hints.
- Type:
Boolean - Default:
true
extensions."tombi-toml/pyproject".lsp.inlay-hint.dependency-version
Configure resolved-version inlay hints for pyproject.toml dependencies.
See Pyproject Extension > Inlay Hints.
- Type:
Table
extensions."tombi-toml/pyproject".lsp.inlay-hint.dependency-version.enabled
Enable or disable resolved-version inlay hints for pyproject.toml dependencies.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi"
Configure the experimental Tombi configuration extension used while editing tombi.toml.
- Type:
Table
extensions."tombi-toml/tombi".enabled
Enable or disable the entire Tombi configuration extension.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi".lsp
Configure Tombi configuration language-server features such as path completion, path navigation, and path document links.
- Type:
Table
extensions."tombi-toml/tombi".lsp.enabled
Enable or disable all Tombi configuration language-server features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi".lsp.completion
Configure Tombi configuration completion features.
- Type:
Table
extensions."tombi-toml/tombi".lsp.completion.enabled
Enable or disable all Tombi configuration completion features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi".lsp.completion.path
Configure path completion for Tombi configuration files. This covers local file and directory references used in Tombi configuration.
- Type:
Table
extensions."tombi-toml/tombi".lsp.completion.path.enabled
Enable or disable path completion for Tombi configuration files.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi".lsp.goto-definition
Configure Tombi configuration go to definition features.
- Type:
Table
extensions."tombi-toml/tombi".lsp.goto-definition.enabled
Enable or disable all Tombi configuration go to definition features.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi".lsp.goto-definition.path
Configure go to definition for paths referenced from Tombi configuration files.
This resolves local paths referenced from tombi.toml.
- Type:
Table
extensions."tombi-toml/tombi".lsp.goto-definition.path.enabled
Enable or disable go to definition for paths referenced from Tombi configuration files.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi".lsp.document-link
Configure Tombi configuration document links.
- Type:
Table
extensions."tombi-toml/tombi".lsp.document-link.enabled
Enable or disable all Tombi configuration document links.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi".lsp.document-link.path
Configure document links to paths referenced from Tombi configuration files.
This opens local paths referenced from tombi.toml.
- Type:
Table
extensions."tombi-toml/tombi".lsp.document-link.path.enabled
Enable or disable document links to paths referenced from Tombi configuration files.
- Type:
Boolean - Default:
true
extensions."tombi-toml/tombi".lsp.hover
Configure Tombi configuration hover features.
- Type:
Table
extensions."tombi-toml/tombi".lsp.hover.enabled
Enable or disable all Tombi configuration hover features.
- Type:
Boolean - Default:
true