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

Better path presentation in quick open window #14

Open
Gephery opened this issue Sep 20, 2022 · 1 comment
Open

Better path presentation in quick open window #14

Gephery opened this issue Sep 20, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Gephery
Copy link
Collaborator

Gephery commented Sep 20, 2022

The way a file path is being presented in quick open window makes it sometimes hard to realise which file to pick. Let's consider two files:

some_project/some_longer_pathsome_longer_pathsome_longer_pathsome_longer_path/fruits/apples/Main.js
some_project/some_longer_pathsome_longer_pathsome_longer_pathsome_longer_path/fruits/bananas/Main.js
If we type "Main" in searchbox the list of results shows only begining of paths and the filenames and it looks ... excactly the same. At this point we have to randomly pick one of the files to check if it's the one we'd like especially since there's no preview editor triggered while navigating through result list (microsoft/vscode#8939).

image

The solution is to present the ending of a path rather than begining, just like it's done in Sublime Text (please notice where ellipsis is added):

image

Additionally path could be presented in a separate line for more clarity.

microsoft/vscode#143956 (comment)

@Gephery Gephery self-assigned this Sep 20, 2022
@Gephery Gephery added the enhancement New feature or request label Sep 20, 2022
Gephery added a commit that referenced this issue Oct 12, 2022
Our local issue tracker has it labeled as #14.
@Gephery
Copy link
Collaborator Author

Gephery commented Oct 12, 2022

Fixed and tested in Commit 404039e

Small preference variation on the enhancement. It will collapse on the left, eliminating folders not single chars.

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

No branches or pull requests

1 participant