leaps icon indicating copy to clipboard operation
leaps copied to clipboard

Hiding uneditable files

Open andyjeffries opened this issue 8 years ago • 3 comments

Maybe there could be a .leapsignore folder in a project's folder specifying files to not be shown (just like .gitignore). Then we could put:

*.jpg
*.png
*.gif

In there (for a start) to stop it from showing the source of images.

As an additional option, if leaps could detect that it's a binary file and not likely to be UTF-8 editable text, and pop up a warning, that would be awesome too! https://golang.org/pkg/unicode/utf8/#ValidString

andyjeffries avatar Apr 27 '16 13:04 andyjeffries

I've got experimental support for this in master branch, it's not documented or tested thoroughly yet, I'll do both when I get home next week but feel free to check it out and give any thoughts in the meantime. Thanks for the suggestion!

Jeffail avatar May 02 '16 09:05 Jeffail

I only see a master branch on https://github.com/Jeffail/leaps. I'll wait though, it's not urgent.

andyjeffries avatar May 04 '16 10:05 andyjeffries

Would it make sense to implement this as a more generic .leepsignore file similar to .gitignore?

nfisher avatar Aug 11 '16 09:08 nfisher