Description
Harnss doesn't respect default editor settings when opening a file through Open Files or Project Files Panel on MacOS
Problem
When going into Settings > General > Default Editor and setting to "Zed" and clicking on a file to open in editor, the file gets opened by whatever the application Finder/MacOS has configured as default
Fix proposal
Make it so that the configured editor is opened using "open" CLI utility passing the file path as argument. Example:
open -a zed /Users/rckdelben/Programs/my-project/src/main.ts
open -a antigravity /Users/rckdelben/Programs/my-project/src/main.ts
Steps to Reproduce
- Open Harnss
- Go to Settings > General > Default Editor > (set to your editor of preference - must have two code editors/IDE installed to reproduce)
- Go back to main screen > Open Files panel > file > Select "Open in editor"
Expected Behavior
The configured editor of preference was supposed to be opened in the current file selected
Actual Behavior
MacOS / Finder auto-select application that was set for that file was opened instead
AI Engine
Not engine-specific
Operating System
macOS (Intel)
Harnss Version
0.21.5
Area
Browser Panel, File Panel
Logs / Error Output
Additional Context
No response
Description
Harnss doesn't respect default editor settings when opening a file through Open Files or Project Files Panel on MacOS
Problem
When going into Settings > General > Default Editor and setting to "Zed" and clicking on a file to open in editor, the file gets opened by whatever the application Finder/MacOS has configured as default
Fix proposal
Make it so that the configured editor is opened using "open" CLI utility passing the file path as argument. Example:
open -a zed /Users/rckdelben/Programs/my-project/src/main.tsopen -a antigravity /Users/rckdelben/Programs/my-project/src/main.tsSteps to Reproduce
Expected Behavior
The configured editor of preference was supposed to be opened in the current file selected
Actual Behavior
MacOS / Finder auto-select application that was set for that file was opened instead
AI Engine
Not engine-specific
Operating System
macOS (Intel)
Harnss Version
0.21.5
Area
Browser Panel, File Panel
Logs / Error Output
Additional Context
No response