Sync FS events with collab-server state

Đang mở
#151 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

Start with the TODO in collab-server/src/server.ts around line 70 and inspect how collab-server currently handles filesystem writes. Reproduce or trace file and directory writes, renames, and deletes from the embedded terminal or workspace.fs, then evaluate whether a watcher such as nsfw fits. Done means these operations keep collab-server state synchronized.

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

Mô tả

enhancement

Besides operating through the VSCode UI (#150), users can also rename, delete, and write files/directories via the embedded terminal, and extensions can make workspace.fs operations. These actions do not emit workspace.onWill*Files events so must be handled by directly watching the filesystem in collab-server.

This TODO already mentions file writes, but we should handle the other operations also.

It may be beneficial to use a watcher with native rename detection, such as nsfw.

Ngôn ngữ chính
TypeScript
Star
12
Fork
1
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
66

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 leanprover/lean-workbench

Tất cả issue của leanprover/lean-workbench

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.