Switching programming languages clears editor undo history
I maintainer di solito rispondono entro 1 giorno
@Chingyong0905 ci sta già lavorando.
Dal 19/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Observed behavior
Switching programming languages clears the code editor's undo history, even though the code itself is preserved.
As a result, users cannot undo previous edits or recover accidentally deleted code after switching back to the original language.
Expected behavior
Each programming language should retain its own undo/redo history when switching between languages during an interview.
Reproduction
- Start a coding interview, select Python (for example), and enter a few lines of code.
- Delete a line and press
Ctrl+Zto confirm that undo works. - Delete the line again.
- Switch to any other supported programming language, then switch back to Python.
- Press
Ctrl+Zagain. The deleted line can no longer be restored after switching back to Python.
This issue occurs regardless of which programming language is selected during the switch.
CodeTrial version
codetrial 0.1.0 (5b4d8c7)
Environment
OS: Windows 11 Home Single Language, Version 25H2 (Build 26200.9711)
Browser: Google Chrome 155.0.8059.80 (64-bit)
Language: All supported programming languages (Python, JavaScript, C, C++, Java)
Interview loop: Coding interview
Problem: Sensor Calibration Index (LeetCode 108)
REACTO or STAR step: Code
Reconnect: None
Sanitized evidence
No response
Public data confirmation
- I removed credentials, session tokens, candidate recordings, and personal interview content from this public report.
- Lingua principale
- Rust
- Stelle
- 177
- Fork
- 100
- Merge medio
- 1g 10h
- PR unite (30g)
- 135
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sysprog21/codetrial
-
Audio output can be confirmed without playing a test soundForse già presa @ChenYingHan1121 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
sysprog21/codetrial#359 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add a Copy code button to the final reportForse già presa @yansawu l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
sysprog21/codetrial#318 · 5 commenti · 2 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
C tests accept a wrong next pointer on the last node in Org Chart Row NavigationForse già presa @winter77777 l’ha presa 1 giorno fa. Aperta
sysprog21/codetrial#370 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
"Let me think about it for a moment" does not start a thinking holdForse già presa @PeteChiang1211 l’ha presa 1 giorno fa. Aperta
sysprog21/codetrial#369 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
sysprog21/codetrial#368 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sysprog21/codetrial
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
home-assistant/installer#308 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
swc-project/swc-next#1053 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nautechsystems/nautilus_trader#5387 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
NomicFoundation/edr#1872 ·
I maintainer di solito rispondono entro 2 giorni
-
What happened to `check.py`?Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
linebender/resvg#1179 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni