Any way to get rid of .project .classpath .settings/ files?
See original GitHub issueEvery time I open a Java project, no matter Maven or Gradle, the extension always creates many .project
.settings/
.classpath
files in my project folder. And yes I know it’s Eclipse’s behavior to create files in project root folder as mentioned in https://github.com/redhat-developer/vscode-java/issues/466#issuecomment-373391208 But it’s really very annoying that the extension creates these files silently without any confirmation, especially with the SCM stuffs, I have to manually add them into .gitignore
file. And I also have to add them into “files.exclude” in VSCode’s settings to hide them from the explorer.
I’ve noticed some projects are also created in the “workspaceStorage” folder, so is it possible to create a corresponding project in the “workspaceStorage” folder and link my files to it? I followed this post in Eclipse, and find it adds <linkedResources>
entries in .project
. I suppose it might be somehow doable.
Moreover, it would be also nice for me if it notifies the changes and provides shortcuts to hide/ignore them, because I don’t know and don’t care about .settings/
stuffs. E.g. it might pop up a message box saying something like “Some files are created by the extension, do you want to add them into .gitignore?”
Issue Analytics
- State:
- Created 5 years ago
- Reactions:70
- Comments:61 (4 by maintainers)
This is so frustrating, why is my text editor creating random files for me?
Note I tried this plugin and am promptly uninstalling it because of this issue. I don’t ever expect VSCode to generate files on my behalf unless it’s the result of an explicit action I took (beyond just opening some folders VSCode).