Module Vscode_json.Manifest

val file : string
val filename : string
type any = Json_repr.ezjsonm
val any_enc : any Json_encoding.encoding
val any : string -> [> Ezjsonm.t ]
type 'a list_or_one = 'a list
val pp_list_or_one : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> 'a list_or_one -> Ppx_deriving_runtime.unit
val show_list_or_one : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> 'a list_or_one -> Ppx_deriving_runtime.string
val pp_any : 'a -> 'b -> unit
val list_or_one_enc : 'a Json_encoding.encoding -> 'a list Json_encoding.encoding
type repository = {
  1. type_ : string option;
  2. url : string;
}
val repository_enc : repository Json_encoding.encoding
val pp_repository : Ppx_deriving_runtime.Format.formatter -> repository -> Ppx_deriving_runtime.unit
val show_repository : repository -> Ppx_deriving_runtime.string
type engines = {
  1. vscode : string;
}
val engines_enc : engines Json_encoding.encoding
val pp_engines : Ppx_deriving_runtime.Format.formatter -> engines -> Ppx_deriving_runtime.unit
val show_engines : engines -> Ppx_deriving_runtime.string
val engines : vscode:string -> engines
type author = {
  1. author_name : string;
  2. author_email : string option;
}
val pp_author : Ppx_deriving_runtime.Format.formatter -> author -> Ppx_deriving_runtime.unit
val show_author : author -> Ppx_deriving_runtime.string
val author_enc : author Json_encoding.encoding
type bug = {
  1. bug_url : string option;
  2. bug_email : string option;
}
val bug_enc : bug Json_encoding.encoding
val pp_bug : Ppx_deriving_runtime.Format.formatter -> bug -> Ppx_deriving_runtime.unit
val show_bug : bug -> Ppx_deriving_runtime.string
type package = {
  1. name : string;
  2. displayName : string;
  3. description : string;
  4. license : string option;
  5. version : string;
  6. repository : repository option;
  7. homepage : string option;
  8. author : author option;
  9. keywords : string list;
  10. main : string option;
  11. browser : string option;
  12. scripts : (string * string) list;
  13. dependencies : (string * string) list;
  14. devDependencies : (string * string) list;
  15. bugs : bug option;
}
val package_enc : package Json_encoding.encoding
val pp_package : Ppx_deriving_runtime.Format.formatter -> package -> Ppx_deriving_runtime.unit
val show_package : package -> Ppx_deriving_runtime.string
val package : displayName:string -> description:string -> ?license:string -> version:string -> ?repository:repository -> ?homepage:string -> ?author:author -> ?keywords:string list -> ?main:string -> ?browser:string -> ?scripts:(string * string) list -> ?dependencies:(string * string) list -> ?devDependencies:(string * string) list -> ?bugs:bug -> string -> package
type breakpoint = {
  1. language : string;
}
val breakpoint_enc : breakpoint Json_encoding.encoding
val pp_breakpoint : Ppx_deriving_runtime.Format.formatter -> breakpoint -> Ppx_deriving_runtime.unit
val show_breakpoint : breakpoint -> Ppx_deriving_runtime.string
val breakpoint : string -> breakpoint
type color_defaults = {
  1. color_dark : string option;
  2. color_light : string option;
  3. color_highContrast : string option;
  4. color_highContrastLight : string option;
}
val color_defaults_enc : color_defaults Json_encoding.encoding
val pp_color_defaults : Ppx_deriving_runtime.Format.formatter -> color_defaults -> Ppx_deriving_runtime.unit
val show_color_defaults : color_defaults -> Ppx_deriving_runtime.string
type color = {
  1. color_id : string;
  2. color_description : string;
  3. color_defaults : color_defaults;
}
val color_enc : color Json_encoding.encoding
val pp_color : Ppx_deriving_runtime.Format.formatter -> color -> Ppx_deriving_runtime.unit
val show_color : color -> Ppx_deriving_runtime.string
type command_icon = {
  1. icon_light : string;
  2. icon_dark : string;
}
val pp_command_icon : Ppx_deriving_runtime.Format.formatter -> command_icon -> Ppx_deriving_runtime.unit
val show_command_icon : command_icon -> Ppx_deriving_runtime.string
val command_icon_enc : command_icon Json_encoding.encoding
type command = {
  1. command_command : string;
  2. command_title : string;
  3. command_category : string option;
  4. command_icon : command_icon option;
  5. command_enablement : string option;
}
val command_enc : command Json_encoding.encoding
val pp_command : Ppx_deriving_runtime.Format.formatter -> command -> Ppx_deriving_runtime.unit
val show_command : command -> Ppx_deriving_runtime.string
val command : command:string -> title:string -> ?category:string -> ?icon:command_icon -> ?enablement:string -> unit -> command
type property = {
  1. prop_title : string option;
  2. prop_markdownDescription : string option;
  3. prop_deprecationMessage : string option;
  4. prop_type : any;
  5. prop_default : any option;
  6. prop_description : string option;
  7. prop_scope : string option;
  8. prop_items : any option;
  9. prop_uniqueItems : bool option;
  10. prop_enum : string list;
  11. prop_enumDescriptions : string list;
  12. prop_minimum : int option;
  13. prop_maximum : int option;
  14. prop_minItems : int option;
  15. prop_order : int option;
}
val property_enc : property Json_encoding.encoding
val pp_property : Ppx_deriving_runtime.Format.formatter -> property -> Ppx_deriving_runtime.unit
val show_property : property -> Ppx_deriving_runtime.string
val property : ?title:string -> ?markdownDescription:string -> ?deprecationMessage:string -> ?type_:any -> ?default:any -> ?description:string -> ?scope:string -> ?items:any -> ?uniqueItems:bool -> ?enum:string list -> ?enumDescriptions:string list -> ?minimum:int -> ?maximum:int -> ?minItems:int -> ?order:int -> 'a -> 'a * property
module PROPERTY : sig ... end
type configuration = {
  1. conf_type : string option;
  2. conf_title : string option;
  3. conf_properties : (string * property) list;
}
val configuration_enc : configuration Json_encoding.encoding
val pp_configuration : Ppx_deriving_runtime.Format.formatter -> configuration -> Ppx_deriving_runtime.unit
val show_configuration : configuration -> Ppx_deriving_runtime.string
val configuration : ?title:string -> (string * property) list -> configuration
type selector = {
  1. filenamePattern : string;
}
val selector_enc : selector Json_encoding.encoding
val pp_selector : Ppx_deriving_runtime.Format.formatter -> selector -> Ppx_deriving_runtime.unit
val show_selector : selector -> Ppx_deriving_runtime.string
type customEditor = {
  1. edit_viewType : string;
  2. edit_displayName : string;
  3. edit_selector : selector list;
  4. edit_priority : string option;
}
val customEditor_enc : customEditor Json_encoding.encoding
val pp_customEditor : Ppx_deriving_runtime.Format.formatter -> customEditor -> Ppx_deriving_runtime.unit
val show_customEditor : customEditor -> Ppx_deriving_runtime.string
type debugger = {
  1. debugger_type : string;
  2. debugger_label : string;
  3. debugger_program : string option;
  4. debugger_runtime : string option;
  5. debugger_variables : (string * string) list;
  6. debugger_languages : string list;
  7. debugger_configurationAttributes : any option;
  8. debugger_initialConfigurations : any list;
  9. debugger_configurationSnippets : any list;
}
val debugger_enc : debugger Json_encoding.encoding
val pp_debugger : Ppx_deriving_runtime.Format.formatter -> debugger -> Ppx_deriving_runtime.unit
val show_debugger : debugger -> Ppx_deriving_runtime.string
val debugger : label:string -> ?program:string -> ?runtime:string -> ?variables:(string * string) list -> ?languages:string list -> ?configurationAttributes:any -> ?initialConfigurations:any list -> ?configurationSnippets:any list -> string -> debugger
type grammar = {
  1. grammar_language : string option;
  2. grammar_scopeName : string;
  3. grammar_path : string;
  4. grammar_injectTo : string list;
  5. grammar_embeddedLanguages : (string * string) list;
}
val grammar_enc : grammar Json_encoding.encoding
val pp_grammar : Ppx_deriving_runtime.Format.formatter -> grammar -> Ppx_deriving_runtime.unit
val show_grammar : grammar -> Ppx_deriving_runtime.string
val grammar : ?language:string -> scopeName:string -> path:string -> ?injectTo:string list -> ?embeddedLanguages:(string * string) list -> unit -> grammar
type icon = {
  1. icon_description : string;
  2. icon_default : (string * string) list;
}
val icon_enc : icon Json_encoding.encoding
val pp_icon : Ppx_deriving_runtime.Format.formatter -> icon -> Ppx_deriving_runtime.unit
val show_icon : icon -> Ppx_deriving_runtime.string
type iconTheme = {
  1. iconTheme_id : string;
  2. iconTheme_label : string;
  3. iconTheme_path : string;
}
val iconTheme_enc : iconTheme Json_encoding.encoding
val pp_iconTheme : Ppx_deriving_runtime.Format.formatter -> iconTheme -> Ppx_deriving_runtime.unit
val show_iconTheme : iconTheme -> Ppx_deriving_runtime.string
type jsonValidation = {
  1. jsonValidation_fileMatch : string;
  2. jsonValidation_url : string;
}
val jsonValidation_enc : jsonValidation Json_encoding.encoding
val pp_jsonValidation : Ppx_deriving_runtime.Format.formatter -> jsonValidation -> Ppx_deriving_runtime.unit
val show_jsonValidation : jsonValidation -> Ppx_deriving_runtime.string
val jsonValidation : fileMatch:string -> url:string -> jsonValidation
type tomlValidation = {
  1. tomlValidation_fileMatch : string;
  2. tomlValidation_url : string;
}
val tomlValidation_enc : tomlValidation Json_encoding.encoding
val pp_tomlValidation : Ppx_deriving_runtime.Format.formatter -> tomlValidation -> Ppx_deriving_runtime.unit
val show_tomlValidation : tomlValidation -> Ppx_deriving_runtime.string
val tomlValidation : fileMatch:string -> url:string -> tomlValidation
type keybinding = {
  1. key_command : string;
  2. key_key : string;
  3. key_mac : string option;
  4. key_when : string option;
  5. key_args : (string * string) list;
}
val keybinding_enc : keybinding Json_encoding.encoding
val pp_keybinding : Ppx_deriving_runtime.Format.formatter -> keybinding -> Ppx_deriving_runtime.unit
val show_keybinding : keybinding -> Ppx_deriving_runtime.string
val keybinding : key:string -> ?mac:string -> ?when_:string -> ?args:(string * string) list -> string -> keybinding
type language = {
  1. lang_id : string;
  2. lang_extensions : string list;
  3. lang_aliases : string list;
  4. lang_filenames : string list;
  5. lang_filenamePatterns : string list;
  6. lang_firstLine : string option;
  7. lang_configuration : string option;
  8. lang_icon : command_icon option;
}
val language_enc : language Json_encoding.encoding
val pp_language : Ppx_deriving_runtime.Format.formatter -> language -> Ppx_deriving_runtime.unit
val show_language : language -> Ppx_deriving_runtime.string
val language : ?extensions:string list -> ?aliases:string list -> ?filenames:string list -> ?filenamePatterns:string list -> ?firstLine:string -> ?configuration:string -> ?icon:command_icon -> string -> language
type menu = {
  1. menu_command : string option;
  2. menu_group : string option;
  3. menu_when : string option;
  4. menu_key : string option;
  5. menu_submenu : string option;
}
val menu_enc : menu Json_encoding.encoding
val pp_menu : Ppx_deriving_runtime.Format.formatter -> menu -> Ppx_deriving_runtime.unit
val show_menu : menu -> Ppx_deriving_runtime.string
val menu : ?command:string -> ?group:string -> ?when_:string -> ?key:string -> ?submenu:string -> unit -> menu
type fileLocation = string list
val pp_fileLocation : Ppx_deriving_runtime.Format.formatter -> fileLocation -> Ppx_deriving_runtime.unit
val show_fileLocation : fileLocation -> Ppx_deriving_runtime.string
val fileLocation_enc : string list Json_encoding.encoding
type problemPattern = {
  1. pat_name : string option;
  2. pat_regexp : string option;
  3. pat_file : int option;
  4. pat_line : int option;
  5. pat_endLine : int option;
  6. pat_column : int option;
  7. pat_endColumn : int option;
  8. pat_severity : int option;
  9. pat_code : int option;
  10. pat_location : int option;
  11. pat_message : int option;
  12. pat_loop : bool option;
  13. pat_patterns : problemPattern list;
}
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
val problemPattern : ?name:string -> ?file:int -> ?line:int -> ?endLine:int -> ?column:int -> ?endColumn:int -> ?severity:int -> ?code:int -> ?location:int -> ?message:int -> ?loop:bool -> string option -> problemPattern
type pattern =
  1. | ProblemPattern of problemPattern
  2. | ProblemName of string
