You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -508,6 +508,26 @@ To do this:
508
508
509
509
1. Use a [Workbook](#workbooks) to execute q or Python code against the data in your scratchpad using the variable you provided.
510
510
511
+
### Reset scratchpad
512
+
513
+
The **Reset Scratchpad** option in kdb VS Code allows you to delete all the data from a connected instance and restart your development from scratch.
514
+
515
+
There are several ways to reset the scratchpad:
516
+
517
+
1. Right click on the appropriate connection on the left-hand side and select **Reset Scratchpad**. The connection can be either active or idle but it must be connected.
518
+
519
+

520
+
521
+
This displays a dialog box at the bottom right corner asking you to confirm your action.
522
+
523
+

524
+
525
+
2. Using the **Command Palette** in VSCode, start typing **Reset Scratchpad** and click on the option as it shows. This action resets the scratchpad for the active connection.
526
+
527
+

528
+
529
+
3. Use the [MacOS or Windows shortcuts](#shortcuts) in the q file or in the workbook. Note that running the shortcuts in the q file resets the scratchpad for the active connection, while running them in the workbook resets the scratchpad for the connection chosen in the workbook.
530
+
511
531
## Workbooks
512
532
513
533
Workbooks provide a convenient way to prototype and execute q and python code against a q process and using the variables [populated into the scratchpad](#populate-scratchpad) of a **kdb Insights Enterprise** deployment by data sources.
@@ -755,6 +775,7 @@ The following setting will change double click behaviour to select the whole ide
755
775
| Ctrl + Shift + D | Execute entire file |
756
776
| Ctrl + Shift + R | Run q file in new q instance |
757
777
| Ctrl + Shift + Y | Toggle paramater cache for lambda |
778
+
| Ctrl + Shift + Delete | Reset scratchpad |
758
779
759
780
### For MacOS
760
781
@@ -768,3 +789,4 @@ The following setting will change double click behaviour to select the whole ide
768
789
| ⌘ + Shift + D | Execute entire file |
769
790
| ⌘ + Shift + R | Run q file in new q instance |
770
791
| ⌘ + Shift + Y | Toggle paramater cache for lambda |
0 commit comments