Advanced Use

Watching Expressions

A watched expression is a variable who's value is retrieved every time any query is sent to the server, it allows easy watching of variable that are changing and may affect calculations. To add one:

  1. Click on the eye icon to bring the watched expression window to the front.
  2. Click where it says "Add Expression +"
  3. Type your expression and press enter
Watched Expressions

Notice in the image below, simple variables like lists have their values shown but because b is a table it just lists the columns then when we select it we see the entire table in the preview pane.

Auto-Completion

qStudio offers completion of q language keywords, kdb+ server variables and variables defined in open scripts. Simply type the start of a word, press Control+Space and options will appear, like so:

example autocompletion of user defined function