redhat-developer / redhat-developer/vscode-java

Visual Studio Code Outline should indicate public, protected, private, and package-private methods when viewing a Java document.

オープン
#1,544 コメント 4 件 リアクション 57 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement navigation upstream
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

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:

image

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

image

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.

image

Expected Result

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

image

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リポジトリのファイルやテストは指定されていません。まず、Java 拡張機能が Visual Studio Code Outline にシンボルを提供する仕組みを追跡し、アクセスレベルインジケーターに upstream の Visual Studio Code のサポートが必要かどうかを確認します。Outline で public、protected、private、package-private のメソッドを区別できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, typescript
領域
developer-experience, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。