redhat-developer / redhat-developer/vscode-java

How to disable automatic update of ".project" files and ".settings" folders at project opening

Open
#2,741 9 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

I have a folder/workspace/project (originally created with Eclipse and maintained with Git) containing a large number of sub-projects.

Now I am trying to switch to VsCode, but every time I open this workspace every .project file and every .settings folder are automatically updated.

Since they are under git maintenance these automatic updates are quite frustrating.
Is there some setting for disabling this behavior?
I already tried many settings, among with:

"java.import.generatesMetadataFilesAtProjectRoot": false,
"java.project.resourceFilters": [
        "\\.settings"
]

but without success.
Any hints?
Thank you very much

Environment
  • Operating System: Windows 10
  • JDK version: JDK 1.7
  • Visual Studio Code version: 1.72.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by reproducing the workspace-opening behavior with the Eclipse project and settings shown, then trace the Java extension's metadata generation and resource-filter handling. Done means identifying a supported configuration or confirming that the automatic updates cannot be disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
24/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.