Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show the page title in the search results (and support matching it in the search query) #1585

Open
FichteFoll opened this issue Dec 14, 2023 · 0 comments

Comments

@FichteFoll
Copy link

This request is related to #1032 (and all of its duplicates) and was triggered by some docsets having the same symbol/method name for different classes/modules/namespaces, which Zeal makes impossible to differentiate from the search results.

First off, here's an example search for addAll in the Java docset. There are a lot of results. I am actually looking for the Collection one, but I absolutely cannot determine which is which and I don't want to open all these results either. I also cannot narrow down the results using further search queries. Other docsets have similar problems (like Haskell) while other other docsets include the package namespace in the searchable part of the symbol (Python, Rust).

addAll in Java update in Python
addAll in Java update in Python

After reporting this upstream at Kapeli/javadocset#15, it was pointed out that Dash shows the page title in the search results list, also using it to match search terms (before the symbol name) in order to narrow down the search results.

In order to properly use Zeal for these kinds of docsets, it must do something with the page title. Ideally do the same as Dash, i.e. included it in the search results and optionally also support using it for matching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant