Describe the bug
When clicking a class name (e.g. LinkedHashMap) in code (Java project) to jump to its definition/related resources, Zed pops up a macOS system error: "应用程序无法打开。" with error code -50.
To Reproduce
Steps to reproduce the behavior:
- Open a Java project in Zed (with JDK configured)
- Hover over a built-in class (e.g.
java.util.LinkedHashMap) in code
- Click the class name (or use "Go to Definition" shortcut)
- See the macOS error popup: "应用程序无法打开。-50"
Expected behavior
Successfully jump to the class definition (or open related documentation/resource) without system errors.
Environment
- OS: macOS [e.g. 14.2 Sonoma]
- Zed Version: [e.g. v0.135.0]
- Project Language: Java (JDK version: [e.g. 17.0.8])
Screenshots
Additional context
The error code -50 is a macOS generic app launch failure (likely due to Zed failing to call the correct associated program for class resources, e.g. JDK tools/docs).
What did you expect to happen?
Show some resources, e.g. JDK docs or JDK source code.
Environment
Zed 0.219.4
5595f7ce23d51a58eb66dd025a487bbd6c75dad1
0.219.4+stable.119.5595f7ce23d51a58eb66dd025a487bbd6c75dad1
Mac OS 26.2 (25C56)