Vscode_json.Manifest
val any_enc : any Json_encoding.encoding
val any : string -> [> Ezjsonm.t ]
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 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
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
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
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 = {
name : string;
displayName : string;
description : string;
license : string option;
version : string;
repository : repository option;
homepage : string option;
keywords : string list;
main : string option;
browser : string option;
scripts : (string * string) list;
dependencies : (string * string) list;
devDependencies : (string * string) list;
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
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
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
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
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 = {
command_command : string;
command_title : string;
command_category : string option;
command_icon : command_icon option;
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 = {
prop_title : string option;
prop_markdownDescription : string option;
prop_deprecationMessage : string option;
prop_type : any;
prop_default : any option;
prop_description : string option;
prop_scope : string option;
prop_items : any option;
prop_uniqueItems : bool option;
prop_enum : string list;
prop_enumDescriptions : string list;
prop_minimum : int option;
prop_maximum : int option;
prop_minItems : int option;
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 = {
conf_type : string option;
conf_title : string option;
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
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 = {
edit_viewType : string;
edit_displayName : string;
edit_selector : selector list;
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 = {
debugger_type : string;
debugger_label : string;
debugger_program : string option;
debugger_runtime : string option;
debugger_variables : (string * string) list;
debugger_languages : string list;
debugger_configurationAttributes : any option;
debugger_initialConfigurations : any list;
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 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
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
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
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
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
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 = {
lang_id : string;
lang_extensions : string list;
lang_aliases : string list;
lang_filenames : string list;
lang_filenamePatterns : string list;
lang_firstLine : string option;
lang_configuration : string option;
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
val pp_fileLocation :
Ppx_deriving_runtime.Format.formatter ->
fileLocation ->
Ppx_deriving_runtime.unit
val show_fileLocation : fileLocation -> Ppx_deriving_runtime.string
type problemPattern = {
pat_name : string option;
pat_regexp : string option;
pat_file : int option;
pat_line : int option;
pat_endLine : int option;
pat_column : int option;
pat_endColumn : int option;
pat_severity : int option;
pat_code : int option;
pat_location : int option;
pat_message : int option;
pat_loop : bool option;
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
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 = {
pm_name : string;
pm_owner : string option;
pm_fileLocation : fileLocation;
pm_pattern : pattern list_or_one;
pm_source : string option;
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
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
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 taskDefinition = {
task_type : string;
task_required : string list;
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
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
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
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
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 = {
breakpoints : breakpoint list;
colors : color list;
commands : command list;
configuration : configuration option;
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;
problemMatchers : problemMatcher list;
problemPatterns : problemPattern list;
productIconThemes : productIconTheme list;
snippets : snippet list;
taskDefinitions : taskDefinition list;
views : (string * view list) list;
viewsContainers : (string * viewsContainer list) list;
viewsWelcome : viewsWelcome list;
resourceLabelFormatters : any option;
semanticTokenModifiers : any option;
semanticTokenScopes : any list;
semanticTokenTypes : any option;
terminal : any option;
themes : any option;
typescriptServerPlugins : any option;
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
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
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 = {
publisher : string;
categories : string list;
icon : string option;
preview : bool option;
badges : string list;
markdown : string option;
qna : string option;
sponsor : sponsor option;
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 = {
engines : engines;
activationEvents : string list;
contributes : contributes option;
extensionKind : string list;
extensionPack : string list;
extensionDependencies : string list;
package : package;
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