VSCode_LaTeX/package.json

153 lines
3.5 KiB
JSON

{
"name": "latex",
"version": "1.0.0",
"displayName": "LaTeX language support",
"description": "LaTeX language support for Visual Studio Code",
"main": "./out/src/extension",
"activationEvents": [
"onLanguage:latex"
],
"dependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"@types/node": "^6.0.45"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"@types/node": "^6.0.45"
},
"compilerOptions": {
"types": [
"node"
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"license": "MIT",
"publisher": "Loki",
"categories": [
"Languages",
"Snippets",
"Other"
],
"engines": {
"vscode": "^1.8.0"
},
"keywords": [
"BibTeX",
"LaTeX",
"TeX"
],
"contributes": {
"configuration":[
{
"title": "LaTeX extention Configuration",
"properties": {
"latex.shell": {
"type": "string",
"default": "\\bin\\bash",
"description": "The shell to be used for child processes like the compile command."
}
}
}, {
"title": "LaTeX compile process",
"properties": {
"latex.pdflatex": {
"type": "string",
"default": "pdflatex -synctex=1 -interaction=nonstopmode -output-directory=\"${fileDirname}\" \"${file}\"",
"description": "The compile command."
}
}
}, {
"title": "LaTeX make index process",
"properties": {
"latex.makeindex": {
"type": "string",
"default": "makeindex ${fileBasenameNoExtension}",
"description": "The compile command."
}
}
}, {
"title": "LaTeX root file",
"properties": {
"latex.rootFile": {
"type": "string",
"default": null,
"description": "The root file for the compile process, if not set the current file will be used for the compile process. If there is a root file for the cimpilation this property must be specified or you allways have to compile with the root file as current opened file."
}
}
}
],
"keybindings": [
{
"key": "ctrl+shift+b",
"command": "latex.pdflatex",
"when": "editorLangId == 'latex'"
}
],
"commands": [
{
"command": "latex.pdflatex",
"title": "pdflatex",
"category": "LaTeX"
}, {
"command": "latex.makeindex",
"title": "makeindex",
"category": "LaTeX"
}, {
"command": "latex.cleanup",
"title": "Cleanup directory (delete compile helper files)",
"category": "LaTeX"
}
],
"languages": [
{
"id": "bibtex",
"aliases": [ "BibTeX" ],
"extensions": [ ".bib" ],
"configuration": "./settings/BibTeX-configuration.json"
}, {
"id": "latex",
"aliases": [ "LaTeX" ],
"extensions": [ "bbx", "cbx", "cls", "ltx", "lco", "sty", "tex", "tikz" ],
"configuration": "./settings/LaTeX-configuration.json"
}, {
"id": "tex",
"aliases": [ "TeX" ],
"extensions": [ "dtx", "ins" ],
"configuration": "./settings/TeX-configuration.json"
}
],
"grammars": [
{
"language": "bibtex",
"scopeName": "text.bibtex",
"path": "./grammars/BibTeX.json"
}, {
"language": "latex",
"scopeName": "text.tex.latex",
"path": "./grammars/LaTeX.json"
}, {
"language": "tex",
"scopeName": "text.tex",
"path": "./grammars/TeX.json"
}
],
"snippets": [
{
"language": "latex",
"path": "./snippets/LaTeX.json"
}
]
},
"__metadata": {
"id": "LaTeX",
"publisherId": "Loki",
"publisherDisplayName": "Loki"
}
}