2020-10-03 18:04:18 +00:00
{
"name" : "texinfo" ,
"displayName" : "Texinfo Language Support" ,
2020-10-24 15:50:20 +00:00
"description" : "Syntax highlighting, code completion, folding and preview support for Texinfo." ,
2020-10-03 18:04:18 +00:00
"version" : "0.1.0" ,
"author" : {
"name" : "CismonX" ,
"email" : "admin@cismon.net" ,
"url" : "https://cismon.net"
} ,
"license" : "MIT" ,
"repository" : {
"type" : "git" ,
2020-10-04 12:40:54 +00:00
"url" : "https://github.com/texinfo-lang/vscode-texinfo"
2020-10-03 18:04:18 +00:00
} ,
2020-10-04 20:24:15 +00:00
"icon" : "assets/texinfo.png" ,
2020-10-04 18:16:08 +00:00
"devDependencies" : {
2020-10-29 18:09:33 +00:00
"@types/node" : "^14.14.6" ,
2020-10-10 17:36:05 +00:00
"@types/vscode" : "^1.50.0" ,
2020-10-04 18:16:08 +00:00
"@typescript-eslint/eslint-plugin" : "^3.8.0" ,
"@typescript-eslint/parser" : "^3.8.0" ,
2020-10-08 15:14:48 +00:00
"cson" : "^7.20.0" ,
2020-10-29 18:09:33 +00:00
"eslint" : "^7.12.1" ,
2020-10-08 15:14:48 +00:00
"language-texinfo" : "^1.0.0" ,
2020-10-29 18:09:33 +00:00
"typescript" : "^4.0.5"
2020-10-04 18:16:08 +00:00
} ,
"dependencies" : {
2020-10-29 18:09:33 +00:00
"node-html-parser" : "^1.4.3"
2020-10-04 18:16:08 +00:00
} ,
"scripts" : {
"vscode:prepublish" : "npm run lint && npm run build" ,
"compile" : "tsc -p ./" ,
"prepare" : "sh ./scripts/prepare.sh" ,
"build" : "npm run prepare && npm run compile" ,
"lint" : "eslint --ext ts --fix src" ,
"watch" : "tsc -watch -p ./"
} ,
2020-10-10 17:36:05 +00:00
"eslintConfig" : {
"root" : true ,
"parser" : "@typescript-eslint/parser" ,
"plugins" : [
"@typescript-eslint"
] ,
"extends" : [
"eslint:recommended" ,
"plugin:@typescript-eslint/recommended"
] ,
"rules" : {
2020-10-13 20:15:27 +00:00
"comma-dangle" : [
"warn" ,
"always-multiline"
] ,
"max-len" : [
"warn" ,
{
"code" : 120
}
] ,
2020-10-10 17:36:05 +00:00
"@typescript-eslint/explicit-module-boundary-types" : "off" ,
"@typescript-eslint/semi" : "warn"
}
} ,
2020-10-03 18:04:18 +00:00
"engines" : {
2020-10-10 17:36:05 +00:00
"vscode" : "^1.40.0"
2020-10-03 18:04:18 +00:00
} ,
"categories" : [
"Programming Languages" ,
2020-10-08 15:14:48 +00:00
"Snippets" ,
"Other"
2020-10-03 18:04:18 +00:00
] ,
"main" : "./out/extension.js" ,
"activationEvents" : [
"onLanguage:texinfo"
] ,
"contributes" : {
"commands" : [
{
2020-10-26 17:28:11 +00:00
"command" : "texinfo.preview.show" ,
2020-10-04 18:16:08 +00:00
"title" : "Show preview" ,
2020-10-03 18:04:18 +00:00
"icon" : "$(open-preview)"
}
] ,
"menus" : {
2020-10-04 18:16:08 +00:00
"commandPalette" : [
{
2020-10-26 17:28:11 +00:00
"command" : "texinfo.preview.show" ,
2020-10-04 18:16:08 +00:00
"when" : "editorLangId == texinfo" ,
"group" : "navigation"
}
] ,
2020-10-03 18:04:18 +00:00
"editor/title" : [
{
2020-10-26 17:28:11 +00:00
"command" : "texinfo.preview.show" ,
2020-10-03 18:04:18 +00:00
"when" : "editorLangId == texinfo" ,
"group" : "navigation"
}
]
} ,
2020-10-04 18:16:08 +00:00
"keybindings" : [
{
2020-10-26 17:28:11 +00:00
"command" : "texinfo.preview.show" ,
2020-10-04 18:16:08 +00:00
"key" : "ctrl+k v" ,
"mac" : "cmd+k v" ,
"when" : "editorLangId == texinfo"
}
] ,
2020-10-03 18:04:18 +00:00
"configuration" : {
"title" : "Texinfo" ,
"properties" : {
"texinfo.makeinfo" : {
"type" : "string" ,
"default" : "makeinfo" ,
2020-10-17 13:41:03 +00:00
"markdownDescription" : "Path to the `makeinfo` (or `texi2any`) command. If not located in `$PATH`, an absolute path should be specified.\n\nThe value should not contain any command-line arguments, just the filename."
2020-10-03 18:04:18 +00:00
} ,
2020-10-26 19:37:05 +00:00
"texinfo.completion.enableSnippets" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Show snippets in code completion items.\n\nIf disabled, only commands are shown."
} ,
"texinfo.completion.hideSnippetCommands" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "When snippet is enabled, hide the snippets' corresponding commands from completion items."
} ,
2020-10-03 18:04:18 +00:00
"texinfo.preview.noHeaders" : {
"type" : "boolean" ,
"default" : false ,
2020-10-17 13:41:03 +00:00
"markdownDescription" : "Suppress node separators in preview.\n\nThis corresponds to the `--no-headers` option of `makeinfo`."
2020-10-03 18:04:18 +00:00
} ,
"texinfo.preview.maxSize" : {
"type" : "integer" ,
"default" : "2" ,
2020-10-17 13:41:03 +00:00
"minimum" : 1 ,
"maximum" : 16 ,
2020-10-03 18:04:18 +00:00
"markdownDescription" : "Max allowed size (in MiB) for the preview document."
} ,
"texinfo.preview.errorLimit" : {
"type" : "integer" ,
"default" : 100 ,
2020-10-17 13:41:03 +00:00
"minimum" : 0 ,
2020-10-24 15:50:20 +00:00
"markdownDescription" : "Max number of errors before quit when trying to display preview.\n\nThis corresponds to the `--error-limit=NUM` option of `makeinfo`."
2020-10-03 18:04:18 +00:00
} ,
"texinfo.preview.force" : {
"type" : "boolean" ,
"default" : false ,
2020-10-17 13:41:03 +00:00
"markdownDescription" : "Preserve preview even if errors.\n\nThis corresponds to the `--force` option of `makeinfo`."
2020-10-03 18:04:18 +00:00
} ,
2020-10-17 13:41:03 +00:00
"texinfo.preview.noValidation" : {
2020-10-03 18:04:18 +00:00
"type" : "boolean" ,
"default" : false ,
2020-10-17 13:41:03 +00:00
"markdownDescription" : "Supress node cross-reference validation.\n\nThis corresponds to the `--no-validate` option of `makeinfo`."
2020-10-03 18:04:18 +00:00
} ,
2020-10-17 13:41:03 +00:00
"texinfo.preview.noWarnings" : {
2020-10-03 18:04:18 +00:00
"type" : "boolean" ,
"default" : false ,
2020-10-17 13:41:03 +00:00
"markdownDescription" : "Suppress warnings.\n\nThis corresponds to the `--no-warn` option of `makeinfo`."
2020-10-04 17:26:21 +00:00
} ,
"texinfo.preview.displayImage" : {
"type" : "boolean" ,
"default" : false ,
2020-10-17 13:41:03 +00:00
"markdownDescription" : "Whether to display images in in the preview.\n\nIf image display is not needed, turn off this option to improve preview performance."
2020-10-03 18:04:18 +00:00
}
}
} ,
"languages" : [
{
"id" : "texinfo" ,
"aliases" : [
"Texinfo"
] ,
"extensions" : [
".texi" ,
".texinfo" ,
".txi"
] ,
2020-10-15 20:16:13 +00:00
"configuration" : "./language-config.json"
2020-10-03 18:04:18 +00:00
}
] ,
"grammars" : [
{
"language" : "texinfo" ,
"scopeName" : "text.texinfo" ,
2020-10-15 20:16:13 +00:00
"path" : "./out/grammars/texinfo.json"
2020-10-03 18:04:18 +00:00
}
]
}
}