texlab.schema.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "title": "LaTeX configuration",
  3. "type": "object",
  4. "properties": {
  5. "rootDirectory": {
  6. "type": ["string", "null"],
  7. "default": null,
  8. "description": "Path to the root directory."
  9. },
  10. "build.executable": {
  11. "type": "string",
  12. "default": "latexmk",
  13. "description": "Path to a LaTeX build tool."
  14. },
  15. "build.args": {
  16. "type": "array",
  17. "default": ["-pdf", "-interaction=nonstopmode", "-synctex=1", "%f"],
  18. "description": "Additional arguments that are passed to the build tool.",
  19. "items": {
  20. "type": "string"
  21. }
  22. },
  23. "build.onSave": {
  24. "type": "boolean",
  25. "default": false,
  26. "description": "Build after saving a file"
  27. },
  28. "build.outputDirectory": {
  29. "type": "string",
  30. "default": ".",
  31. "description": "Directory containing the build artifacts."
  32. },
  33. "build.forwardSearchAfter": {
  34. "type": "boolean",
  35. "default": false,
  36. "description": "Execute forward search after building"
  37. },
  38. "forwardSearch.executable": {
  39. "type": ["string", "null"],
  40. "default": null,
  41. "description": "Path to a PDF previewer that supports SyncTeX."
  42. },
  43. "forwardSearch.args": {
  44. "type": "array",
  45. "default": [],
  46. "description": "Additional arguments that are passed to the previewer.",
  47. "items": {
  48. "type": "string"
  49. }
  50. },
  51. "chktex.onOpenAndSave": {
  52. "type": "boolean",
  53. "default": false,
  54. "description": "Lint with chktex after opening and saving a file"
  55. },
  56. "chktex.onEdit": {
  57. "type": "boolean",
  58. "default": false,
  59. "description": "Lint with chktex afte editing a file"
  60. },
  61. "diagnosticsDelay": {
  62. "type": "integer",
  63. "default": 300,
  64. "description": "Delay in milliseconds before reporting diagnostics."
  65. },
  66. "formatterLineLength": {
  67. "type": "integer",
  68. "default": 80,
  69. "description": "Defines the maximum amount of characters per line (0 = disable) when formatting BibTeX files."
  70. },
  71. "latexFormatter": {
  72. "type": "string",
  73. "default": "latexindent",
  74. "description": "Defines the formatter to use for LaTeX formatting. Possible values are either texlab or latexindent. Note that texlab is not implemented yet."
  75. },
  76. "latexindent.local": {
  77. "type": ["string", "null"],
  78. "default": null,
  79. "description": "Defines the path of a file containing the latexindent configuration. This corresponds to the --local=file.yaml flag of latexindent. By default the configuration inside the project root directory is used."
  80. },
  81. "latexindent.modifyLineBreaks": {
  82. "type": "boolean",
  83. "default": false,
  84. "description": "Modifies linebreaks before, during, and at the end of code blocks when formatting with latexindent. This corresponds to the --modifylinebreaks flag of latexindent."
  85. }
  86. }
  87. }