jetbrains-cmd-backtick-fix
Problem
On macOS, `Cmd + “ (Command + backtick) should cycle between windows of the same application. However, in JetBrains IDEs (WebStorm, IntelliJ IDEA, PyCharm, etc.), this shortcut often fails to switch between multiple project windows.
Common symptoms:
- Pressing `Cmd + “ does nothing
- The shortcut shows as “Dead Grave” in keymap settings
- Works initially but stops after IDE restart
- Only switches between some windows, not all
Root Causes
- Keymap conflict - The shortcut may be overridden or incorrectly mapped
- Terminal override - When IDE terminal has focus, it captures the shortcut
- Keyboard layout issues - Non-QWERTY layouts (AZERTY, etc.) cause mapping problems
- Session bug - Shortcut works in session but breaks after restart
Solutions
Solution 1: Re-assign the Keyboard Shortcut (Most Effective)
- Open Preferences/Settings (
Cmd + ,) - Navigate to Keymap
- Search for “Activate Next Window”
- Right-click and select Add Keyboard Shortcut
- Press `Cmd + “ to record the shortcut
- If prompted about conflicts, choose to remove other assignments
- Apply and restart the IDE
Solution 2: Disable Terminal Override
If the issue occurs when the integrated terminal has focus:
- Open Preferences/Settings → Tools → Terminal
- Uncheck “Override IDE shortcuts”
- Apply changes
This allows `Cmd + “ to work even when the terminal is focused.
Solution 3: Check for Conflicting Shortcuts
- Open Preferences/Settings → Keymap
- Click the Find Actions by Shortcut button (magnifying glass with keyboard)
- Press `Cmd + “
- Review all actions assigned to this shortcut
- Remove any conflicting assignments
Solution 4: Merge Project Windows (Alternative Approach)
If you want all projects in a single window with tabs:
- Go to Window → Merge All Project Windows
- Use
Ctrl + Tabto switch between projects within the merged window
Solution 5: Use JetBrains Built-in Switcher
Use the IDE’s own window switcher:
- Press `Cmd + Shift + “ (or check your keymap for “Activate Previous Window”)
- Or use Window menu → select the project window
Third-Party Alternatives
AltTab (Recommended)
AltTab is a free, open-source app that provides Windows-style Alt+Tab functionality with visual previews.
Features:
- Shows all windows from all apps with thumbnails
- Works reliably with JetBrains IDEs (specific fix was added for JetBrains apps)
- Customizable keyboard shortcuts
- Shows windows across all Spaces
Installation:
brew install --cask alt-tabConfiguration for JetBrains:
- After installing, AltTab should automatically detect JetBrains IDE windows
- Use
Option + Tab(default) to see all windows including each IDE project
DockDoor
DockDoor is another free, open-source alternative that shows window previews when hovering over dock icons.
Why This Happens
JetBrains IDEs are single-instance applications on macOS. When you open multiple projects:
- They run as separate windows of the same application process
- macOS sees them as one app, not multiple instances
- The IDE must implement `Cmd + “ internally via the “Activate Next Window” action
- This implementation can break due to keymap conflicts or updates
Verification
After applying fixes, verify the shortcut works:
- Open 2+ projects in separate windows
- Press `Cmd + “ - should cycle to next project window
- Press again - should cycle to the next
- Quit and restart the IDE
- Verify the shortcut still works after restart