redhat-developer / redhat-developer/vscode-java

Add Java specific variables to Java Snippets

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

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

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

説明

I would like to add Java specific variables to my Java snippets. In Eclipse, when I go to preferences->Java->Editor->Templates, I can add templates that contain variables that provides hints as to insert into the template. Examples include getting the enclosing type/method/package, the return type, a local variable near where the template is being generated, etc... It even has a variable that lets me specify that when I insert a template, certain import statements should be added to the class.

I want something similar for VSCode snippets so I can port over my favorite custom snippets from Eclipse and create new intelligent snippets.

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

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

はじめの一歩

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

調査の方向性

ファイルやテストは指定されていません。まず、VS Code拡張機能でJavaスニペットがどのように定義されているかを特定し、要求されているEclipseテンプレート変数と、サポートされているスニペット機能を比較してください。完了とは、要求されているJava固有の変数をスニペットで使用できること(issueに記載された例を含む)とします。

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

評価

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

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

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