✨ Scroll and cursor position in file are lost when switching to another file and then back
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
In der Issue wird keine Datei und kein Test genannt. Beginne damit, den Tab-Wechselablauf in CodeEdit zu reproduzieren, und verfolge, wo der Cursor- und Scrollzustand der geöffneten Datei behandelt werden; abgeschlossen bedeutet, dass beim Zurückkehren zu einer zuvor geöffneten Datei beide Positionen wiederhergestellt werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Swift
- Sterne
- 23k
- Forks
- 1.2k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CodeEditApp/CodeEdit
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
CodeEditApp/CodeEdit#2190 ·
-
Is this project dead? Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 15/100
CodeEditApp/CodeEdit#2195 · 7 Reaktionen ·
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
CodeEditApp/CodeEdit#2185 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
CodeEditApp/CodeEdit#2181 ·
-
creashes on starting Offenbug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
CodeEditApp/CodeEdit#2180 ·
Alle Issues in CodeEditApp/CodeEdit
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
-
T-Defect
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
element-hq/element-x-ios#6191 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
googleapis/google-cloud-swift#1106 ·