Bug 570814 - Eclipse auto deletes filtered resources from the .project file when they are temp removed.
Summary: Eclipse auto deletes filtered resources from the .project file when they are ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.18   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-01 09:00 EST by Johan Compagner CLA
Modified: 2021-02-01 09:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Compagner CLA 2021-02-01 09:00:39 EST
Can it somehow be turned of or configured that eclipse never removes entries of filtered resources if i delete the filtered resources for a moment to fully generated it again?

so i don't get commits pushed like: https://github.com/Servoy/servoy-eclipse/commit/499a4af9d2ca3c4d020b66ca3d348d9fab166f37


i have a few projects that have node stuff somewhere in the eclipse project and because of that "node" and "node_modules" directories are made and especially the "node_modules" is huge.
I don't want to let eclipse index that or touch that in any sense (should be fully ignored kind of i guess the "bin" dir)

i do this by really filtering them out. With the filteredReources 
But when i delete a filtered resource to generate it again fully then eclipse quickly also deletes the filtered sources. This is really annoying i always want the filtered resource to be there. even if there is some time that where it points to is not there.
Comment 1 Johan Compagner CLA 2021-02-01 09:14:55 EST
the thing is you can i guess put a filter on a parent and then filter the child instead of what i do now filter the contents of a dir directly..

I do that because i do kind of want to see "node_modules" in the tree (so i can delete it from eclipse if i want and really see it is there)
But i want to filter out fully the content of node_modules, so from the eclipse ui perspective its just an empty dir.