Lint/check for duplicate chunk titles before render

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
markdown, typescript

调研方向

The issue names qmd notebooks and duplicate #| label: values but no files or tests. Start by locating existing notebook lint or problem checks in the Quarto codebase, then determine how to report duplicate labels with an underline and tooltip; done means duplicate chunk titles are detected before rendering and surfaced while editing.

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

描述

vscode

Migrating https://github.com/posit-dev/positron/issues/15461.

System details:

Positron and OS details:

Positron Version: 2026.08.0 build 331
Code - OSS Version: 1.124.0
Commit: a3a370d4187484ce962794408c76dab702978eaf
Date: 2026-08-05T17:02:37-07:00
Electron: 42.2.0
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Darwin arm64 25.5.0

Session details:

R 4.4.0
Quarto 1.7.32

Describe the issue:

When authoring qmd notebooks, especially for batch rendering/execution on an HPC cluster, a headache is having the job fail because quarto throws an error for a duplicate chunk title. This is hard to notice ahead of time in long qmds with many chunks.

Expected or desired behavior:

I would like a lint / problem check with underline + tooltip warning for duplicate chunk titles (e.g., "#| label: " value) in when editing qmd notebooks.

Thanks for considering!

主要语言
TypeScript
星标
665
派生
69
平均合并
2 天 4 小时
30 天内合并 PR
14

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

quarto-dev/quarto 的其他 Issue

查看 quarto-dev/quarto 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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