sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

"filename auto-complete" in commit message box #1796

Open diverger opened 10 months ago

diverger commented 10 months ago

Hi,

Users often need input the filenames in the commit message box. In TortoiseGit, when user input first 3 letters of the file name exist in the repo, it will popup a filename list to let user choose. May this feature be added?

Thanks.

themilkman commented 10 months ago

That's actually a neat idea, could be much more powerful by additionally using the symbol indexer from ST in order to actually suggest method/classnames - with priority to files affected by the current changes to commit.

voltaek commented 10 months ago

This is something that I frequently miss that TortoiseGit and TortoiseSVN has. When composing commit messages with those, it will auto-suggest filenames, but also class names, variables names, etc. that are part of the commit (at least that's how it appears to work).

This ends up saving tangible amounts of time both from not having to type the whole name, but also often from not having to stop to copy/paste out of the commit diff (so I don't typo or worse, put the wholly incorrect class/variable/etc. name and causing business-logic confusion later).