deibit / vscode-devdocs

Visual Studio Code extension for searching selected or word under cursor in devdocs.io
MIT License
14 stars 8 forks source link

Add option to filter results by language #9

Closed sr-tream closed 1 year ago

deibit commented 1 year ago

Hey! Thanks for the PR. I've been testing in local and it makes what the title do. Nice.

In the past, I've been testing around this very idea of filtering by language which from the VSCode side it's pretty easy but it does not map the way user would like to see working.

As an example: If 'python' is the selected language, the filter will make devdocs show up with 'haxe-python'. An even with the right language (through a switch case or if-else replacing), user won't land on the desire module if let's say is looking up a class method.

I will merge because it worth your effort but as a practical use it will be hard to map the exact intention to devdocs website.

sr-tream commented 1 year ago

as a practical use it will be hard to map the exact intention to devdocs website.

Unfortunately, this cannot be solved completely, because devdox does not allow you to select multiple filters.