about summary refs log tree commit diff
path: root/editors/code/src/main.ts
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-08-12 08:25:51 +0200
committerLukas Wirth <lukastw97@gmail.com>2023-08-15 11:39:53 +0200
commite76d20e072cd25ca2df21ef51e973bf666f4c840 (patch)
treea11fc842194b9c985c8f1531fe19d061e6a43728 /editors/code/src/main.ts
parent33f9250d2139fa00038736515b9e22c51c419c01 (diff)
downloadrust-e76d20e072cd25ca2df21ef51e973bf666f4c840.tar.gz
rust-e76d20e072cd25ca2df21ef51e973bf666f4c840.zip
Add status bar button to toggle check on save state
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r--editors/code/src/main.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index 448150bac06..ee5e5b1b80c 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -180,6 +180,7 @@ function createCommands(): Record<string, CommandFactory> {
         ssr: { enabled: commands.ssr },
         serverVersion: { enabled: commands.serverVersion },
         viewMemoryLayout: { enabled: commands.viewMemoryLayout },
+        toggleCheckOnSave: { enabled: commands.toggleCheckOnSave },
         // Internal commands which are invoked by the server.
         applyActionGroup: { enabled: commands.applyActionGroup },
         applySnippetWorkspaceEdit: { enabled: commands.applySnippetWorkspaceEditCommand },