redhat-developer / redhat-developer/vscode-java
Highlight unused access modifiers
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
selam! is there a way to highlight when a modifier is not used within it's scope? For example
Main.java
keys
Key.java <- public class and constructor but only used by KeyManager, this should be marked
KeyManager.java <- public class and constructor but used by Main so this won't be marked
goodbye and thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Java example in the issue: Main.java, Key.java, and KeyManager.java. Determine how the project reports unused or unnecessary access modifiers, then define completion as highlighting the public class and constructor in Key.java while leaving KeyManager.java unmarked because Main.java uses it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100