redhat-developer / redhat-developer/vscode-java

[BUG] "editor.autoIndent" setting erroneously controls javadoc newline character insertion

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

还没有人认领这个 Issue。

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

描述

Below provided settings.json snippet, when added to settings.json leads to no * symbol being added after newline.

"[java]": {
        "editor.suggest.snippetsPreventQuickSuggestions": false,
        "editor.autoIndent": "none"
}

Without these configurations, I get unwanted behaviour where an indent is inserted before the * symbol on a javadoc newline.

贡献指南

打开贡献指南

从这里开始

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

调研方向

在支持 Java 的 VS Code 中使用 settings.json 片段重现该行为,并比较将 editor.autoIndent 设置为 "none" 与使用默认配置的情况。跟踪 Java 编辑器对 Javadoc 换行的处理,并验证在这两种情况下,* 的插入都会被保留且不会产生不需要的缩进。

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

评估

技术栈
java, typescript, vscode
领域
developer-experience, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

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