Avoid activating the extension in non-R projects

Đang mở
#1,922 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript, vscode
Lĩnh vực
tooling

Hướng nghiên cứu

The activation behaviour is set by the onStartupFinished entry in package.json, around line 40, which the issue links. Read the activationEvents section and check how VS Code's workspace-contains or language-based events could replace it. To reproduce, open a non-R folder and confirm the extension activates. Done means the extension stays inactive in unrelated workspaces and still activates for R files and R projects. The issue does not settle which trigger to use, so agree on that with maintainers first.

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

Mô tả

The onStartupFinished activation event activates the extension even in projects unrelated to R, unnecessarily consuming resources.

Could activation be limited to R-related workspaces and files instead?

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

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.