deerawan / vscode-dash

Dash, Zeal and Velocity documentation integration in Visual Studio Code 🔎📖
MIT License
289 stars 23 forks source link

Enable support for Zeal on macOS #91

Open andreas-zeller opened 4 years ago

andreas-zeller commented 4 years ago

On a Mac with Zeal installed (but not Dash), Ctrl+H has no effect. This is because of "dash.js" only supporting Dash on macOS. To invoke "Zeal" on macOS, one needs the same options as on Linux, e.g.

const OSOptions = {
    darwin: 'zeal',  # Was "open -g"
    linux: 'zeal',
   ...
};

Suggestion: Detect dynamically whether Dash or Zeal is installed, invoke one of them. Or have a setting to choose between them.

Realetive commented 2 years ago

Any updates?

@andreas-zeller, is it possible to change local OSOptions manually?

nezorflame commented 1 year ago

@deerawan any updates?