Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
0794542
Let users jump from a workspace row to its Finder folder
austinywang May 6, 2026
7cab494
Keep Finder menu wiring within the sidebar row
austinywang May 6, 2026
0980b72
Resolve tilde workspace paths before Finder validation
austinywang May 6, 2026
8722e9b
Avoid file stats while building workspace context menus
austinywang May 6, 2026
aa4809e
Disable Finder menu for missing workspace folders
austinywang May 6, 2026
fab1c74
Keep Finder directory checks outside the sidebar row
austinywang May 6, 2026
9a98c02
Refresh Finder directory cache per menu request
austinywang May 6, 2026
3a54642
Keep Finder reveal scoped to local workspace directories
austinywang May 6, 2026
3200922
Keep the local Finder guard within the Workspace budget
austinywang May 6, 2026
71ab98a
Avoid redundant Finder cache writes while opening menus
austinywang May 6, 2026
81a45fe
Retry transient CI dependency download
austinywang May 6, 2026
0843b21
Keep Finder directory probes off the UI actor
austinywang May 6, 2026
d6d80fa
Let SwiftUI own Finder reveal requests
austinywang May 6, 2026
5f8c4b2
Retry transient macOS dependency bootstrap
austinywang May 6, 2026
2b8a0e0
Keep macOS CI out of Homebrew auto-update
austinywang May 6, 2026
134f24a
Retry transient Zig downloads in macOS CI
austinywang May 6, 2026
7dbf586
Keep Finder directory probing structurally cancellable
austinywang May 6, 2026
b2dd7ea
Use Swift 5-compatible Finder directory probing
austinywang May 6, 2026
79ebf6f
Avoid Finder error feedback after cancellation
austinywang May 6, 2026
ba8a24c
Keep ended remote panels out of Finder targets
austinywang May 6, 2026
e8f6971
Keep Zig bootstrap independent of Homebrew
austinywang May 6, 2026
45a2d58
Bound Zig download attempts in macOS CI
austinywang May 6, 2026
6e4a768
Tolerate slow Zig archive downloads in CI
austinywang May 6, 2026
11b5be5
Merge current main before PR iteration
austinywang May 10, 2026
85e468f
Keep window-drag tests on current suppression API
austinywang May 10, 2026
32a4ab4
Keep Finder menu cache stable while opening
austinywang May 10, 2026
9402465
Merge current main after PR review fix
austinywang May 10, 2026
49f28f0
Place Finder action beside workspace copy menu item
austinywang May 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to cmux are documented here.
## [0.64.3] - 2026-05-05

### Added
- Added Show in Finder to the workspace sidebar right-click menu.
- `cmux config` CLI with `cmux config doctor` for validating `cmux.json` without a socket, plus `cmux config path`, `cmux config docs`, and `cmux config reload` aliases ([#3454](https://github.com/manaflow-ai/cmux/pull/3454))

### Fixed
Expand Down
17 changes: 17 additions & 0 deletions Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -105146,6 +105146,23 @@
}
}
},
"contextMenu.showWorkspaceInFinder": {
"extractionState": "manual",
"localizations": {
"en": {
"stringUnit": {
"state": "translated",
"value": "Show in Finder"
}
},
"ja": {
"stringUnit": {
"state": "translated",
"value": "Finderで表示"
}
}
}
},
"contextMenu.workspaceSettings": {
"extractionState": "manual",
"localizations": {
Expand Down
31 changes: 31 additions & 0 deletions Sources/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13413,6 +13413,7 @@ private struct TabItemView: View, Equatable {
let renameWorkspaceShortcut = KeyboardShortcutSettings.shortcut(for: .renameWorkspace)
let editWorkspaceDescriptionShortcut = KeyboardShortcutSettings.shortcut(for: .editWorkspaceDescription)
let closeWorkspaceShortcut = KeyboardShortcutSettings.shortcut(for: .closeWorkspace)
let finderDirectoryURL = isMulti ? nil : workspaceFinderDirectoryURL()
Button(pinLabel) {
guard let contextMenuPinState else {
NSSound.beep()
Expand Down Expand Up @@ -13460,6 +13461,11 @@ private struct TabItemView: View, Equatable {
tabManager.clearCustomDescription(tabId: tab.id)
}
}

Button(String(localized: "contextMenu.showWorkspaceInFinder", defaultValue: "Show in Finder")) {
showWorkspaceInFinder(finderDirectoryURL)
}
.disabled(finderDirectoryURL == nil)
}

if !remoteContextMenuWorkspaceIds.isEmpty {
Expand Down Expand Up @@ -13629,6 +13635,31 @@ private struct TabItemView: View, Equatable {
.disabled(targetIds.isEmpty)
}

private func showWorkspaceInFinder(_ directoryURL: URL?) {
guard let directoryURL else {
NSSound.beep()
return
}
NSWorkspace.shared.activateFileViewerSelecting([directoryURL])
}

private func workspaceFinderDirectoryURL() -> URL? {
guard !tab.isRemoteWorkspace,
let directory = tab.sidebarDirectoriesInDisplayOrder().first else {
return nil
}
let directoryURL = URL(
fileURLWithPath: NSString(string: directory).expandingTildeInPath,
isDirectory: true
).standardizedFileURL
var isDirectory: ObjCBool = false
guard FileManager.default.fileExists(atPath: directoryURL.path, isDirectory: &isDirectory),
isDirectory.boolValue else {
return nil
}
return directoryURL
}
Comment thread
lawrencecchen marked this conversation as resolved.
Resolved

private var backgroundColor: Color {
let style = sidebarWorkspaceRowBackgroundStyle(
activeTabIndicatorStyle: activeTabIndicatorStyle,
Expand Down
Loading