5779a36 ←c9b9451antonApr 11, 2026 api

edit settings.ts via macOS

M /sublimated/undefined +0 -0
30 unmodified lines
31 text: "Sync status, version history, and deep links.",
32 cls: "setting-item-description",
33 });
34
35 // workspace detection
35 // workspace detection (based on xattrs of the last opened file)
36 const workspaceInfo = this.plugin.detectWorkspace();
37 if (workspaceInfo) {
38 new Setting(containerEl)
39 .setName("Detected workspace")
40 .setDesc(
41 `Space: ${workspaceInfo.space || "unknown"} — .sbl/ folder found in vault root`
41 `Space: ${workspaceInfo.space || "unknown"}`
42 );
43 } else {
44 new Setting(containerEl)
45 .setName("No workspace detected")
45 .setName("No sublimated file open")
46 .setDesc(
47 "No .sbl/ folder found. Open a vault from your sublimated folder in Finder."
47 "Open any synced file from a sublimated folder to see workspace info."
48 );
49 }
50
51 // API token
64 unmodified lines