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.
2 parents 64809e1 + 037b685 commit 041777dCopy full SHA for 041777d
src/state/editors.ts
@@ -255,6 +255,19 @@ export class PerEditorState implements vscode.Disposable {
255
}
256
257
258
+ private _formatDisplayName(modeName: string) {
259
+ switch (vscode.workspace.getConfiguration(extensionName)
260
+ .get<string>("activeModeDisplayTextTransform")) {
261
+ case "uppercase":
262
+ return modeName.toUpperCase();
263
+ case "lowercase":
264
+ return modeName.toLowerCase();
265
+ case "as-is":
266
+ default:
267
+ return modeName;
268
+ }
269
270
+
271
/**
272
* Called when `vscode.window.onDidChangeActiveTextEditor` is triggered with
273
* another editor.
0 commit comments