-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Labels
Description
Right now lsp-ui-peek shows full path, so the file name part is usually truncated by the window border. I can only see the first half of the path to every file, which are all identical, and doesn't provide any value.
I suggest change this to show path relative to project root. This will make the path a lot more useful and waste less space.
tonicebrian
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
finalpatch commentedon Mar 27, 2019
Or at least provide a customize option to show relative path
yyoncho commentedon Mar 30, 2019
are the files under the current project root?
finalpatch commentedon Mar 31, 2019
Yes they are in a git repository, which is considered a project root. I don't use projectile though.
c02y commentedon Jan 20, 2022
I think relative path is not enough, for example, I'm using Rust, the path in the peek would be something like
The path is so long, when I use multiple windows in one frame, I only see a small part of it, I have to maximize the current window to get the full path. But I only care about the head and tail parts.
tonicebrian commentedon Jul 18, 2023
Does someone has a solution for this?