Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/articlesfreebsd-src-lsp_index/id/units/?format=api
https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/units/?format=api&page=2", "previous": null, "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Use Language Servers for development in the FreeBSD src tree to get precise go-to-definition and completion results." ], "previous_source": "", "target": [ "" ], "id_hash": -4078668341492386277, "content_hash": -4078668341492386277, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:1", "context": "", "note": "type: YAML Front Matter: description", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/1246512/?format=api", "priority": 100, "id": 1390796, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=4765a8c0ccb6f61b", "url": "https://translate-dev.freebsd.org/api/units/1390796/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:17.970429Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Use Language Servers for Development in the FreeBSD Src Tree" ], "previous_source": "", "target": [ "" ], "id_hash": -2456673797030150405, "content_hash": -2456673797030150405, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:1, documentation/content/en/articles/freebsd-src-lsp/_index.adoc:13", "context": "", "note": "type: Title =", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1246514/?format=api", "priority": 100, "id": 1390797, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=5de824329701fefb", "url": "https://translate-dev.freebsd.org/api/units/1390797/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:17.974999Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Introduction" ], "previous_source": "", "target": [ "Pendahuluan" ], "id_hash": 5330140601372690748, "content_hash": 5330140601372690748, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:47", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246516/?format=api", "priority": 100, "id": 1390798, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=c9f876a2fbb4c93c", "url": "https://translate-dev.freebsd.org/api/units/1390798/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:17.978844Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Language server implementations" ], "previous_source": "", "target": [ "" ], "id_hash": -3679358639380326990, "content_hash": -3679358639380326990, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:75", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1246524/?format=api", "priority": 100, "id": 1390802, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=4cf04acfc27895b2", "url": "https://translate-dev.freebsd.org/api/units/1390802/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:17.997247Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "package:devel/ccls[]" ], "previous_source": "", "target": [ "" ], "id_hash": -7288544648080599393, "content_hash": -7288544648080599393, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:76", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246526/?format=api", "priority": 100, "id": 1390803, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=1ad9e3424994d69f", "url": "https://translate-dev.freebsd.org/api/units/1390803/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.001355Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "package:devel/llvm12[] (Other versions are okay, but newer is better. Replace `clangd12` with clangdN in case other versions are used.)" ], "previous_source": "", "target": [ "" ], "id_hash": 589257333791785348, "content_hash": 589257333791785348, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:77", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1246528/?format=api", "priority": 100, "id": 1390804, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=882d766c4df40184", "url": "https://translate-dev.freebsd.org/api/units/1390804/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.017069Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Editors" ], "previous_source": "", "target": [ "" ], "id_hash": -6195092813178477984, "content_hash": -6195092813178477984, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:78", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246530/?format=api", "priority": 100, "id": 1390805, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=2a069be8cfebe260", "url": "https://translate-dev.freebsd.org/api/units/1390805/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.029975Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "package:editors/vim[]" ], "previous_source": "", "target": [ "" ], "id_hash": 8087915242652337608, "content_hash": 8087915242652337608, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:79", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246532/?format=api", "priority": 100, "id": 1390806, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=f03e0c0fc3c285c8", "url": "https://translate-dev.freebsd.org/api/units/1390806/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.037967Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "package:editors/neovim[]" ], "previous_source": "", "target": [ "" ], "id_hash": -3954390076915552351, "content_hash": -3954390076915552351, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:80", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246534/?format=api", "priority": 100, "id": 1390807, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=491f2f2d221e6fa1", "url": "https://translate-dev.freebsd.org/api/units/1390807/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.052484Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "package:editors/vscode[]" ], "previous_source": "", "target": [ "" ], "id_hash": -3129872394721275801, "content_hash": -3129872394721275801, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:81", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246536/?format=api", "priority": 100, "id": 1390808, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=549075a3c8565067", "url": "https://translate-dev.freebsd.org/api/units/1390808/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.056540Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Compilation database generator" ], "previous_source": "", "target": [ "" ], "id_hash": -4862859829683631048, "content_hash": -4862859829683631048, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:82", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 20, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1246538/?format=api", "priority": 100, "id": 1390809, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=3c83a6bfdb30cc38", "url": "https://translate-dev.freebsd.org/api/units/1390809/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.060351Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "package:devel/python[] (For llvm's scan-build-py implementation)" ], "previous_source": "", "target": [ "" ], "id_hash": 4628479714742851621, "content_hash": 4628479714742851621, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:83", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1246540/?format=api", "priority": 100, "id": 1390810, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=c03ba9c71f595825", "url": "https://translate-dev.freebsd.org/api/units/1390810/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.064130Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "package:devel/py-pip[] (For rizsotto's scan-build implementation)" ], "previous_source": "", "target": [ "" ], "id_hash": 8126141078579125645, "content_hash": 8126141078579125645, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:84", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 22, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1246542/?format=api", "priority": 100, "id": 1390811, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=f0c5da41bf6b1d8d", "url": "https://translate-dev.freebsd.org/api/units/1390811/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.068928Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "package:devel/bear[]" ], "previous_source": "", "target": [ "" ], "id_hash": 3952221722498415457, "content_hash": 3952221722498415457, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:85", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 23, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246544/?format=api", "priority": 100, "id": 1390812, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=b6d91cb78319bb61", "url": "https://translate-dev.freebsd.org/api/units/1390812/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.072457Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Editor settings" ], "previous_source": "", "target": [ "" ], "id_hash": -7051164372803976792, "content_hash": -7051164372803976792, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:87", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 24, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1246546/?format=api", "priority": 100, "id": 1390813, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=1e253b5c922101a8", "url": "https://translate-dev.freebsd.org/api/units/1390813/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.076204Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Vim/Neovim" ], "previous_source": "", "target": [ "" ], "id_hash": -2998804814860899601, "content_hash": -2998804814860899601, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:90", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 25, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246548/?format=api", "priority": 100, "id": 1390814, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=56621ae8c37c2aef", "url": "https://translate-dev.freebsd.org/api/units/1390814/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.080123Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "LSP client plugins" ], "previous_source": "", "target": [ "" ], "id_hash": -537800352120376688, "content_hash": -537800352120376688, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:92, documentation/content/en/articles/freebsd-src-lsp/_index.adoc:178", "context": "", "note": "type: Title ====", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 26, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1246550/?format=api", "priority": 100, "id": 1390815, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=7889596ddbc8f290", "url": "https://translate-dev.freebsd.org/api/units/1390815/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.084041Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "The built-in plugin manager is used for both editors in this example. The LSP client plugin used is link:https://github.com/prabirshrestha/vim-lsp[prabirshrestha/vim-lsp]." ], "previous_source": "", "target": [ "" ], "id_hash": 1472873095224936258, "content_hash": 1472873095224936258, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:96", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 27, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1246552/?format=api", "priority": 100, "id": 1390816, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=9470b246c81cc742", "url": "https://translate-dev.freebsd.org/api/units/1390816/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.088310Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "To set up the LSP client plugin for Neovim:" ], "previous_source": "", "target": [ "" ], "id_hash": -5330310912766713376, "content_hash": -5330310912766713376, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:98", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 28, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1246554/?format=api", "priority": 100, "id": 1390817, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=3606ee774e26e1e0", "url": "https://translate-dev.freebsd.org/api/units/1390817/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.094593Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "# mkdir -p ~/.config/nvim/pack/lsp/start\n# git clone https://github.com/prabirshrestha/vim-lsp ~/.config/nvim/pack/lsp/start/vim-lsp\n" ], "previous_source": "", "target": [ "" ], "id_hash": -6749031709978231765, "content_hash": -6749031709978231765, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:103", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 29, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1246556/?format=api", "priority": 100, "id": 1390818, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=22569f6aece67c2b", "url": "https://translate-dev.freebsd.org/api/units/1390818/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.098787Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "and for Vim:" ], "previous_source": "", "target": [ "" ], "id_hash": -5383593003359887974, "content_hash": -5383593003359887974, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:106", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 30, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1246558/?format=api", "priority": 100, "id": 1390819, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=3549a2afdb749d9a", "url": "https://translate-dev.freebsd.org/api/units/1390819/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.102596Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "# mkdir -p ~/.vim/pack/lsp/start\n# git clone https://github.com/prabirshrestha/vim-lsp ~/.vim/pack/lsp/start/vim-lsp\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4766559375471020110, "content_hash": 4766559375471020110, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:111", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 31, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1246560/?format=api", "priority": 100, "id": 1390820, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=c226387f67c2084e", "url": "https://translate-dev.freebsd.org/api/units/1390820/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.107699Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "To enable the LSP client plugin in the editor, add the following snippet into [.filepath]#~/.config/nvim/init.vim# when using Neovim, or [.filepath]#~/.vim/vimrc# when using Vim:" ], "previous_source": "", "target": [ "" ], "id_hash": 5899824750319021377, "content_hash": 5899824750319021377, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:114", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 32, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/1246562/?format=api", "priority": 100, "id": 1390821, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=d1e0635a0fd2ad41", "url": "https://translate-dev.freebsd.org/api/units/1390821/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.111435Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "For ccls" ], "previous_source": "", "target": [ "" ], "id_hash": -6714088945761689192, "content_hash": -6714088945761689192, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:115, documentation/content/en/articles/freebsd-src-lsp/_index.adoc:203", "context": "", "note": "type: Block title", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 33, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1246564/?format=api", "priority": 100, "id": 1390822, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=22d2c3ad357f6198", "url": "https://translate-dev.freebsd.org/api/units/1390822/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.117688Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "au User lsp_setup call lsp#register_server({\n \\ 'name': 'ccls',\n \\ 'cmd': {server_info->['ccls']},\n \\ 'allowlist': ['c', 'cpp', 'objc'],\n \\ 'initialization_options': {\n \\ 'cache': {\n \\ 'hierarchicalPath': v:true\n \\ }\n \\ }})\n" ], "previous_source": "", "target": [ "" ], "id_hash": 3394018696454165694, "content_hash": 3394018696454165694, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:127", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 34, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/1246566/?format=api", "priority": 100, "id": 1390823, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=af19fa05ab2f54be", "url": "https://translate-dev.freebsd.org/api/units/1390823/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.129619Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "For clangd" ], "previous_source": "", "target": [ "" ], "id_hash": 3635272268954279546, "content_hash": 3635272268954279546, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:129, documentation/content/en/articles/freebsd-src-lsp/_index.adoc:188", "context": "", "note": "type: Block title", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 35, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1246568/?format=api", "priority": 100, "id": 1390824, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=b27314de3cd91e7a", "url": "https://translate-dev.freebsd.org/api/units/1390824/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.133431Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Please refer to link:https://github.com/prabirshrestha/vim-lsp/blob/master/README.md#registering-servers[] to learn about setting up key bindings and code completion. The official site of clangd is link:https://clangd.llvm.org[], and the repository link of ccls is link:https://github.com/MaskRay/ccls/[]." ], "previous_source": "", "target": [ "" ], "id_hash": -7405161521117554223, "content_hash": -7405161521117554223, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:144", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 38, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/1246572/?format=api", "priority": 100, "id": 1390826, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=193b94d4ad6599d1", "url": "https://translate-dev.freebsd.org/api/units/1390826/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.150698Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Below are the reference settings of keybindings and code completions. Put the following snippet into [.filepath]#~/.config/nvim/init.vim#, or [.filepath]#~/.vim/vimrc# for Vim users to use it:" ], "previous_source": "", "target": [ "" ], "id_hash": -2471463460875744944, "content_hash": -2471463460875744944, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:147", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 39, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate-dev.freebsd.org/api/units/1246574/?format=api", "priority": 100, "id": 1390827, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=5db39913a324c950", "url": "https://translate-dev.freebsd.org/api/units/1390827/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.154454Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "function! s:on_lsp_buffer_enabled() abort\n setlocal omnifunc=lsp#complete\n setlocal completeopt-=preview\n setlocal keywordprg=:LspHover\n" ], "previous_source": "", "target": [ "" ], "id_hash": -2267263320776237021, "content_hash": -2267263320776237021, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:154", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 40, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1246576/?format=api", "priority": 100, "id": 1390828, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=60891005b0dc2023", "url": "https://translate-dev.freebsd.org/api/units/1390828/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.159405Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ " nmap <buffer> <C-]> <plug>(lsp-definition)\n nmap <buffer> <C-W>] <plug>(lsp-peek-definition)\n nmap <buffer> <C-W><C-]> <plug>(lsp-peek-definition)\n nmap <buffer> gr <plug>(lsp-references)\n nmap <buffer> <C-n> <plug>(lsp-next-reference)\n nmap <buffer> <C-p> <plug>(lsp-previous-reference)\n nmap <buffer> gI <plug>(lsp-implementation)\n nmap <buffer> go <plug>(lsp-document-symbol)\n nmap <buffer> gS <plug>(lsp-workspace-symbol)\n nmap <buffer> ga <plug>(lsp-code-action)\n nmap <buffer> gR <plug>(lsp-rename)\n nmap <buffer> gm <plug>(lsp-signature-help)\nendfunction\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4422892543312194645, "content_hash": 4422892543312194645, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:168", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 41, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 49, "source_unit": "https://translate-dev.freebsd.org/api/units/1246578/?format=api", "priority": 100, "id": 1390829, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=bd614555abd8ec55", "url": "https://translate-dev.freebsd.org/api/units/1390829/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.163663Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "augroup lsp_install\n au!\n autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled()\naugroup END\n" ], "previous_source": "", "target": [ "" ], "id_hash": -2441715278344707649, "content_hash": -2441715278344707649, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:173", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 42, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1246580/?format=api", "priority": 100, "id": 1390830, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=5e1d48e41f9ea1bf", "url": "https://translate-dev.freebsd.org/api/units/1390830/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.167636Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "VSCode" ], "previous_source": "", "target": [ "" ], "id_hash": -7393915605729733855, "content_hash": -7393915605729733855, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:176", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 43, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246582/?format=api", "priority": 100, "id": 1390831, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=196388ee65431321", "url": "https://translate-dev.freebsd.org/api/units/1390831/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.171923Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "LSP client plugins are required to launch the language server daemon. Press `Ctrl+Shift+X` to show the extension online search panel. Enter `llvm-vs-code-extensions.vscode-clangd` when running clangd, or `ccls-project.ccls` when running ccls." ], "previous_source": "", "target": [ "" ], "id_hash": -1856816759860775133, "content_hash": -1856816759860775133, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:183", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 44, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translate-dev.freebsd.org/api/units/1246584/?format=api", "priority": 100, "id": 1390832, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=663b42fea781b723", "url": "https://translate-dev.freebsd.org/api/units/1390832/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.175591Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Then, press `Ctrl+Shift+P` to show the editor commands palette. Enter `Preferences: Open Settings (JSON)` into the palette and hit `Enter` to open [.filepath]#settings.json#. Depending on the language server implementations, put one of the following JSON key/value pairs in [.filepath]#settings.json#:" ], "previous_source": "", "target": [ "" ], "id_hash": 8109810920620374581, "content_hash": 8109810920620374581, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:187", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 45, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate-dev.freebsd.org/api/units/1246586/?format=api", "priority": 100, "id": 1390833, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=f08bd6108f293a35", "url": "https://translate-dev.freebsd.org/api/units/1390833/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.180134Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "[\n /* Begin of your existing configurations */\n ...\n /* End of your existing configurations */\n \"clangd.arguments\": [\n \"--background-index\",\n \"--header-insertion=never\"\n ],\n \"clangd.path\": \"clangd12\"\n]\n" ], "previous_source": "", "target": [ "" ], "id_hash": -7188521238433287374, "content_hash": -7188521238433287374, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:201", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 46, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate-dev.freebsd.org/api/units/1246588/?format=api", "priority": 100, "id": 1390834, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=1c3d3e0522d53332", "url": "https://translate-dev.freebsd.org/api/units/1390834/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.185831Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "[\n /* Begin of your existing configurations */\n ...\n /* End of your existing configurations */\n \"ccls.cache.hierarchicalPath\": true\n]\n" ], "previous_source": "", "target": [ "" ], "id_hash": -3134828121173861213, "content_hash": -3134828121173861213, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:212", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 47, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1246590/?format=api", "priority": 100, "id": 1390835, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=547eda6ecd86dca3", "url": "https://translate-dev.freebsd.org/api/units/1390835/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.190140Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Compilation database" ], "previous_source": "", "target": [ "" ], "id_hash": -4546987173640295982, "content_hash": -4546987173640295982, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:215", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 48, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1246592/?format=api", "priority": 100, "id": 1390836, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=40e5db41ace9a9d2", "url": "https://translate-dev.freebsd.org/api/units/1390836/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.194208Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Please refer to link:https://clang.llvm.org/docs/JSONCompilationDatabase.html#format[] for details on the format of the compilation database file." ], "previous_source": "", "target": [ "" ], "id_hash": 2972877637565104510, "content_hash": 2972877637565104510, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:223", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 50, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/1246596/?format=api", "priority": 100, "id": 1390838, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=a941c875dbc5417e", "url": "https://translate-dev.freebsd.org/api/units/1390838/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.201741Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Generators" ], "previous_source": "", "target": [ "" ], "id_hash": 5132364135722423944, "content_hash": 5132364135722423944, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:225", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 51, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246598/?format=api", "priority": 100, "id": 1390839, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=c739d1fd2fb09688", "url": "https://translate-dev.freebsd.org/api/units/1390839/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.214842Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Using scan-build-py" ], "previous_source": "", "target": [ "" ], "id_hash": 6462105676483431295, "content_hash": 6462105676483431295, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:228", "context": "", "note": "type: Title ====", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 52, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1246600/?format=api", "priority": 100, "id": 1390840, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=d9ae02e003d48b7f", "url": "https://translate-dev.freebsd.org/api/units/1390840/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.218992Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Installation" ], "previous_source": "", "target": [ "" ], "id_hash": -3959746046122658226, "content_hash": -3959746046122658226, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:230", "context": "", "note": "type: Title =====", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 53, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246602/?format=api", "priority": 100, "id": 1390841, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=490c27f36019f64e", "url": "https://translate-dev.freebsd.org/api/units/1390841/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.227703Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "`intercept-build` tool from scan-build-py is used to generate compilation database." ], "previous_source": "", "target": [ "" ], "id_hash": 272642134699790994, "content_hash": 272642134699790994, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:234", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 54, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1246604/?format=api", "priority": 100, "id": 1390842, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=83c89e93b595d292", "url": "https://translate-dev.freebsd.org/api/units/1390842/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.231769Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Install package:devel/python[] to get python interpreter first. To get `intercept-build` from LLVM:" ], "previous_source": "", "target": [ "" ], "id_hash": -7912040971089752638, "content_hash": -7912040971089752638, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:237", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 55, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1246606/?format=api", "priority": 100, "id": 1390843, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=1232c8a815dbcdc2", "url": "https://translate-dev.freebsd.org/api/units/1390843/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.240564Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "# git clone https://github.com/llvm/llvm-project /path/to/llvm-project\n" ], "previous_source": "", "target": [ "" ], "id_hash": 3877501883020902878, "content_hash": 3877501883020902878, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:241", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 56, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1246608/?format=api", "priority": 100, "id": 1390844, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=b5cfa76b315e81de", "url": "https://translate-dev.freebsd.org/api/units/1390844/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.244536Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "where [.filename]#/path/to/llvm-project/# is your desired path for the repository. Make an alias in the shell configuration file for convenience:" ], "previous_source": "", "target": [ "" ], "id_hash": -252968866010855666, "content_hash": -252968866010855666, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:244", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 57, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1246610/?format=api", "priority": 100, "id": 1390845, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=7c7d46281a30870e", "url": "https://translate-dev.freebsd.org/api/units/1390845/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.248316Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "alias intercept-build='/path/to/llvm-project/clang/tools/scan-build-py/bin/intercept-build'\n" ], "previous_source": "", "target": [ "" ], "id_hash": -6583420480135685124, "content_hash": -6583420480135685124, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:248", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 58, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1246612/?format=api", "priority": 100, "id": 1390846, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=24a2fdf42a7b1bfc", "url": "https://translate-dev.freebsd.org/api/units/1390846/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.252329Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "link:https://github.com/rizsotto/scan-build[rizsotto/scan-build] can be used instead of LLVM's scan-build-py. The LLVM's scan-build-py was rizsotto/scan-build merged into the LLVM tree. This implementation can be installed by `pip install --user scan-build`. The `intercept-build` script is in [.filename]#~/.local/bin# by default." ], "previous_source": "", "target": [ "" ], "id_hash": 3380618217191833310, "content_hash": 3380618217191833310, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:254", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 59, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 36, "source_unit": "https://translate-dev.freebsd.org/api/units/1246614/?format=api", "priority": 100, "id": 1390847, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=aeea5e5b74eefede", "url": "https://translate-dev.freebsd.org/api/units/1390847/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.260306Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "Usage" ], "previous_source": "", "target": [ "" ], "id_hash": -4722482820340433130, "content_hash": -4722482820340433130, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:255, documentation/content/en/articles/freebsd-src-lsp/_index.adoc:271", "context": "", "note": "type: Title =====", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 60, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1246616/?format=api", "priority": 100, "id": 1390848, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=3e765ee54bb93f16", "url": "https://translate-dev.freebsd.org/api/units/1390848/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.264944Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "In the top-level directory of the FreeBSD src tree, generate the compilation database with `intercept-build`:" ], "previous_source": "", "target": [ "" ], "id_hash": 304418914827616669, "content_hash": 304418914827616669, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:258", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 61, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/1246618/?format=api", "priority": 100, "id": 1390849, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=84398363e135c19d", "url": "https://translate-dev.freebsd.org/api/units/1390849/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.269054Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesfreebsd-src-lsp_index/id/?format=api", "source": [ "# intercept-build --append make buildworld buildkernel -j`sysctl -n hw.ncpu`\n" ], "previous_source": "", "target": [ "" ], "id_hash": 7115207050970753196, "content_hash": 7115207050970753196, "location": "documentation/content/en/articles/freebsd-src-lsp/_index.adoc:262", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 62, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1246620/?format=api", "priority": 100, "id": 1390850, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesfreebsd-src-lsp_index/id/?checksum=e2be4b1d687768ac", "url": "https://translate-dev.freebsd.org/api/units/1390850/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-03-09T17:12:18.272875Z" } ] }{ "count": 69, "next": "