Closed umpox closed 1 week ago
event.waitUntil on onWillSaveTextDocument supports taking a void promise but it does not seem to reliably wait for it.
event.waitUntil
onWillSaveTextDocument
void
event.waitUntil also supports taking a promise of TextEdit[]. It seems it will guarantee the lines will be deleted before the save with this approach/
TextEdit[]
Description
event.waitUntil
ononWillSaveTextDocument
supports taking avoid
promise but it does not seem to reliably wait for it.event.waitUntil
also supports taking a promise ofTextEdit[]
. It seems it will guarantee the lines will be deleted before the save with this approach/Test plan