Menu

#257 [PATCH] Hide *.py~ from the package view

closed-fixed
nobody
5
2007-12-15
2007-09-14
No

It is already possible to hide some file types from the package view (In Customize view, choose *.pyo, .*, etc...)

Hiding *.py~ files would also be useful.

These files are automatically generated by pindent, and contain a backup of the original file.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    There are no *.py files in pydev package explorer

     
  • Laurent DORE

    Laurent DORE - 2007-11-25

    Logged In: YES
    user_id=1853994
    Originator: YES

    The *.py~ files are not generated by pydev, but by the external script <pythondir>/Tools/scripts/pindent.py

    The pindent.py script generates a backup .py~ file (ending with a tilda) for each processed file.

     
  • Laurent DORE

    Laurent DORE - 2007-12-12

    [PATCH] Hide *.py~files from package view

     
  • Laurent DORE

    Laurent DORE - 2007-12-12

    Logged In: YES
    user_id=1853994
    Originator: YES

    File Added: PyTilda.txt

     
  • Laurent DORE

    Laurent DORE - 2007-12-12

    Logged In: YES
    user_id=1853994
    Originator: YES

    The attached patch adds a filter in the package view.

    When active, it hides all files ending with ".py~" from the view.

     
  • Laurent DORE

    Laurent DORE - 2007-12-12
    • summary: Hide .py~ from the package view --> [PATCH] Hide .py~ from the package view
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-12-15
    • status: open --> closed-fixed
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-12-15

    Logged In: YES
    user_id=617340
    Originator: NO

    Applied for 1.3.11 (note that another feature could be used for that too: you will be able to specify 'arbitrary' filters in 1.3.11.

    Cheers,

    Fabio