cloud icon indicating copy to clipboard operation
cloud copied to clipboard

project specific filter to ignore files

Open haraldschilly opened this issue 12 years ago • 5 comments
trafficstars

In the project settings, add a text box to enter a list of patterns, which should be excluded from the file listings (if you click on the eye for the hidden files, they show up along with the .*-files). It would be best to just copy the way how .gitignore works.

Example:

temp/
*.log
*~

haraldschilly avatar Oct 03 '13 11:10 haraldschilly

Maybe this issue is a bad idea, at least it must be possible to easily tell the user that there are hidden files (e.g. a gray line "some files are hidden" at the bottom of the file listing ... and a click reveals them). Otherwise files might look as being "lost" although they are not.

Related to the underlying problem and probably in general a better idea is #44

haraldschilly avatar Oct 08 '13 15:10 haraldschilly

Yet another variation could be a .sagecloudignore file, just for the current directory.

haraldschilly avatar Feb 17 '14 18:02 haraldschilly

We could also show the "hidden" files always, but just at the bottom of the list with CSS that makes the less visible.

Using .sagecloudignore per directory is a good idea, since it could be part of the "+New" latex process. That could also create a directory instead of a .tex file.

williamstein avatar Feb 17 '14 18:02 williamstein

yes, creating a directory for latex is a good idea ... unless one is already inside such a subdirectory and just wants to add an additional file -- i.e. only create a "latex subdirectory" if it is happening in $HOME.

haraldschilly avatar Feb 17 '14 19:02 haraldschilly

On Mon, Feb 17, 2014 at 11:02 AM, Harald Schilly [email protected]:

yes, creating a directory for latex is a good idea ... unless one is already inside such a subdirectory and just wants to add an additional file -- i.e. only create a "latex subdirectory" if it is happening in $HOME.

Or:

  • only create a latex subdirectory if there are no other tex files in the current directory?

William Stein Professor of Mathematics University of Washington http://wstein.org

williamstein avatar Feb 17 '14 19:02 williamstein