Open rlisahuang opened 1 year ago
The source of the problem is that in the web version, ViewMode
is still set to Full
despite that ModVars
is set to true
by default, while in the local version ViewMode
is set to Custom
. This discrepancy causes pressing Escape
in the web version to accidentally bring out all variables in PB instead of cancelling the code suggestion insertion.
More investigation is needed to fully resolve this issue. For now I did a simple hack -- tell PB that "leap is on" when Leap is constructed to avoid all keydown handling of Escape
in PB.
Fix in https://github.com/UCSD-PL/vscode/commit/77ea8cc1a4501059a1db3d654a4e5a75ee5cd50b
Suspect: race condition with some action also handled by
Escape
in RTV