✨ Scroll and cursor position in file are lost when switching to another file and then back
まだ誰も着手していません。
評価
調査の方向性
issue ではファイルもテストも指定されていません。まず CodeEdit でタブ切り替えのフローを再現し、開いているファイルのカーソルとスクロール状態がどこで処理されているかを追跡します。完了条件は、以前開いていたファイルに戻ったときに両方の位置が復元されることです。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Swift
- スター
- 23k
- フォーク
- 1.2k
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeEditApp/CodeEdit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CodeEditApp/CodeEdit#2190 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
CodeEditApp/CodeEdit#2195 · リアクション 5 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
CodeEditApp/CodeEdit#2185 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
CodeEditApp/CodeEdit#2181 ·
-
creashes on starting オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
CodeEditApp/CodeEdit#2180 ·
CodeEditApp/CodeEdit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
manaflow-ai/cmux#13763 ·
-
type: feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
googleapis/google-cloud-swift#1036 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
wultra/mtoken-sdk-ios#253 ·
-
area:dictation documentation P2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
uttrflow/uttrflow-swift#1180 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100