241 lines
8.2 KiB
JSON
241 lines
8.2 KiB
JSON
{
|
|
"_copyrightNotice": [
|
|
"Copyright (C) 2020,2021,2022,2024 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."
|
|
],
|
|
"name": "texinfo",
|
|
"displayName": "Texinfo Language Support",
|
|
"description": "Texinfo language support for Visual Studio Code",
|
|
"publisher": "cismonx",
|
|
"version": "0.3.0",
|
|
"author": {
|
|
"name": "CismonX",
|
|
"email": "admin@cismon.net",
|
|
"url": "https://cismon.net"
|
|
},
|
|
"license": "GPL-3.0-or-later",
|
|
"homepage": "https://savannah.nongnu.org/p/vscode-texinfo",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.savannah.nongnu.org/cgit/vscode-texinfo.git"
|
|
},
|
|
"icon": "assets/texinfo.png",
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.9",
|
|
"@types/vscode": "~1.82.0",
|
|
"@types/webpack": "^5.28.5",
|
|
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
"@typescript-eslint/parser": "^7.5.0",
|
|
"@vscode/vsce": "^2.24.0",
|
|
"cson": "^8.4.0",
|
|
"eslint": "^8.57.0",
|
|
"json": "^11.0.0",
|
|
"json5": "^2.2.3",
|
|
"language-texinfo": "^1.1.0",
|
|
"minify-xml": "^4.4.1",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.3",
|
|
"webpack": "^5.91.0",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "webpack --mode production",
|
|
"package": "./scripts/package.sh",
|
|
"build": "webpack --mode development",
|
|
"prepare": "./scripts/prepare.sh",
|
|
"lint": "eslint --ext ts --fix src",
|
|
"watch": "webpack --mode development --watch"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"ignorePatterns": [
|
|
"out/**",
|
|
"scripts/**"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"rules": {
|
|
"comma-dangle": [
|
|
"warn",
|
|
"always-multiline"
|
|
],
|
|
"max-len": [
|
|
"warn",
|
|
{
|
|
"code": 79
|
|
}
|
|
],
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/semi": "warn"
|
|
}
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.82.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages",
|
|
"Snippets",
|
|
"Other"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "texinfo.preview.show",
|
|
"title": "Show preview",
|
|
"icon": "$(open-preview)"
|
|
},
|
|
{
|
|
"command": "texinfo.preview.goto",
|
|
"title": "Goto node in preview"
|
|
},
|
|
{
|
|
"command": "texinfo.indicator.click",
|
|
"title": "Refresh indicator status"
|
|
}
|
|
],
|
|
"menus": {
|
|
"commandPalette": [
|
|
{
|
|
"command": "texinfo.preview.show",
|
|
"when": "editorLangId == texinfo",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "texinfo.preview.goto",
|
|
"when": "false",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "texinfo.indicator.click",
|
|
"when": "false",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"editor/title": [
|
|
{
|
|
"command": "texinfo.preview.show",
|
|
"when": "editorLangId == texinfo",
|
|
"group": "navigation"
|
|
}
|
|
]
|
|
},
|
|
"keybindings": [
|
|
{
|
|
"command": "texinfo.preview.show",
|
|
"key": "ctrl+k v",
|
|
"mac": "cmd+k v",
|
|
"when": "editorLangId == texinfo"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Texinfo",
|
|
"properties": {
|
|
"texinfo.completion.enableSnippets": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Show snippets in code completion items."
|
|
},
|
|
"texinfo.completion.hideSnippetCommands": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "When snippet is enabled, hide the snippets' corresponding commands from completion items."
|
|
},
|
|
"texinfo.diagnosis.noWarnings": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Do not show warnings in diagnosis."
|
|
},
|
|
"texinfo.enableCodeLens": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Enable code lens on node identifiers which jumps to the corresponding nodes in preview."
|
|
},
|
|
"texinfo.makeinfo": {
|
|
"type": "string",
|
|
"default": "makeinfo",
|
|
"description": "Path to the makeinfo (or texi2any) program."
|
|
},
|
|
"texinfo.preview.customCSS": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "URI of custom CSS for preview."
|
|
},
|
|
"texinfo.preview.errorLimit": {
|
|
"type": "integer",
|
|
"default": 100,
|
|
"minimum": 0,
|
|
"description": "Max number of errors before quit when trying to display preview."
|
|
},
|
|
"texinfo.preview.includePaths": {
|
|
"type": "array",
|
|
"default": [],
|
|
"description": "Extra paths to search for @include files."
|
|
},
|
|
"texinfo.preview.maxSize": {
|
|
"type": "integer",
|
|
"default": 2,
|
|
"minimum": 1,
|
|
"maximum": 16,
|
|
"description": "Max allowed size (in MiB) for the preview document."
|
|
},
|
|
"texinfo.preview.noHeaders": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Suppress node separators in preview."
|
|
},
|
|
"texinfo.preview.noNumberSections": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Do not display chapter and section numbers in preview"
|
|
},
|
|
"texinfo.preview.noValidation": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Supress node cross-reference validation."
|
|
},
|
|
"texinfo.preview.variables": {
|
|
"type": "array",
|
|
"default": [],
|
|
"description": "Define variables (as with @set)."
|
|
},
|
|
"texinfo.preview.customizationVariables": {
|
|
"type": "array",
|
|
"default": [],
|
|
"description": "Set customization variables (format: KEY=VAL)"
|
|
}
|
|
}
|
|
},
|
|
"languages": [
|
|
{
|
|
"id": "texinfo",
|
|
"aliases": [
|
|
"Texinfo"
|
|
],
|
|
"extensions": [
|
|
".texi",
|
|
".texinfo",
|
|
".txi"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "texinfo",
|
|
"scopeName": "text.texinfo",
|
|
"path": "./out/grammars/texinfo.json"
|
|
}
|
|
]
|
|
}
|
|
}
|