From 29a5254da3fb517de102f0942c0a67292a9fcaca Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 7 Nov 2020 02:20:20 -0500 Subject: [PATCH] Marks codeLens.scopesByLanguage deprecated --- package.json | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) diff --git a/package.json b/package.json index 7a286b4..b586309 100644 --- a/package.json +++ b/package.json @@ -493,60 +493,7 @@ }, "gitlens.codeLens.scopesByLanguage": { "deprecationMessage": "Deprecated. Use per-language `gitlens.codeLens.scopes` and `gitlens.codeLens.symbolScopes` settings instead", - "type": [ - "array", - "null" - ], - "default": null, - "items": { - "type": "object", - "required": [ - "language" - ], - "properties": { - "language": { - "type": "string", - "description": "Specifies the language to which this code lens override applies" - }, - "scopes": { - "type": "array", - "default": [ - "document", - "containers" - ], - "items": { - "type": "string", - "enum": [ - "document", - "containers", - "blocks", - "custom" - ], - "enumDescriptions": [ - "Adds code lens at the top of the document", - "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)", - "Adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines", - "Adds code lens at the start of symbols contained in `symbolScopes`" - ] - }, - "minItems": 1, - "maxItems": 4, - "uniqueItems": true, - "description": "Specifies where Git code lens will be shown in the document for the specified language" - }, - "symbolScopes": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true, - "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language. Must be a member of `SymbolKind`" - } - } - }, - "uniqueItems": true, - "markdownDescription": "Specifies where Git code lens will be shown in the document for the specified languages", - "scope": "resource" + "markdownDeprecationMessage": "Depreciated: Use the per-language `#gitlens.codeLens.scopes#` and `#gitlens.codeLens.symbolScopes#` settings instead" }, "gitlens.codeLens.symbolScopes": { "type": "array",