Module Vscode_json.Tasks

val file : string
val filename : string
val version : string
type 'a string_or =
  1. | String of string
  2. | Or of 'a
val pp_string_or : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> 'a string_or -> Ppx_deriving_runtime.unit
val show_string_or : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> 'a string_or -> Ppx_deriving_runtime.string
val string_or_enc : 'a Json_encoding.encoding -> 'a string_or Json_encoding.encoding
type runOptions = {
  1. reevaluateOnRerun : bool option;
  2. runOn : string option;
}

* A description to when and how run a task.

val runOptions_enc : runOptions Json_encoding.encoding
val pp_runOptions : Ppx_deriving_runtime.Format.formatter -> runOptions -> Ppx_deriving_runtime.unit
val show_runOptions : runOptions -> Ppx_deriving_runtime.string
type problemPattern = {
  1. regexp : string;
  2. kind : string option;
  3. file : int;
  4. location : int option;
  5. line : int option;
  6. column : int option;
  7. endLine : int option;
  8. endColumn : int option;
  9. severity : int option;
  10. code : int option;
  11. message : int;
  12. loop : bool option;
}
val problemPattern_enc : problemPattern Json_encoding.encoding
val pp_problemPattern : Ppx_deriving_runtime.Format.formatter -> problemPattern -> Ppx_deriving_runtime.unit
val show_problemPattern : problemPattern -> Ppx_deriving_runtime.string
type backgroundMatcher = {
  1. activeOnStart : bool option;
  2. beginsPattern : string option;
  3. endsPattern : string option;
}

* A description to track the start and end of a background task.

val backgroundMatcher_enc : backgroundMatcher Json_encoding.encoding
val pp_backgroundMatcher : Ppx_deriving_runtime.Format.formatter -> backgroundMatcher -> Ppx_deriving_runtime.unit
val show_backgroundMatcher : backgroundMatcher -> Ppx_deriving_runtime.string
type problemMatcher = {
  1. base : string option;
  2. owner : string option;
  3. severity : string option;
  4. fileLocation : string Manifest.list_or_one;
  5. pattern : problemPattern list string_or option;
  6. background : backgroundMatcher option;
}

* A description of a problem matcher that detects problems * in build output.

val problemMatcher_enc : problemMatcher Json_encoding.encoding
val pp_problemMatcher : Ppx_deriving_runtime.Format.formatter -> problemMatcher -> Ppx_deriving_runtime.unit
val show_problemMatcher : problemMatcher -> Ppx_deriving_runtime.string
type presentationOptions = {
  1. reveal : string option;
  2. echo : bool;
  3. focus : bool;
  4. panel : string option;
  5. showReuseMessage : bool option;
  6. clear : bool;
  7. group : string option;
}
val presentationOptions_enc : presentationOptions Json_encoding.encoding
val pp_presentationOptions : Ppx_deriving_runtime.Format.formatter -> presentationOptions -> Ppx_deriving_runtime.unit
val show_presentationOptions : presentationOptions -> Ppx_deriving_runtime.string
type groupDescription = {
  1. kind : string option;
  2. isDefault : bool;
}
val groupDescription_enc : groupDescription Json_encoding.encoding
val pp_groupDescription : Ppx_deriving_runtime.Format.formatter -> groupDescription -> Ppx_deriving_runtime.unit
val show_groupDescription : groupDescription -> Ppx_deriving_runtime.string
type taskDescription = {
  1. label : string option;
  2. type_ : string;
  3. command : string;
  4. isBackground : bool option;
  5. args : string list;
  6. group : groupDescription string_or;
  7. presentation : presentationOptions option;
  8. problemMatcher : problemMatcher string_or Manifest.list_or_one;
  9. runOptions : runOptions option;
  10. dependsOn : string Manifest.list_or_one;
  11. dependsOrder : string option;
}

* The description of a task.

val taskDescription_enc : taskDescription Json_encoding.encoding
val pp_taskDescription : Ppx_deriving_runtime.Format.formatter -> taskDescription -> Ppx_deriving_runtime.unit
val show_taskDescription : taskDescription -> Ppx_deriving_runtime.string
type shellDescription = {
  1. executable : string;
  2. args : string list;
}
val shellDescription_enc : shellDescription Json_encoding.encoding
val pp_shellDescription : Ppx_deriving_runtime.Format.formatter -> shellDescription -> Ppx_deriving_runtime.unit
val show_shellDescription : shellDescription -> Ppx_deriving_runtime.string
type commandOptions = {
  1. cwd : string option;
  2. env : (string * string) list;
  3. shell : shellDescription option;
}

* Options to be passed to the external program or shell

val commandOptions_enc : commandOptions Json_encoding.encoding
val pp_commandOptions : Ppx_deriving_runtime.Format.formatter -> commandOptions -> Ppx_deriving_runtime.unit
val show_commandOptions : commandOptions -> Ppx_deriving_runtime.string
type baseTaskConfiguration = {
  1. type_ : string option;
  2. command : string option;
  3. isBackground : bool option;
  4. options : commandOptions option;
  5. args : string list;
  6. tasks : taskDescription list;
}
val baseTaskConfiguration_enc : baseTaskConfiguration Json_encoding.encoding
val pp_baseTaskConfiguration : Ppx_deriving_runtime.Format.formatter -> baseTaskConfiguration -> Ppx_deriving_runtime.unit
val show_baseTaskConfiguration : baseTaskConfiguration -> Ppx_deriving_runtime.string
type taskConfiguration = {
  1. base : baseTaskConfiguration;
    (*

    * The configuration's version number

    *)
  2. version : string;
  3. windows : baseTaskConfiguration option;
  4. osx : baseTaskConfiguration option;
  5. linux : baseTaskConfiguration option;
}
val taskConfiguration_enc : taskConfiguration Json_encoding.encoding
val pp_taskConfiguration : Ppx_deriving_runtime.Format.formatter -> taskConfiguration -> Ppx_deriving_runtime.unit
val show_taskConfiguration : taskConfiguration -> Ppx_deriving_runtime.string
val encoding : taskConfiguration Json_encoding.encoding
val pp : Ppx_deriving_runtime.Format.formatter -> taskConfiguration -> Ppx_deriving_runtime.unit