|
27 | 27 | [ |
28 | 28 | "git.blame.decorations" |
29 | 29 | ], |
30 | | - "${(config.git.blame.decorations === 'line' && 'file') || (config.git.blame.decorations === 'file' && 'none') || (clientApplication.isSourcegraph && experimentalFeatures.enableExtensionsDecorationsColumnView && 'file' || 'line')}", |
| 30 | + "${(config.git.blame.decorations === 'line' && 'file') || (config.git.blame.decorations === 'file' && 'none') || 'line'}", |
31 | 31 | null |
32 | 32 | ], |
33 | 33 | "category": "Git", |
34 | | - "title": "${(config.git.blame.decorations === 'line' && 'Show blame for the whole file') || (config.git.blame.decorations === 'file' && 'Hide blame') || (clientApplication.isSourcegraph && experimentalFeatures.enableExtensionsDecorationsColumnView && 'Show blame for the whole file' || 'Show blame for selected lines')}", |
| 34 | + "title": "${(config.git.blame.decorations === 'line' && 'Show blame for the whole file') || (config.git.blame.decorations === 'file' && 'Hide blame') || 'Show blame for selected lines'}", |
35 | 35 | "actionItem": { |
36 | 36 | "label": "Blame", |
37 | | - "description": "${(config.git.blame.decorations === 'line' && 'Show Git blame line annotations for the whole file') || (config.git.blame.decorations === 'file' && 'Hide Git blame line annotations') || (clientApplication.isSourcegraph && experimentalFeatures.enableExtensionsDecorationsColumnView && 'Show Git blame line annotations for the whole file' || 'Show Git blame line annotations on selected lines')}", |
38 | | - "pressed": "((!clientApplication.isSourcegraph || !experimentalFeatures.enableExtensionsDecorationsColumnView) && config.git.blame.decorations === 'line') || (config.git.blame.decorations === 'file')", |
| 37 | + "description": "${(config.git.blame.decorations === 'line' && 'Show Git blame line annotations for the whole file') || (config.git.blame.decorations === 'file' && 'Hide Git blame line annotations') || 'Show Git blame line annotations on selected lines'}", |
| 38 | + "pressed": "(config.git.blame.decorations === 'line') || (config.git.blame.decorations === 'file')", |
39 | 39 | "iconURL": "https://raw.githubusercontent.com/sourcegraph/sourcegraph-git-extras/63dd95962c43b95b3f3a9ea2aa0165d6b38a958c/icon/git_logo.svg?sanitize=true" |
40 | 40 | } |
41 | 41 | } |
|
60 | 60 | "git.blame.decorations": { |
61 | 61 | "description": "Whether to decorate all lines in a file, only selected lines, or none at all.", |
62 | 62 | "type": "string", |
63 | | - "enum": ["none", "line", "file"], |
| 63 | + "enum": [ |
| 64 | + "none", |
| 65 | + "line", |
| 66 | + "file" |
| 67 | + ], |
64 | 68 | "default": "none" |
65 | 69 | }, |
66 | 70 | "git.blame.showPreciseDate": { |
|
140 | 144 | "prettier": "^1.19.1", |
141 | 145 | "sinon": "^9.2.1", |
142 | 146 | "source-map-support": "^0.5.12", |
143 | | - "sourcegraph": "^25.6.0", |
| 147 | + "sourcegraph": "^25.7.0", |
144 | 148 | "ts-node": "^8.10.2", |
145 | 149 | "tslint": "^5.11.0", |
146 | 150 | "typescript": "^4.1.2", |
|
0 commit comments