✨ Scroll and cursor position in file are lost when switching to another file and then back
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
- 48/100
Hướng nghiên cứu
Issue không nêu tên tệp hay test nào. Hãy bắt đầu bằng cách tái hiện luồng chuyển tab trong CodeEdit và theo dõi nơi xử lý con trỏ cùng trạng thái cuộn của tệp đang mở; hoàn thành nghĩa là khi quay lại một tệp đã mở trước đó, cả hai vị trí đều được khôi phục.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
When you navigate inside a file, then you go to another file keeping the previous one open and when you get back to the first file, the scroll position and of the cursor location in the first file are lost, so it automatically shows up the top of that file.
To Reproduce
- Open the file a.cpp and navigate through it so you go to a specific cpp function inside that file.
- Open the file b.cpp in another tab while keeping the file a.cpp open in its tab.
- When you get back to the opened tab of the file a.cpp, you are redirected to the top of the file a.cpp.
So when you are focusing much on a specific function in a.cpp and just wanted to check something related to that in b.cpp, when you get back to the open tab of a.cpp, you completely lost the position of the cursor on the function that you were working on.
Expected Behavior
The position of the cursor in the open file that you left open in a tab for a while should be the same when you get back to it.
Version Information
CodeEdit: [0.3.2]
macOS: [14.1.2 (23B92)]
Additional Context
No response
Screenshots
No response
- Ngôn ngữ chính
- Swift
- Star
- 23k
- Fork
- 1.2k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeEditApp/CodeEdit
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CodeEditApp/CodeEdit#2190 ·
-
Is this project dead? Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 15/100
CodeEditApp/CodeEdit#2195 · 5 reaction ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
CodeEditApp/CodeEdit#2185 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
CodeEditApp/CodeEdit#2181 ·
-
creashes on starting Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
CodeEditApp/CodeEdit#2180 ·
Tất cả issue của CodeEditApp/CodeEdit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
maxgoedjen/secretive#840 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
manaflow-ai/cmux#13763 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
openwallet-foundation/multipaz#2028 ·