val pp_pattern : Ppx_deriving_runtime.Format.formatter -> pattern -> Ppx_deriving_runtime.unit
val show_pattern : pattern -> Ppx_deriving_runtime.string
val pattern_enc : pattern Json_encoding.encoding
type problemMatcher = {
  1. pm_name : string;
  2. pm_owner : string option;
  3. pm_fileLocation : fileLocation;
  4. pm_pattern : pattern list_or_one;
  5. pm_source : string option;
  6. pm_severity : string option;
}
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
val problemMatcher : name:string -> ?owner:string -> ?fileLocation:fileLocation -> ?pattern:pattern list_or_one -> ?source:string -> ?severity:string -> unit -> problemMatcher
type productIconTheme = {
  1. pit_id : string;
  2. pit_label : string;
  3. pit_path : string;
}
val productIconTheme_enc : productIconTheme Json_encoding.encoding
val pp_productIconTheme : Ppx_deriving_runtime.Format.formatter -> productIconTheme -> Ppx_deriving_runtime.unit
val show_productIconTheme : productIconTheme -> Ppx_deriving_runtime.string
type snippet = {
  1. snippet_language : string;
  2. snippet_path : string;
}
val snippet_enc : snippet Json_encoding.encoding
val pp_snippet : Ppx_deriving_runtime.Format.formatter -> snippet -> Ppx_deriving_runtime.unit
val show_snippet : snippet -> Ppx_deriving_runtime.string
val snippet : language:string -> path:string -> snippet
type submenu = {
  1. submenu_id : string;
  2. submenu_label : string;
}
val submenu_enc : submenu Json_encoding.encoding
val pp_submenu : Ppx_deriving_runtime.Format.formatter -> submenu -> Ppx_deriving_runtime.unit
val show_submenu : submenu -> Ppx_deriving_runtime.string
val submenu : id:string -> label:string -> submenu
type taskDefinition = {
  1. task_type : string;
  2. task_required : string list;
  3. task_properties : (string * property) list;
}
val taskDefinition_enc : taskDefinition Json_encoding.encoding
val pp_taskDefinition : Ppx_deriving_runtime.Format.formatter -> taskDefinition -> Ppx_deriving_runtime.unit
val show_taskDefinition : taskDefinition -> Ppx_deriving_runtime.string
val taskDefinition : ?required:string list -> ?properties:(string * property) list -> string -> taskDefinition
type view = {
  1. view_id : string;
  2. view_name : string;
  3. view_when : string option;
  4. view_icon : string option;
  5. view_contextualTitle : string option;
}
val view_enc : view Json_encoding.encoding
val pp_view : Ppx_deriving_runtime.Format.formatter -> view -> Ppx_deriving_runtime.unit
val show_view : view -> Ppx_deriving_runtime.string
val view : id:string -> name:string -> ?when_:string -> ?icon:string -> ?contextualTitle:string -> unit -> view
type viewsContainer = {
  1. vc_id : string;
  2. vc_title : string;
  3. vc_icon : string option;
}
val viewsContainer_enc : viewsContainer Json_encoding.encoding
val pp_viewsContainer : Ppx_deriving_runtime.Format.formatter -> viewsContainer -> Ppx_deriving_runtime.unit
val show_viewsContainer : viewsContainer -> Ppx_deriving_runtime.string
val viewsContainer : id:string -> title:string -> ?icon:string -> unit -> viewsContainer
type viewsWelcome = {
  1. vw_view : string;
  2. vw_contents : string;
  3. vw_when : string option;
}
val viewsWelcome_enc : viewsWelcome Json_encoding.encoding
val pp_viewsWelcome : Ppx_deriving_runtime.Format.formatter -> viewsWelcome -> Ppx_deriving_runtime.unit
val show_viewsWelcome : viewsWelcome -> Ppx_deriving_runtime.string
val viewsWelcome : view:string -> contents:string -> ?when_:string -> unit -> viewsWelcome
type configurationDefaults = (string * any) list
val configurationDefaults_enc : configurationDefaults Json_encoding.encoding
val pp_configurationDefaults : Ppx_deriving_runtime.Format.formatter -> configurationDefaults -> Ppx_deriving_runtime.unit
val show_configurationDefaults : configurationDefaults -> Ppx_deriving_runtime.string
type configurationDefault =
  1. | Default of string
  2. | Defaults of (string * any) list
