Jeffail / leaps

A pair programming service using operational transforms
MIT License
754 stars 55 forks source link

Hiding uneditable files #26

Open andyjeffries opened 8 years ago

andyjeffries commented 8 years ago

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

Jeffail commented 8 years ago

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!

andyjeffries commented 8 years ago

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

nfisher commented 8 years ago

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