eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Java Indexing reads source files multiple times

Open
#2,501 2 comments 0 reactions 0 assignees View on GitHub
performance
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

I put a `System.out.println(file);` into
` org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsCharArray(IFile, String)`
and looked on the output after pressing "rebuild Index"

In the platform workspace that immediately showed multiple reads of for example CoreException.java
![image](https://github.com/eclipse-jdt/eclipse.jdt.core/assets/51790620/2ad5e19f-96ac-4d1a-a2a2-1a8d5332d944)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.