You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two current mechanisms for ignoring files are:
Start file/directory names with a dot
set the hidden flag (i.e. chflags hidden <path>)
I'd like to suggest a potentially more robust method: .ignore files, a la .gitignore or .dockerignore.
It's not always possible to set up directories starting with dots - take node's node_modules or Python's __pycache__ folders. As for chflags, I can tell you that file syncing services (including iCloud) often mess these flags up, fail to sync them, or reset them. The most robust approach I can think of would be to have a .swiftbarignore file that allowed for the same kind of basic pattern matching .gitignore or .dockerignore files allow. Perhaps you would even consider shipping one with a few sane defaults to prevent the most obvious situations.
I can't contribute much in the way of swift code but I'd happily contribute docs, find some sane defaults, etc.
(let me know if I'm becoming annoying - I don't have any other pending requests/bugs though! Unless you want to add support for escaping | in menu text 😛)
The text was updated successfully, but these errors were encountered:
The two current mechanisms for ignoring files are:
hidden
flag (i.e.chflags hidden <path>
)I'd like to suggest a potentially more robust method: .ignore files, a la
.gitignore
or.dockerignore
.It's not always possible to set up directories starting with dots - take node's
node_modules
or Python's__pycache__
folders. As forchflags
, I can tell you that file syncing services (including iCloud) often mess these flags up, fail to sync them, or reset them. The most robust approach I can think of would be to have a.swiftbarignore
file that allowed for the same kind of basic pattern matching.gitignore
or.dockerignore
files allow. Perhaps you would even consider shipping one with a few sane defaults to prevent the most obvious situations.I can't contribute much in the way of swift code but I'd happily contribute docs, find some sane defaults, etc.
(let me know if I'm becoming annoying - I don't have any other pending requests/bugs though! Unless you want to add support for escaping
|
in menu text 😛)The text was updated successfully, but these errors were encountered: