r-languageserver.schema.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "title": "R Language Server confiuguration",
  3. "type": "object",
  4. "properties": {
  5. "r.lsp.debug": {
  6. "type": "boolean",
  7. "default": true,
  8. "description": "Increase verbosity for debug purpose."
  9. },
  10. "r.lsp.log_file": {
  11. "type": ["string", "null"],
  12. "default": null,
  13. "description": "File to log debug messages, fallback to stderr if empty."
  14. },
  15. "r.lsp.diagnostics": {
  16. "type": "boolean",
  17. "default": true,
  18. "description": "Enable file diagnostics via lintr."
  19. },
  20. "r.lsp.rich_documentation": {
  21. "type": "boolean",
  22. "default": true,
  23. "description": "Rich documentation with enhanced markdown features."
  24. },
  25. "r.lsp.snippet_support": {
  26. "type": "boolean",
  27. "default": true,
  28. "description": "Enable snippets in auto completion."
  29. },
  30. "r.lsp.max_completions": {
  31. "type": "number",
  32. "default": 200,
  33. "description": "Maximum number of completion items."
  34. },
  35. "r.lsp.lint_cache": {
  36. "type": "boolean",
  37. "default": false,
  38. "description": "Toggle caching of lint results."
  39. },
  40. "r.lsp.link_file_size_limit": {
  41. "type": "number",
  42. "default": 16384,
  43. "description": "Maximum file size (in bytes) that supports document links."
  44. }
  45. }
  46. }