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

Display file name only #32

Open
fdawans opened this issue Sep 24, 2022 · 3 comments
Open

Display file name only #32

fdawans opened this issue Sep 24, 2022 · 3 comments

Comments

@fdawans
Copy link

fdawans commented Sep 24, 2022

Hello,
Thank you for the extension, I am starting to use it.
Do you think it could be possible to have an option to display only the file name and not the full path?
I have a long path which makes it not really usable.

Thank you !

@rioukkevin
Copy link
Owner

Hi can change to only display like the last hundreds characters only, is that ok, or you need only filename ?

@Diogo-Rossi
Copy link
Contributor

I agree. And I think the file name only will be good.

@Diogo-Rossi
Copy link
Contributor

Hello @rioukkevin! Thanks for this great extension!

I started to make some contributes and wanted to help on this issue also.

I think the file name only will be good.

Actually, the real feature I was looking for was the relative file path (instead of the full path), and not only the file name.

I think that is easy to achieve.
But when I tried to debug the extension, I found some strange behaviour:

1. The current version

Using the current version of the extension, a pop up list with the full paths appears.

image

By selecting some file, the full path of the file is used in the commit message.

image

That is ok, this is the matter of this issue.

2. The development version

When I try to debug the extension in development version, a different pop up list appears (file names on labels and full path in the descriptions).

image

By selecting one item, only the file name goes to the commit message

image


My questions ares:

  1. Wasn't the last commit of the repository included in the last release? (I thought that it was included because of the release date, but the different behaviour above shows that maybe the development version is still not released)
  2. Would you like to display the relative file path (instead of the full path or only the filename)? If you do, I can make a PR for that. I think that would be more useful.

Thanks!

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

No branches or pull requests

3 participants