redhat-developer / redhat-developer/vscode-java

Highlight unused access modifiers

Open
#1,494 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

diagnostics
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.