apache / apache/netbeans

Add support for clearing NB cache for certain project and scan it again

Open
#6,750 19 comments 0 reactions 0 assignees View on GitHub
kind:feature needs:triage pending-response
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Unfortunately it is very often when NB doesn't see serious changes in code. For example, there is a `Project A` that depends on `Project B`. `Project A` is compiled without any errors and NB shows no error in the project and its packages.

Now, we do serious changes in `Project B` and compile it. NB shows errors in `Project A`, although `Project A` is again compiled without any errors.

Restarting NB doesn't help. The only solution is to clear NB cache. If there is another ways, please tell me, but I didn't find. That's why I suggest to add functionality that will clear NB cache for certain project and make NB scan this project again.

### Use case/motivation

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reproducing the stale-cache scenario with dependent Project A and Project B, then locate how NetBeans stores project cache data and triggers project scanning; done means a user can clear one project's cache and rescan it without restarting the IDE.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.