redhat-developer / redhat-developer/vscode-java

Encountering a BUG when developing Java with vscode

未关闭
#1,219 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

compile
主要语言
TypeScript
星标
2.3k
派生
546
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

[provide a description of the issue]

Environment
  • Operating System::Linux x64 5.0.0-37-generic
  • JDK version:1.8.0_201
  • Visual Studio Code version:1.40.1
  • Java extension version:
Steps To Reproduce
  1. [step 1]
    Screenshot from 2019-12-26 11-27-03

  2. [step 2]
    As shown above, the department ID on line 61 of the code prompts an error, but there is actually no error here. The error is that the parenthesis is missing from line 64.I think this is a hint to locate the bug.

  3. [step 3]
    When I remove the parentheses on line 64, the error is no longer prompted

  4. [step 4]
    Screenshot from 2019-12-26 11-48-55

[attach a sample project reproducing the error]
attach logs

Current Result
Expected Result
Additional Informations

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先,在 Linux 上使用 JDK 1.8.0_201 和 VS Code 1.40.1 重现该报告,并将第 61 行的诊断与第 64 行缺失的括号进行比较。收集缺失的 Java extension 版本、示例项目、完整代码和日志;当错误诊断得以重现且其原因被确定时,即视为完成。

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

评估

技术栈
java, typescript, vscode
领域
developer-experience, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
18/100

把新 issue 发到你的邮箱

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