Skip to content

Conversation

@tartarughina
Copy link
Collaborator

Address #178

Add -Djava.import.generatesMetadataFilesAtProjectRoot=false system property to stop .project, .classpath, and .settings/ files from being created in the project directory.

This change follows the steps of other java extensions.

References:

  1. JDTLS changes - Stop generating metadata files at project's root eclipse-jdtls/eclipse.jdt.ls#1900
  2. Any way to get rid of .project .classpath .settings/ files? - Any way to get rid of .project .classpath .settings/ files? redhat-developer/vscode-java#618
  3. Say goodbye to ".project" files in Language Support for Java 1.1.0 - https://devblogs.microsoft.com/java/say-goodbye-to-project-files-in-1-1-0/

Add -Djava.import.generatesMetadataFilesAtProjectRoot=false system
property to stop .project, .classpath, and .settings/ files from
being created in the project directory
@MaddyGuthridge
Copy link

I have tested on my machine (NixOS 25.11) and can confirm that this is working!

@tartarughina tartarughina merged commit 8173dd7 into zed-extensions:main Jan 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants