We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb68745 commit da656c2Copy full SHA for da656c2
src/resource.ts
@@ -246,13 +246,21 @@ export class Resource implements SourceControlResourceState {
246
const abbreviation = this.letter;
247
const color = this.color;
248
const priority = this.priority;
249
- return {
+ const decoration: DecorationData = {
250
bubble: true,
251
source: "svn.resource",
252
title,
253
abbreviation,
254
color,
255
priority
256
};
257
+
258
+ /**
259
+ * @note Set letter in explorer for VSCode >= 1.27
260
+ * In VSCode 1.27 has renamed the abbreviation to letter
261
+ */
262
+ (decoration as any).letter = abbreviation;
263
264
+ return decoration;
265
}
266
0 commit comments