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: "Paste After", "Paste Before"

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

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
56/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ệ
csharp
Lĩnh vực
desktop

Hướng nghiên cứu

Start by locating the existing paste command and keyboard-shortcut definitions in XmlNotepad; the issue does not name specific files or tests. Determine how the current paste behavior chooses where to insert a node, then assess how “Paste Before” and “Paste After” should place the selected node as a sibling. Done means both commands work with the requested shortcuts: Ctrl+Shift+V and Ctrl+Alt+V.

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

Mô tả

I often edit a document that contains many child nodes (each one named "texts") under the document node. Each "texts" child node has a fixed structure of inner nodes and attributes:

Image

I usually keep one empty "texts" node as a template at the end of the list, and then copy and paste it to create new entries.
After selecting it, I press CTRL+C. But I cannot press CTRL+V, because it will be inserted as a child, not as a sibling. Instead, I have to press "POS1" and "DOWN" first to navigate do the document node.

Therefore, please add "Paste Before" (with shortcut CTRL+SHIFT+V) and "Paste After" (with shortcut CTRL+ALT+V).

Ngôn ngữ chính
C#
Star
1.2k
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 microsoft/XmlNotepad

Tất cả issue của microsoft/XmlNotepad

Issue tương tự

Thêm issue về C#

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.