Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature Request: Add Outline Support for Named Code Sections in R Code Chunks

Đang mở
#918 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
r
Lĩnh vực
developer-experience

Hướng nghiên cứu

Start by locating the Quarto outline/navigation handling for R code chunks and how named sections are currently detected. Use the example headers in the issue as cases to verify, and consider the work complete when “Section One”, “Section Two”, and “Section Three” appear in the outline for an R chunk.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

vscode
Summary

In Positron (but not RStudio), named code sections and headers (e.g., # Section One ----, # Section Two ====) within R code chunks in Quarto documents are recognized and appear in the document outline, aiding navigation. Currently, these sections are not detected in the outline feature when editing Quarto documents, resulting in a loss of navigation usefulness compared to RStudio (see video below).

Motivation
  • Improves Quarto IDE navigation for R users adopting Positron
  • Increases parity between RStudio, Positron, and Quarto experience
  • Helps users organize complex R scripts within Quarto documents
Example

A Quarto R code chunk such as:

#| label: test

# Section One ----
# Section Two ====
### Section Three ####

Should show “Section One”, “Section Two”, and “Section Three” in the outline panel for fast navigation, the way RStudio currently does.

Related Context
Feature Request

Please implement recognition of section headers inside R code chunks of Quarto documents, so they appear in the IDE’s Outline/navigation pane, matching RStudio user experience.

https://github.com/user-attachments/assets/45522318-b6d3-44fa-9884-1afe9f1b785c

Ngôn ngữ chính
TypeScript
Star
655
Fork
64
Merge trung bình
20 giờ 53 phút
Pull request đã merge (30 ngày)
46

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của quarto-dev/quarto

Tất cả issue của quarto-dev/quarto

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.