Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The extension[-pack] creates bloatware-like files in root of project directory #20

Closed
martinandersson opened this issue Feb 26, 2018 · 8 comments
Assignees

Comments

@martinandersson
Copy link

The following files are randomly created in the root of my Gradle project dir:

  • bin/*
  • .settings
  • .classpath
  • .project

The three latter I think are specific for the Eclipse IDE or a derivative thereof.

Don't get me started why I think this behavior is totally unprofessional and unacceptable lol.

@andxu
Copy link
Contributor

andxu commented Mar 7, 2018

@martinanderssondotcom what's are you ideas representing a java project which contains the source output folder, the java version, the referenced libs? Other java products have their project specific files, how to avoid the project configuration file?

@martinandersson
Copy link
Author

Andxu,

Why are these files there to begin with? Why is the plugin stateful? I think we should try our utmost hardest to keep VSCode being a simple, light and effective text editor. If one wanna have an IDE which automagically integrate a few command line args into "run configurations", has built-in terminals and live football, then there's other options for that. And believe me - as Trump would have said - these tools will soon be bygones. I hope.

Either way.. you could throw that stuff into any random VSCode-specific directory. The point is that I am not as the end user using VSCode to have it throw stuff in my project dir which often is in version control. And quite frankly, I couldn't care less however many breadcrumbs he dump in his app-specific folders. I simply hope the app can manage that space on his own and survive a few versions until my next hard drive crash.

Just my five cents, of course =)

@DiabolusExMachina
Copy link

I also dislike all the generated files.

It looks really messy. How about placing them in an own folder into the .vscode folder. For example .vscode/.java/...

@andxu
Copy link
Contributor

andxu commented Apr 11, 2018

We have other users reporting the same issue: redhat-developer/vscode-java#478, see reply from fbricon:

It's going to be tricky. We depend on the eclipse platform for the Java support. We currently have no way to set project metadata to a custom location. Eclipse Che managed to do it by forking key eclipse plugins, but we probably won't do that. Best case scenario, we get Eclipse upstream to open up project metadata configuration, but even then, we'll most likely end up with one .vscode (or whatever) folder per project/module.
One advantage of keeping the eclipse metadata files as-is, is it allows you to open the same folders in Eclipse, Atom, VIM (with ycm), without adding more IDE/Editor specific stuff.

@andxu
Copy link
Contributor

andxu commented Apr 11, 2018

Personally I think we should generate it at .vscode because the editor is vscode, need to discuss with redhat guys about the project settings

@akaroml
Copy link
Member

akaroml commented Sep 9, 2018

@DiabolusExMachina we are working on a fix in the Java Language Support extension. redhat-developer/vscode-java#618

@akaroml
Copy link
Member

akaroml commented Oct 25, 2019

We understand that people just hate this but there is not much progress made.

@testforstephen could you take a further look at the new comments in the redhat-developer/vscode-java#618

@testforstephen
Copy link
Contributor

Close it since it has been fixed by redhat.java extension. See more information here redhat-developer/vscode-java#618 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants