Skip to content

Commit 33ade2e

Browse files
Update vscode_behaviors.md
1 parent a386cc3 commit 33ade2e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/vscode_behaviors.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,18 @@ for each extension.
1515
- In `Run & Debug` mode, closing the Debug IDE instance behaves differently depending on how it is closed
1616
- The regular close button in the Debug IDE instance results in a graceful shutdown
1717
- The red square in the root IDE instance to stop the debugging session results on a non-graceful shutdown, meaning `deactivate()` is not run.
18+
- `Reload Window` triggers `deactivate()`
1819

1920
Sources:
2021

2122
- [[1]](https://github.com/Microsoft/vscode/issues/47881#issuecomment-381910587)
2223
- [[2]](https://github.com/microsoft/vscode/issues/122825#issuecomment-814218149)
24+
25+
## State (`globalState`, `Memento`)
26+
27+
TODO:
28+
- How it behaves between remote (ssh) and local
29+
- How it is not completely reliable. Reads/writes have no guarantee to work (though we are fine in most cases)
30+
- How it can break as observed with crash monitoring work. At a certain point writes were seemingly succeeding, but did not actually propagate to all IDE instances.
31+
32+

0 commit comments

Comments
 (0)