redhat-developer / redhat-developer/vscode-java
Visual Studio Code Outline should indicate public, protected, private, and package-private methods when viewing a Java document.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
This is a feature request.
I don't know if this requires upstream support from Visual Studio Code itself. Currently, when viewing the Outline in Visual Studio Code, there are no indications suggesting the methods is public, protected, private, or package-private. In other words, it is difficult to differentiate the method accessors by type just by viewing the Outline. You can see the Visual Studio Code screenshot below, and try to find which one of them is not private:

In Eclipse, they have different icon colors to indicate the different method accessors.

It would be nice to see them, so it's easier to find and discover which methods are available from the Outline.
Environment
- Operating System: Ubuntu 18.04.4 LTS
- JDK version: OpenJavaSDK 1.8 (on maintenance mode at work)
- Visual Studio Code version: 1.47.2
- Java extension version: 0.64.1
Current Result
Not easy to differentiate the method's accessor levels (public, protected, private, package-private) in the Outline.

Expected Result
Something along the lines of being able to differentiate the methods in the Outline.

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
No repository files or tests are named. Start by tracing how the Java extension supplies symbols for the Visual Studio Code Outline and confirm whether access-level indicators require upstream Visual Studio Code support. Done means public, protected, private, and package-private methods are distinguishable in the Outline.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- 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