redhat-developer / redhat-developer/vscode-java
Visual Studio Code Outline should indicate public, protected, private, and package-private methods when viewing a Java document.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 546
- Ø Merge
- 20 Std. 1 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
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.

Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Repository-Dateien oder Tests genannt. Beginne damit nachzuverfolgen, wie die Java-Erweiterung Symbole für die Visual Studio Code Outline bereitstellt, und bestätige, ob Zugriffslevel-Indikatoren Unterstützung durch das vorgelagerte Visual Studio Code erfordern. Als erledigt gilt, wenn öffentliche, geschützte, private und package-private Methoden in der Outline unterschieden werden können.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, typescript
- Bereich
- developer-experience, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100