Skip to content

Properly display Class#name entries #12

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

creinig
Copy link

@creinig creinig commented Jun 19, 2025

Workaround for #11

This looks whether the doc (entry) filename contains 4 components after being split on #. If so, it considers the first 2 components to be the "Class" and "Method" parts respectively and joins them with "#" for display in the picker.

This way the current filename encoding still works and Class#method entries are still displayed correctly.

I'm not sure whether that's feasible - the handling in common.lua, #open_doc_in_cur_window() hints at a potential problem, but it should be fine.

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

Successfully merging this pull request may close these issues.

1 participant