LaTeX-Workshop/package.json

408 lines
13 KiB
JSON
Raw Normal View History

2016-12-26 11:05:30 +03:00
{
2017-03-25 14:10:01 +03:00
"name": "latex-workshop",
"displayName": "LaTeX Workshop",
"description": "Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.",
2017-03-26 13:29:15 +03:00
"icon": "icon.png",
2017-07-28 09:20:36 +03:00
"version": "3.0.1",
2017-03-25 14:10:01 +03:00
"publisher": "James-Yu",
"license": "MIT",
"homepage": "https://github.com/James-Yu/LaTeX-Workshop",
"repository": {
"type": "git",
"url": "https://github.com/James-Yu/LaTeX-Workshop.git"
},
"engines": {
"vscode": "^1.13.0"
2017-03-25 14:10:01 +03:00
},
"categories": [
"Languages",
"Snippets"
],
"keywords": [
"latex",
"tex",
"compile",
"preview",
"hint"
],
"activationEvents": [
"onLanguage:latex"
2017-03-25 14:10:01 +03:00
],
"main": "./out/src/main",
"contributes": {
"languages": [
2017-03-26 05:12:01 +03:00
{
"id": "tex",
2017-03-26 05:12:01 +03:00
"aliases": [
"TeX",
"tex"
],
"extensions": [
".sty",
".cls",
".bbx",
".cbx"
],
"configuration": "./syntax/syntax.json"
},
2017-03-25 14:10:01 +03:00
{
"id": "latex",
2017-03-25 14:10:01 +03:00
"aliases": [
"LaTeX",
"latex"
],
"extensions": [
".tex"
],
2017-03-26 05:05:22 +03:00
"configuration": "./syntax/syntax.json"
2017-03-26 05:12:01 +03:00
},
{
"id": "bibtex",
2017-03-26 05:12:01 +03:00
"aliases": [
"BibTeX",
"bibtex"
],
"extensions": [
".bib"
]
},
{
"id": "latex-beamer",
2017-03-26 05:12:01 +03:00
"aliases": [
"LaTeX Beamer"
],
"configuration": "./syntax/syntax.json"
},
{
"id": "latex-memoir",
2017-03-26 05:12:01 +03:00
"aliases": [
"LaTeX Memoir"
],
"configuration": "./syntax/syntax.json"
},
{
"id": "latex-log",
2017-03-26 05:12:01 +03:00
"aliases": [
"LaTeX Log"
],
"extensions": [
".log"
]
2017-03-25 14:10:01 +03:00
}
2016-12-26 11:05:30 +03:00
],
2017-03-25 14:10:01 +03:00
"grammars": [
2017-03-26 05:05:22 +03:00
{
"language": "tex",
2017-03-26 05:05:22 +03:00
"scopeName": "text.tex",
"path": "./syntax/TeX.plist"
},
2017-03-25 14:10:01 +03:00
{
"language": "latex",
2017-03-25 14:10:01 +03:00
"scopeName": "text.tex.latex",
2017-03-26 05:05:22 +03:00
"path": "./syntax/LaTeX.plist"
},
{
"language": "bibtex",
2017-03-26 05:05:22 +03:00
"scopeName": "text.bibtex",
"path": "./syntax/Bibtex.plist"
},
{
"language": "latex-beamer",
2017-03-26 05:05:22 +03:00
"scopeName": "text.tex.latex.beamer",
"path": "./syntax/LaTeX Beamer.plist"
},
{
"language": "latex-memoir",
2017-03-26 05:05:22 +03:00
"scopeName": "text.tex.latex.memoir",
"path": "./syntax/LaTeX Memoir.plist"
},
{
"language": "latex-log",
2017-03-26 05:05:22 +03:00
"scopeName": "text.log.latex",
"path": "./syntax/LaTeX Log.plist"
2017-03-25 14:10:01 +03:00
}
2016-12-26 16:07:54 +03:00
],
2017-03-25 14:10:01 +03:00
"commands": [
{
"command": "latex-workshop.build",
"title": "Build LaTeX project",
"category": "LaTeX Workshop"
2017-03-25 14:10:01 +03:00
},
{
"command": "latex-workshop.view",
"title": "View PDF file in web page",
"category": "LaTeX Workshop"
2017-03-25 14:10:01 +03:00
},
{
"command": "latex-workshop.tab",
"title": "View PDF file in new tab",
"category": "LaTeX Workshop"
},
2017-03-25 14:10:01 +03:00
{
"command": "latex-workshop.synctex",
"title": "SyncTeX from cursor",
"category": "LaTeX Workshop"
2017-03-29 13:11:41 +03:00
},
{
"command": "latex-workshop.clean",
2017-05-04 08:50:04 +03:00
"title": "Clean up auxiliary files",
"category": "LaTeX Workshop"
2017-04-04 07:20:54 +03:00
},
{
"command": "latex-workshop.citation",
"title": "Open citation browser",
"category": "LaTeX Workshop"
},
2017-04-27 06:37:40 +03:00
{
"command": "latex-workshop.log",
"title": "Show LaTeX log",
"category": "LaTeX Workshop"
},
2017-04-04 07:20:54 +03:00
{
"command": "latex-workshop.actions",
2017-04-06 12:41:02 +03:00
"title": "LaTeX Workshop: All actions"
2017-03-25 14:10:01 +03:00
}
2016-12-26 11:05:30 +03:00
],
2017-07-05 04:42:30 +03:00
"keybindings": [
{
"command": "latex-workshop.build",
"key": "ctrl+alt+b",
"when": "editorFocus && !replaceActive && !searchViewletVisible && !findWidgetVisible"
},
{
"command": "latex-workshop.view",
"key": "ctrl+alt+v",
"when": "editorFocus && !replaceActive && !searchViewletVisible && !findWidgetVisible"
},
{
"command": "latex-workshop.tab",
"key": "ctrl+alt+t",
"when": "editorFocus && !replaceActive && !searchViewletVisible && !findWidgetVisible"
},
{
"command": "latex-workshop.synctex",
"key": "ctrl+alt+s",
"when": "editorFocus && !replaceActive && !searchViewletVisible && !findWidgetVisible"
},
{
"command": "latex-workshop.actions",
"key": "ctrl+alt+l",
"when": "editorFocus && !replaceActive && !searchViewletVisible && !findWidgetVisible"
}
],
2017-03-25 14:10:01 +03:00
"configuration": {
"type": "object",
"title": "LaTeX Workshop configuration",
"properties": {
"latex-workshop.latex.toolchain": {
2017-03-25 14:10:01 +03:00
"type": "array",
2017-04-02 06:37:14 +03:00
"default": [
{
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOC%"
]
}
2017-04-02 06:37:14 +03:00
],
"description": "LaTeX toolchain to build project.\nThis property defines the sequence of commands LaTeX Workshop will execute to build the LaTeX project. By default it tries latexmk to compile to PDF.\nPlaceholder %DOC% is used to represent the root LaTeX file name (without '.tex' extension), and will be replaced when executing.\n For a detailed explanation on how to customize your toolchain, please visit https://github.com/James-Yu/LaTeX-Workshop#toolchain."
2017-03-25 14:10:01 +03:00
},
"latex-workshop.latex.outputDir": {
"type": "string",
"default": "./",
"description": "The directory where output files (e.g., PDF and SyncTeX files) are located.\nBoth relative and absolute pathes are supported. Relative path start from the root file location, so be ware if it is located in sub-directory."
},
"latex-workshop.latex.additionalBib": {
"type": "array",
"default": [],
"description": "Addition bibliography files to watch.\nBoth relative and absolute paths are supported, but absolute ones are suggested. Relative path start from the root file location, so be ware if it is located in sub-directory."
},
"latex-workshop.latex.autoBuild.onSave.enabled": {
2017-03-25 14:10:01 +03:00
"type": "boolean",
"default": true,
2017-03-26 08:26:06 +03:00
"description": "Build LaTeX after saving LaTeX source file.\nThis property defines whether LaTeX Workshop will execute the LaTeX toolchain command(s) to build the project after new LaTeX contents are saved."
},
"latex-workshop.latex.autoBuild.onTexChange.enabled": {
"type": "boolean",
"default": false,
"description": "Build LaTeX after a LaTeX source file has changed in the workspace.\nThis property defines whether LaTeX Workshop will execute the LaTeX toolchain command(s) to build the project after any LaTeX file in the workspace is saved on the disk which is not open in the active editor window."
},
"latex-workshop.latex.clean.enabled": {
2017-03-29 13:11:41 +03:00
"type": "boolean",
"default": false,
"description": "Delete LaTeX auxillary files after building project.\nThis property defines whether LaTeX Workshop will clean up all unnecessary files after building the project."
},
"latex-workshop.latex.clean.fileTypes": {
2017-03-29 13:11:41 +03:00
"type": "array",
2017-04-02 06:37:14 +03:00
"default": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.ist",
"*.fls",
"*.log",
"*.fdb_latexmk"
],
2017-03-29 13:11:41 +03:00
"description": "Files to clean.\nThis property must be an array of strings. File globs such as *.removeme, something?.aux can be used."
},
"latex-workshop.view.outline.sections": {
"type": "array",
2017-07-05 04:42:30 +03:00
"default": [
"chapter",
"section",
"subsection",
"subsubsection"
],
"description": "The section names of LaTeX outline hierarchy.\nThis property is an array of case-sensitive strings in the order of document structure hierarchy. For multiple tags in the same level, seperate the tags with `|` as delimiters, e.g., `section|alternative`."
},
"latex-workshop.view.pdf.zoom": {
"type": "string",
"default": "auto",
"description": "The default zoom level of the PDF viewer.\nThis default value will be passed to the viewer upon opening. Possible values are `auto`, `page-actual`, `page-fit`, `page-width`, and one-based scale values (e.g., 0.5 for 50%, 2.0 for 200%)."
},
"latex-workshop.view.pdf.hand": {
"type": "boolean",
"default": false,
"description": "Define if the hand tool is enabled by default in the PDF viewer."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.synctex.path": {
2017-04-06 12:11:18 +03:00
"type": "string",
"default": "synctex",
"description": "Define the location of SyncTeX executive file.\nAdditional arguments, e.g., synctex modes and position of click, will be appended to this command."
2017-04-06 12:11:18 +03:00
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.enabled": {
2017-03-27 05:11:08 +03:00
"type": "boolean",
"default": false,
"description": "Enable linting LaTeX with ChkTeX.\nThe active document will be linted when no document changes for a defined period of time.\nThe full project will be linted from the root on file save."
2017-03-27 05:11:08 +03:00
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.path": {
"type": "string",
"default": "chktex",
"description": "Define the location of ChkTeX executive file.\nThis command will be joint with `latex-workshop.linter_arguments_*` and required arguments to form a complete command of ChkTeX."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.args.active": {
2017-04-07 12:17:18 +03:00
"type": "array",
"default": [
"-wall",
"-n22",
"-n30",
"-e16",
"-q"
],
"description": "Linter arguments to check LaTeX syntax of the current file state in real time with ChkTeX.\nArguments must be in separate strings in the array. Additional arguments, i.e., `-I0 -f%f:%l:%c:%d:%k:%n:%m\\n` will be appended when constructing the command. Current file contents will be piped to the command through stdin."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.args.root": {
2017-04-07 12:17:18 +03:00
"type": "array",
"default": [
"-wall",
"-n22",
"-n30",
"-e16",
"-q"
],
"description": "Linter arguments to check LaTeX syntax of the entire project from the root file with ChkTeX.\nArguments must be in separate strings in the array. Additional arguments, i.e., `-f%f:%l:%c:%d:%k:%n:%m\\n %DOC%` will be appended when constructing the command."
2017-03-27 04:26:04 +03:00
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.interval": {
2017-03-27 05:07:47 +03:00
"type": "number",
"default": 300,
"description": "Defines the time interval in milliseconds between invoking LaTeX linter on the active file."
2017-03-27 05:07:47 +03:00
},
"latex-workshop.intellisense.citation.type": {
"type": "string",
"enum": [
"inline",
"browser"
],
"default": "inline",
"description": "Defines which type of hint to show when intellisense provides citation suggestions."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.intellisense.citation.label": {
"type": "string",
"enum": [
"bibtex key",
"title",
"authors"
],
"default": "bibtex key",
"description": "Defines what to show as suggestion labels when intellisense provides citation suggestions."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.debug.showLog": {
"type": "boolean",
"default": true,
"description": "Display LaTeX Workshop debug log in output panel.\nThis property defines whether LaTeX Workshop will output its debug log to the log panel."
2017-01-01 08:03:34 +03:00
}
2017-03-25 14:10:01 +03:00
}
2017-03-26 13:17:34 +03:00
},
"menus": {
"editor/context": [
{
"when": "resourceLangId == latex",
2017-03-26 13:17:34 +03:00
"command": "latex-workshop.build",
"group": "navigation@100"
},
{
"when": "resourceLangId == latex",
2017-04-04 07:20:54 +03:00
"command": "latex-workshop.synctex",
2017-03-26 13:17:34 +03:00
"group": "navigation@101"
},
{
"when": "resourceLangId == latex",
2017-04-04 07:20:54 +03:00
"command": "latex-workshop.actions",
2017-03-26 13:17:34 +03:00
"group": "navigation@102"
}
]
2017-06-29 07:18:31 +03:00
},
"views": {
2017-07-05 04:42:30 +03:00
"explorer": [
{
"id": "latex-outline",
"name": "LaTeX Outline",
"when": "resourceLangId == latex"
}
]
2017-03-25 14:10:01 +03:00
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"capabilities": {
"completionProvider": {
"resolveProvider": "true"
},
"hoverProvider": "true",
"definitionProvider": "true"
2017-03-25 14:10:01 +03:00
},
"dependencies": {
2017-04-02 06:37:14 +03:00
"chokidar": "^1.6.1",
2017-03-26 07:55:47 +03:00
"glob": "^7.1.1",
2017-07-05 04:42:30 +03:00
"opn": "^5.1.0",
2017-03-25 14:10:01 +03:00
"ws": "^1.1.1"
},
"devDependencies": {
2017-04-02 19:52:23 +03:00
"@types/chokidar": "^1.6.0",
2017-03-29 13:26:23 +03:00
"@types/glob": "^5.0.30",
2017-03-25 14:10:01 +03:00
"@types/node": "^6.0.40",
"@types/ws": "^0.0.39",
"tslint": "^5.0.0",
2017-03-29 13:26:23 +03:00
"typescript": "^2.0.3",
"vscode": "^1.0.0"
2017-03-25 14:10:01 +03:00
}
}