deerawan / vscode-dash

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

[Feature - Easy] Zeal Search: "language:searchword" #80

Open martinandersen3d opened 4 years ago

martinandersen3d commented 4 years ago

Windows + Zeal.

Zeal has a nice feature, try write "javascript:" in the search field, this will show only results from javascript and not from other languages.

In the extension, can you please detect what language the file is using, and send it to zeal?

Example: in vscode editing a "user.js" file, and highlights/select a "document" word in the file, and executing this extension, will result in a search in zeal, that looks like "javascript:document"

then it wont be mixed togheter with all the other languages :D

image

deerawan commented 4 years ago

Thank you @martinandersen3d!

The plugin has this feature for Dash on MacOS. Maybe the implementation is different with Zeal. I'll investigate.