redhat-developer / redhat-developer/vscode-java

Document how to work with a non-"project" set of files

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

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

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

説明

I'm very new to Java development and am learning by simply creating a few ad hoc files. I'm following a book that uses a folder/package structure of "ch01/sec01" which I mimicked in my VSC folder structure. I noticed that the plugin would always give an error for:

package ch01.sec01;

Saying that the package was actually "" instead. I ignored this error and just carried on but it bothered me. :) A friend pointed out that if I moved my files into a "src" folder, this would go away, and apparently this is the default if you make a new Java project, but as I was just playing around and not really doing a 'project', I never knew this was an issue.

My recommendation is that a quick note be adding to the Troubleshooting section of the readme.

Steps To Reproduce
  1. Work with Java files w/o first making a Java project
  2. Note that even though you have the right package, it gets flagged as an error.

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

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

はじめの一歩

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

調査の方向性

READMEを開き、Troubleshootingセクションを見つけます。プロジェクト構成の外部でJavaファイルを使用した場合に表示されるpackage警告について、srcフォルダーの役割を含めて簡潔に説明する注記を追加し、その後、新しい説明が報告された再現手順と一致していることを確認します。

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

評価

技術スタック
java, vscode
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

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

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