redhat-developer / redhat-developer/vscode-java
Add Java specific variables to Java Snippets
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
没有指定文件或测试。首先定位 VS Code 扩展中如何定义 Java 代码片段,并将请求的 Eclipse 模板变量与受支持的代码片段功能进行比较;完成的标准应是可以在代码片段中使用所请求的 Java 特定变量,包括 issue 中描述的示例。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100