From 3e38bd6857f15a21d9ebf6e98d042002e3ecb12f Mon Sep 17 00:00:00 2001 From: nzaytsev Date: Mon, 20 Jan 2025 16:31:21 +0700 Subject: [PATCH] Updates settings labels --- package.json | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 088a0f4a1314c..c67fa3864ae6a 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,7 @@ "null" ], "default": null, - "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) for the inline blame annotation. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats", + "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) for the inline blame annotation. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats. When not specified, the `#gitlens.defaultDateFormat#` value is used", "scope": "window", "order": 50 } @@ -334,7 +334,7 @@ "null" ], "default": null, - "markdownDescription": "Specifies how to format absolute dates in the Git CodeLens. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats", + "markdownDescription": "Specifies how to format absolute dates in the Git CodeLens. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats. When not specified, the `#gitlens.defaultDateFormat#` value is used", "scope": "window", "order": 73 }, @@ -451,7 +451,7 @@ "null" ], "default": null, - "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats", + "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats. When not specified, the `#gitlens.defaultDateFormat#` value is used", "scope": "window", "order": 80 } @@ -796,7 +796,7 @@ "null" ], "default": null, - "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in file blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats", + "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in file blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats. When not specified, the `#gitlens.defaultDateFormat#` value is used", "scope": "window", "order": 80 } @@ -1092,10 +1092,11 @@ "string", "null" ], + "when": "", "default": null, - "markdownDescription": "Specifies how absolute dates will be formatted in the _Commit Graph_. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats", + "markdownDescription": "Specifies how **absolute** dates will be formatted in the _Commit Graph_. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats. Only applies when `#gitlens.graph.dateFormat#` is set to `absolute`. When not specified, the `#gitlens.defaultDateFormat#` value is used", "scope": "window", - "order": 600 + "order": 601 }, "gitlens.graph.dateStyle": { "type": [ @@ -1104,16 +1105,18 @@ ], "default": null, "enum": [ + null, "relative", "absolute" ], "enumDescriptions": [ + "inherited from gitlens.defaultDateStyle", "e.g. 1 day ago", "e.g. July 25th, 2018 7:18pm" ], - "markdownDescription": "Specifies how dates will be displayed in the _Commit Graph_", + "markdownDescription": "Specifies how dates will be displayed in the _Commit Graph_. When not specified, the `#gitlens.defaultDateStyle#` value is used", "scope": "window", - "order": 601 + "order": 600 }, "gitlens.graph.commitOrdering": { "type": "string",