Overview

This functionality is available in InelliJ IDEA product. In all other platforms this functionality is not available.

New Local Process

One of the features of the IDEA and the plugin is to be able to start local KDB instance just by one click on a file.

You must set up the correct KDB SDK for your project or module.

Just right-click on any Q file in the project tree and select ‘Run ' menu:

runFromProject

IDEA provides the ability to run a process in ‘Debug’ mode or ‘Run tests Coverage’. For KDB process, there is no difference, and any of the options just start local KDB instance.

Please make sure you have correct module content is set up and source or content root folder is set correctly.

Modify Run Configuration

When you start a new process from the project tree, all required parameters are taken from module configuration and KDB SDK, but you can change all of them or add more parameters with ‘Modify Run Configuration’:

runModifyMenu

and in the opened dialog you can set:

  • Name of the run (you can select the process by the name from ‘Run’ menu)
  • Module that will be used as content and SDK source (the module must have KDB SDK as SDK)
  • Script path, that is filled from running file
  • Any process arguments, like _-p _ or any other KDB parameters
  • Working directory that will be used as the root for the file
  • Environment variables

runModifySetup

You can modify all these arguments later in Run/Debug Configuration dialog available from the main menu: runEditConfiguration