Repository navigation
Commit 68827af
authored
Open native REPL in active group when no tabs are open (#26210)
## Summary
- open a new native REPL in the active editor group when no tabs are
open
- preserve side-by-side placement when another tab is open and preserve
the column of an existing REPL
- add regression coverage for empty and non-empty editor layouts
## Testing
- `npx tsc -p . --pretty false`
- `npm run test:unittests -- --grep "REPL - command handler"`
- `npx eslint src/client/repl/replCommandHandler.ts
src/test/repl/replCommandHandler.unit.test.ts`
- `npx prettier --check src/client/repl/replCommandHandler.ts
src/test/repl/replCommandHandler.unit.test.ts`
Fixes #240101 parent 6a49757 commit 68827af
2 files changed
Lines changed: 28 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | | - | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments