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

Add option for Markdown-style hierarchical outline in .Rmd files

Đang mở
#1,692 1 bình luận 3 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
48/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ệ
markdown, r, typescript

Hướng nghiên cứu

Bắt đầu bằng việc điều tra phần triển khai language server và settings.json files.associations workaround được mô tả trong issue. So sánh outline .Rmd hiện tại với hệ thống phân cấp Markdown của VS Code, sau đó xác minh các chế độ có thể cấu hình headings-only, headings+chunks và full code-symbol với các phần phân cấp và tính năng folding.

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

Mô tả

feature-request

For .Rmd files, please add an outline mode that matches standard markdown heading hierarchy in VS Code (for .md files). The problem with the current full outline is that:

  1. Every function in every cell, along with normal section headers (#, ##, ###) are all put in the outline, making it difficult to find what you need in large .Rmd files;
  2. The sections are not hierarchical. Normal .md files have hierarchical list (folding out using [+]).

Ideally this would be configurable with options, e.g. headings-only, headings+chunks, and full code symbols, so users can keep R Markdown editing features without losing the normal hierarchical document outline.

In the meantime, users can switch off Rmd-support with the plugin by adding the following to settings.json, so that VSCode uses normal markdown outlines for .Rmd files (but no R-plugin functionality either):

{
 "files.associations": {
      "*.Rmd": "markdown"
   }
}

I guess this would need changes in the languageserver implementation?

Ngôn ngữ chính
TypeScript
Star
1.2k
Fork
139
Merge trung bình
23 giờ 31 phút
Pull request đã merge (30 ngày)
13

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

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 REditorSupport/vscode-R

Tất cả issue của REditorSupport/vscode-R

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.