exercism / exercism/java-analyzer

Start outputting tags

未关闭
#125 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Java
星标
13
派生
27
平均合并
4 天 17 小时
30 天内合并 PR
7

描述

So far the Java analyzer only provides automated feedback on submitted solutions, but analyzers can also tag them.

There are multiple approaches to implement this:

  • We can start outputting tags in the exercise-specific analyzers, and exercises for which no analyzer is implemented yet will receive no tags on their submissions.
  • We can implement a 'global' analyzer that is able to identify paradigms, techniques, constructs etc regardless of which exercise a solution belongs to, so that all submissions will receive tags.
  • We can combine both options of course.

I found that the C# Analyzer took the second option. This makes sense, since a large portion of the tags currently implemented are exercise-agnostic. Perhaps it can serve as a good example to get started.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先阅读 issue 中链接的 analyzer 标记文档,然后将提议的方法与 src/Exercism.Analyzers.CSharp/Analyzers/TagAnalyzer.cs 中的 C# 示例进行比较。该 issue 没有确定 Java 的入口点、测试或已确定的实现计划;只有在达成统一的标记方法并为 Java 提交生成 tags 后,才能算完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。