2020-10-03 18:04:18 +00:00
|
|
|
{
|
2021-03-22 16:19:48 +00:00
|
|
|
"_copyrightNotice": [
|
2022-02-02 06:53:46 +00:00
|
|
|
"Copyright (C) 2020,2021,2022 CismonX <admin@cismon.net>",
|
2021-03-22 16:19:48 +00:00
|
|
|
"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",
|
2022-02-02 06:53:46 +00:00
|
|
|
"version": "0.2.4",
|
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-10-23 13:52:58 +00:00
|
|
|
"@types/node": "^14.17.29",
|
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",
|
2022-02-02 06:32:45 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
|
|
"@typescript-eslint/parser": "^5.10.2",
|
2020-10-08 15:14:48 +00:00
|
|
|
"cson": "^7.20.0",
|
2022-02-02 06:32:45 +00:00
|
|
|
"eslint": "^8.8.0",
|
2021-05-04 19:41:13 +00:00
|
|
|
"json": "^11.0.0",
|
2021-04-21 09:17:43 +00:00
|
|
|
"json5": "^2.2.0",
|
2021-08-11 17:18:38 +00:00
|
|
|
"language-texinfo": "^1.1.0",
|
2022-02-02 06:32:45 +00:00
|
|
|
"minify-xml": "^3.3.1",
|
2021-10-01 16:47:49 +00:00
|
|
|
"ts-loader": "^9.2.6",
|
2021-10-23 13:52:58 +00:00
|
|
|
"ts-node": "^10.4.0",
|
2022-02-02 06:32:45 +00:00
|
|
|
"typescript": "^4.5.5",
|
|
|
|
"vsce": "^2.6.6",
|
|
|
|
"webpack": "^5.68.0",
|
|
|
|
"webpack-cli": "^4.9.2"
|
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",
|
|
|
|
{
|
2021-05-25 09:00:27 +00:00
|
|
|
"code": 79
|
2020-10-13 20:15:27 +00:00
|
|
|
}
|
|
|
|
],
|
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": {
|
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
|
|
|
},
|
2021-04-29 12:17:49 +00:00
|
|
|
"texinfo.diagnosis.noWarnings": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "Do not show warnings in diagnosis."
|
|
|
|
},
|
2021-04-22 09:07:55 +00:00
|
|
|
"texinfo.enableCodeLens": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "Enable code lens on node identifiers which jumps to the corresponding nodes in preview."
|
|
|
|
},
|
2021-04-25 12:44:56 +00:00
|
|
|
"texinfo.makeinfo": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "makeinfo",
|
|
|
|
"description": "Path to the makeinfo (or texi2any) command."
|
|
|
|
},
|
|
|
|
"texinfo.preview.customCSS": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "URI of custom CSS for preview."
|
|
|
|
},
|
2021-04-22 09:07:55 +00:00
|
|
|
"texinfo.preview.errorLimit": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 100,
|
|
|
|
"minimum": 0,
|
|
|
|
"description": "Max number of errors before quit when trying to display preview."
|
|
|
|
},
|
2021-04-25 12:44:56 +00:00
|
|
|
"texinfo.preview.includePaths": {
|
|
|
|
"type": "array",
|
|
|
|
"default": [],
|
|
|
|
"description": "Extra paths to search for @include files."
|
|
|
|
},
|
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
|
|
|
},
|
2021-04-22 09:07:55 +00:00
|
|
|
"texinfo.preview.noHeaders": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "Suppress node separators in preview."
|
2020-10-03 18:04:18 +00:00
|
|
|
},
|
2021-04-27 10:36:25 +00:00
|
|
|
"texinfo.preview.noNumberSections": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "Do not display chapter and section numbers in preview"
|
|
|
|
},
|
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
|
|
|
},
|
2021-04-25 12:44:56 +00:00
|
|
|
"texinfo.preview.variables": {
|
2021-04-22 09:07:55 +00:00
|
|
|
"type": "array",
|
|
|
|
"default": [],
|
2021-04-25 12:44:56 +00:00
|
|
|
"description": "Define variables (as with @set)."
|
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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|