When adding new configuration settings, follow these naming conventions to maintain consistency and clarity: 1. **For related components**: Use a unified setting with resource scope instead of creating duplicate settings. For example, instead of having separate `typescript.maximumHoverLength` and `javascript.maximumHoverLength` settings, create a single...
When adding new configuration settings, follow these naming conventions to maintain consistency and clarity:
typescript.maximumHoverLength
and javascript.maximumHoverLength
settings, create a single js/ts.hover.maximumLength
with resource scope:"js/ts.hover.maximumLength": {
"type": "number",
"default": 500,
"description": "Controls the maximum length of hover content",
"scope": "resource"
}
This approach allows for language-specific configuration while reducing configuration sprawl.
experimental
(e.g., typescript.experimental.useTsgo
instead of typescript.useTsgo
)"typescript.experimental.useTsgo": {
"type": "boolean",
"default": false,
"description": "Controls whether to use TsGo for TypeScript processing",
"tags": ["experimental"]
}
These conventions improve discoverability, communicate the stability status of features, and help maintain a cleaner configuration surface for users.
Enter the URL of a public GitHub repository