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

Long file paths in lsp-ui-peek-find show only prefix #744

Open
nenorbot opened this issue Jan 18, 2023 · 1 comment · May be fixed by #745
Open

Long file paths in lsp-ui-peek-find show only prefix #744

nenorbot opened this issue Jan 18, 2023 · 1 comment · May be fixed by #745

Comments

@nenorbot
Copy link

nenorbot commented Jan 18, 2023

When working with highly nested directories, the paths shown in the file list get truncated to just their prefix. As a result, the most meaningful parts of the path are often lost (package/modules/file name/etc).

For example, in Rust, when finding references/implementations of a type that's used across many dependencies, the file list might only show identical entries for /home/myuser/.cargo/registry/src/github..., making the file list harder to work with.

I know it's possible to disable showing directories with lsp-ui-peek-show-directory, but the directories can have interesting information like project name or module paths.

I think showing the path suffix rather than the prefix would be more helpful in these cases.

@nenorbot nenorbot linked a pull request Jan 18, 2023 that will close this issue
@tonicebrian
Copy link

This is also being discussed in #261

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 a pull request may close this issue.

2 participants