2020-10-03 18:04:18 +00:00
|
|
|
{
|
2021-03-22 16:19:48 +00:00
|
|
|
"_copyrightNotice": [
|
|
|
|
"Copyright (C) 2020,2021 CismonX <admin@cismon.net>",
|
|
|
|
"Copying and distribution of this file, with or without modification,",
|
|
|
|
"are permitted in any medium without royalty, provided the copyright notice and this notice are preserved.",
|
|
|
|
"This file is offered as-is, without any warranty."
|
|
|
|
],
|
2020-10-03 18:04:18 +00:00
|
|
|
"name": "texinfo",
|
|
|
|
"displayName": "Texinfo Language Support",
|
2021-03-17 12:15:30 +00:00
|
|
|
"description": "Texinfo language support for Visual Studio Code",
|
2020-11-13 07:22:08 +00:00
|
|
|
"publisher": "cismonx",
|
2021-04-03 21:27:34 +00:00
|
|
|
"version": "0.2.0",
|
2020-10-03 18:04:18 +00:00
|
|
|
"author": {
|
|
|
|
"name": "CismonX",
|
|
|
|
"email": "admin@cismon.net",
|
|
|
|
"url": "https://cismon.net"
|
|
|
|
},
|
2021-03-17 12:11:48 +00:00
|
|
|
"license": "GPL-3.0-or-later",
|
2021-03-28 18:02:09 +00:00
|
|
|
"homepage": "https://sv.gnu.org/p/vscode-texinfo",
|
2020-10-03 18:04:18 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-04-12 12:06:11 +00:00
|
|
|
"url": "https://git.sv.gnu.org/cgit/vscode-texinfo.git"
|
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": {
|
2021-04-21 09:17:43 +00:00
|
|
|
"@types/node": "^14.14.41",
|
2021-03-28 17:02:06 +00:00
|
|
|
"@types/terser-webpack-plugin": "^5.0.3",
|
2020-11-13 07:22:08 +00:00
|
|
|
"@types/vscode": "~1.40.0",
|
2021-03-30 10:12:45 +00:00
|
|
|
"@types/webpack": "^5.28.0",
|
2021-04-15 11:06:23 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
|
|
"@typescript-eslint/parser": "^4.22.0",
|
2020-10-08 15:14:48 +00:00
|
|
|
"cson": "^7.20.0",
|
2021-04-15 11:06:23 +00:00
|
|
|
"eslint": "^7.24.0",
|
2020-11-15 19:36:54 +00:00
|
|
|
"json": "^10.0.0",
|
2021-04-21 09:17:43 +00:00
|
|
|
"json5": "^2.2.0",
|
2020-10-08 15:14:48 +00:00
|
|
|
"language-texinfo": "^1.0.0",
|
2021-04-21 09:17:43 +00:00
|
|
|
"minify-xml": "^2.5.0",
|
2021-02-23 10:33:28 +00:00
|
|
|
"node-html-parser": "^2.2.1",
|
2021-04-21 09:17:43 +00:00
|
|
|
"ts-loader": "^9.0.2",
|
2020-12-31 06:37:05 +00:00
|
|
|
"ts-node": "^9.1.1",
|
2021-04-15 11:06:23 +00:00
|
|
|
"typescript": "^4.2.4",
|
2021-03-30 10:12:45 +00:00
|
|
|
"vsce": "^1.87.0",
|
2021-04-21 09:17:43 +00:00
|
|
|
"webpack": "^5.35.0",
|
2021-03-28 17:02:06 +00:00
|
|
|
"webpack-cli": "^4.6.0"
|
2020-10-04 18:16:08 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-11-02 07:10:13 +00:00
|
|
|
"vscode:prepublish": "webpack --mode production",
|
2021-03-22 04:41:27 +00:00
|
|
|
"package": "./scripts/package.sh",
|
2020-11-02 07:10:13 +00:00
|
|
|
"build": "webpack --mode development",
|
2021-03-22 04:41:27 +00:00
|
|
|
"prepare": "./scripts/prepare.sh",
|
2020-10-04 18:16:08 +00:00
|
|
|
"lint": "eslint --ext ts --fix src",
|
2020-11-02 07:10:13 +00:00
|
|
|
"watch": "webpack --mode development --watch"
|
2020-10-04 18:16:08 +00:00
|
|
|
},
|
2020-10-10 17:36:05 +00:00
|
|
|
"eslintConfig": {
|
|
|
|
"root": true,
|
2021-04-21 09:25:24 +00:00
|
|
|
"ignorePatterns": [
|
|
|
|
"out/**",
|
|
|
|
"scripts/**"
|
|
|
|
],
|
2020-10-10 17:36:05 +00:00
|
|
|
"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)"
|
2020-11-11 12:29:30 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "texinfo.preview.goto",
|
|
|
|
"title": "Goto node in preview"
|
2021-03-12 09:46:43 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "texinfo.indicator.click",
|
|
|
|
"title": "Refresh indicator status"
|
2020-10-03 18:04:18 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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-11-11 12:29:30 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "texinfo.preview.goto",
|
|
|
|
"when": "false",
|
|
|
|
"group": "navigation"
|
2021-03-12 09:46:43 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "texinfo.indicator.click",
|
|
|
|
"when": "false",
|
|
|
|
"group": "navigation"
|
2020-10-04 18:16:08 +00:00
|
|
|
}
|
|
|
|
],
|
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": [
|
|
|
|
{
|
2021-03-29 08:00:40 +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",
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "Path to the `makeinfo` (or `texi2any`) command."
|
2020-10-03 18:04:18 +00:00
|
|
|
},
|
2020-11-11 12:29:30 +00:00
|
|
|
"texinfo.enableCodeLens": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "Enable code lens on node identifiers which jumps to the corresponding nodes in preview."
|
2020-11-11 12:29:30 +00:00
|
|
|
},
|
2020-10-26 19:37:05 +00:00
|
|
|
"texinfo.completion.enableSnippets": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "Show snippets in code completion items."
|
2020-10-26 19:37:05 +00:00
|
|
|
},
|
|
|
|
"texinfo.completion.hideSnippetCommands": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "When snippet is enabled, hide the snippets' corresponding commands from completion items."
|
2020-10-26 19:37:05 +00:00
|
|
|
},
|
2020-10-03 18:04:18 +00:00
|
|
|
"texinfo.preview.noHeaders": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "Suppress node separators in preview."
|
2020-10-03 18:04:18 +00:00
|
|
|
},
|
|
|
|
"texinfo.preview.maxSize": {
|
|
|
|
"type": "integer",
|
2021-04-03 19:23:10 +00:00
|
|
|
"default": 2,
|
2020-10-17 13:41:03 +00:00
|
|
|
"minimum": 1,
|
|
|
|
"maximum": 16,
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "Max allowed size (in MiB) for the preview document."
|
2020-10-03 18:04:18 +00:00
|
|
|
},
|
|
|
|
"texinfo.preview.errorLimit": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 100,
|
2020-10-17 13:41:03 +00:00
|
|
|
"minimum": 0,
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "Max number of errors before quit when trying to display preview."
|
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,
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "Supress node cross-reference validation."
|
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,
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "Suppress warnings."
|
2020-10-04 17:26:21 +00:00
|
|
|
},
|
2021-04-16 10:58:52 +00:00
|
|
|
"texinfo.preview.localImage": {
|
2020-10-04 17:26:21 +00:00
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
2021-04-16 10:58:52 +00:00
|
|
|
"description": "Display local images in in preview."
|
2021-02-22 07:06:05 +00:00
|
|
|
},
|
|
|
|
"texinfo.preview.customCSS": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
2021-04-03 19:23:10 +00:00
|
|
|
"description": "URI of custom CSS for preview."
|
2020-10-03 18:04:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "texinfo",
|
|
|
|
"aliases": [
|
|
|
|
"Texinfo"
|
|
|
|
],
|
|
|
|
"extensions": [
|
|
|
|
".texi",
|
|
|
|
".texinfo",
|
|
|
|
".txi"
|
|
|
|
],
|
2020-11-02 21:14:05 +00:00
|
|
|
"configuration": "./language-configuration.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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|