vscode-git-commit
vscode-git-commit copied to clipboard
Display file name only
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 !
Hi can change to only display like the last hundreds characters only, is that ok, or you need only filename ?
I agree. And I think the file name only will be good.
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.
By selecting some file, the full path of the file is used in the commit message.
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).
By selecting one item, only the file name goes to the commit message
My questions ares:
- 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)
- 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!