val pp_configurationDefault : Ppx_deriving_runtime.Format.formatter -> configurationDefault -> Ppx_deriving_runtime.unit
val show_configurationDefault : configurationDefault -> Ppx_deriving_runtime.string
val configurationDefault_enc : configurationDefault Json_encoding.encoding
type contributes = {
  1. breakpoints : breakpoint list;
  2. colors : color list;
  3. commands : command list;
  4. configuration : configuration option;
  5. configurationDefaults : (string * configurationDefault) list;
  6. customEditors : customEditor list;
  7. debuggers : debugger list;
  8. grammars : grammar list;
  9. icons : icon list;
  10. iconThemes : iconTheme list;
  11. jsonValidation : jsonValidation list;
  12. tomlValidation : tomlValidation list;
  13. keybindings : keybinding list;
  14. languages : language list;
  15. menus : (string * menu list) list;
  16. problemMatchers : problemMatcher list;
  17. problemPatterns : problemPattern list;
  18. productIconThemes : productIconTheme list;
  19. snippets : snippet list;
  20. submenus : submenu list;
  21. taskDefinitions : taskDefinition list;
  22. views : (string * view list) list;
  23. viewsContainers : (string * viewsContainer list) list;
  24. viewsWelcome : viewsWelcome list;
  25. resourceLabelFormatters : any option;
  26. semanticTokenModifiers : any option;
  27. semanticTokenScopes : any list;
  28. semanticTokenTypes : any option;
  29. terminal : any option;
  30. themes : any option;
  31. typescriptServerPlugins : any option;
  32. walkthroughs : any option;
}
val contributes_enc : contributes Json_encoding.encoding
val pp_contributes : Ppx_deriving_runtime.Format.formatter -> contributes -> Ppx_deriving_runtime.unit
val show_contributes : contributes -> Ppx_deriving_runtime.string
val contributes : ?breakpoints:breakpoint list -> ?colors:color list -> ?commands:command list -> ?configuration:configuration -> ?configurationDefaults:(string * configurationDefault) list -> ?customEditors:customEditor list -> ?debuggers:debugger list -> ?grammars:grammar list -> ?icons:icon list -> ?iconThemes:iconTheme list -> ?jsonValidation:jsonValidation list -> ?tomlValidation:tomlValidation list -> ?keybindings:keybinding list -> ?languages:language list -> ?menus:(string * menu list) list -> ?problemMatchers:problemMatcher list -> ?problemPatterns:problemPattern list -> ?productIconThemes:productIconTheme list -> ?snippets:snippet list -> ?submenus:submenu list -> ?taskDefinitions:taskDefinition list -> ?views:(string * view list) list -> ?viewsContainers:(string * viewsContainer list) list -> ?viewsWelcome:viewsWelcome list -> ?semanticTokenScopes:any list -> unit -> contributes
type sponsor = {
  1. sponsor_url : string;
}
val sponsor_enc : sponsor Json_encoding.encoding
val pp_sponsor : Ppx_deriving_runtime.Format.formatter -> sponsor -> Ppx_deriving_runtime.unit
val show_sponsor : sponsor -> Ppx_deriving_runtime.string
val sponsor : string -> sponsor
type galleryBanner = {
  1. gallery_color : string option;
  2. gallery_theme : string option;
}
val galleryBanner_enc : galleryBanner Json_encoding.encoding
val pp_galleryBanner : Ppx_deriving_runtime.Format.formatter -> galleryBanner -> Ppx_deriving_runtime.unit
val show_galleryBanner : galleryBanner -> Ppx_deriving_runtime.string
val galleryBanner : ?color:string -> ?theme:string -> unit -> galleryBanner
type marketplace = {
  1. publisher : string;
  2. categories : string list;
  3. icon : string option;
  4. preview : bool option;
  5. badges : string list;
  6. markdown : string option;
  7. qna : string option;
  8. sponsor : sponsor option;
  9. galleryBanner : galleryBanner option;
}
val marketplace_enc : marketplace Json_encoding.encoding
val pp_marketplace : Ppx_deriving_runtime.Format.formatter -> marketplace -> Ppx_deriving_runtime.unit
val show_marketplace : marketplace -> Ppx_deriving_runtime.string
val marketplace : ?categories:string list -> ?icon:string -> ?preview:bool -> ?badges:string list -> ?markdown:string -> ?qna:string -> ?sponsor:sponsor -> ?galleryBanner:galleryBanner -> string -> marketplace
type vscode = {
  1. engines : engines;
  2. activationEvents : string list;
  3. contributes : contributes option;
  4. extensionKind : string list;
  5. extensionPack : string list;
  6. extensionDependencies : string list;
  7. package : package;
  8. marketplace : marketplace;
}
val vscode_enc : vscode Json_encoding.encoding
val make_engines : vscode:string -> engines
val vscode : engines:string -> ?activationEvents:string list -> ?contributes:contributes -> ?extensionKind:string list -> ?extensionPack:string list -> ?extensionDependencies:string list -> marketplace:marketplace -> package -> vscode