Virtual Method

IdeRunCommandprepare_to_run

Declaration

void
prepare_to_run (
  IdeRunCommand* self,
  IdeRunContext* run_context,
  IdeContext* context
)

Description

Prepares the run command to be run within run_context.

This requires that the run command add anything necessary to the run_context so that the command can be run.

Subclasses may override this to implement custom functionality such as locality-based execution (see shellcmd plugin).

Parameters

run_context

Type: IdeRunContext

An IdeRunContext.

The data is owned by the caller of the function.
context

Type: IdeContext

An IdeContext.

The data is owned by the caller of the function.