From nobody Sun Feb 12 19:28:47 2023 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PFHZl5HLKz3r7h3 for ; Sun, 12 Feb 2023 19:28:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PFHZl4h11z3wlV; Sun, 12 Feb 2023 19:28:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676230127; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1/Ta+gMkuzTAdTIttIXStlV9iktmJkdJ4Hfs3DTx8I8=; b=CLAWQZxWt2N+73d1AvwuHqJTXS6tqHPL3WKxrYgWkWFbXJh65d7XogU2ig2YrJQFHDmzI/ 7VKcsp+5MSTn7hs2hzt8ffphmoUEKV7a3CZ5jhggyuPRHxM/hSR3xy0or3KbjFfSXQCGp2 2f3S26gh/vF4Xk5yiV2LabLPJ19SJIpsk3wR+3Y5J9Ka0S3yxjwEW0H5FaK6yic1JgKwI2 PJyEJRJlpmjeZjb6CPmzow2OgucS5aKQQZUS99IuKeeTOyeOAVbCungjXZT4uM/l2yenFa dAr4v2xvddYwDXlQ06kbNfARYB7tgNg3wuw89I+npFUFsuvgJM2b6CPdsMkCmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676230127; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1/Ta+gMkuzTAdTIttIXStlV9iktmJkdJ4Hfs3DTx8I8=; b=sOPT7QAV8R/Iun+g/jT9V3KXGEuOsOPeI3PBtoxhO5pZpgZaZ/nwJ72m9E5P7Ed8rVrrMi WmvL8qlYhfK9o9Ui8ciS53XMlVxOwf/yRfcO7/+K5JKKvkjxvZhIGZ6be/MEYyqJQBst/V 9EjzRq5X9ffVibwsLGOGXNo5GRROREvRneLEavQfeTfXhL+utMi8Y/BWoEAHvDvJDc87V2 kCSAIELs8mX/Iq1ekK648LVU/a7Z0IUHcKsFO++/kmeAAj71KjbZyvY39prbqz/r5L7Qvw ZiTQj2cxWKVveKheyOldmbYXzHp72lw3p72mGf3OHN1vFM1NXuAu8p7Rza85xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676230127; a=rsa-sha256; cv=none; b=nJ8D0FmsgDATevl6t0UXqarRb6NYwIDNIKK0KGPE3d2zZl4OCfXJZsobpYuSxXpXbUjpFU 2dLNKVl8FmDH27Nfp/Hb3XEv6VAVwSidHpBml3JfrQ2VFmGG0vLimV0icQ6crBih0b9+T/ I4QgVLZIl2k6w5pyy7AhjneWxcYK2PDQawrWHGs00x9AnDFjnd+jTcQmoVMAVHMoBeKj7J P0tu+hVBHarb2Z1SxhEWcg2Hm3GW7r5bkErlKUYawNNcEwATFnaBfSrcU6c5WxWuDBHt4l k+Eifvch8IbIVvOjsyaTrNM+QyhK4xPxAB25LgsdfZd6J4ky0v8uWTZ6EuqX1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PFHZl3kzdzpnB; Sun, 12 Feb 2023 19:28:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31CJSlw0056040; Sun, 12 Feb 2023 19:28:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CJSlgE056039; Sun, 12 Feb 2023 19:28:47 GMT (envelope-from git) Date: Sun, 12 Feb 2023 19:28:47 GMT Message-Id: <202302121928.31CJSlgE056039@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Ka Ho Ng Subject: git: af2dccb1b8 - main - articles: Fix LSP JSON compilation database filename List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: khng X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: af2dccb1b8c0e20c4465da9fd534666e0e188368 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by khng (src committer): URL: https://cgit.FreeBSD.org/doc/commit/?id=af2dccb1b8c0e20c4465da9fd534666e0e188368 commit af2dccb1b8c0e20c4465da9fd534666e0e188368 Author: Ka Ho Ng AuthorDate: 2023-02-12 19:26:19 +0000 Commit: Ka Ho Ng CommitDate: 2023-02-12 19:26:19 +0000 articles: Fix LSP JSON compilation database filename Approved by: lwhsu (docs) --- .../content/en/articles/freebsd-src-lsp/_index.adoc | 6 +++--- documentation/content/en/articles/freebsd-src-lsp/_index.po | 6 +++--- .../content/es/articles/freebsd-src-lsp/_index.adoc | 6 +++--- documentation/content/es/articles/freebsd-src-lsp/_index.po | 12 ++++++------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/documentation/content/en/articles/freebsd-src-lsp/_index.adoc b/documentation/content/en/articles/freebsd-src-lsp/_index.adoc index ac916d756e..8320e25df3 100644 --- a/documentation/content/en/articles/freebsd-src-lsp/_index.adoc +++ b/documentation/content/en/articles/freebsd-src-lsp/_index.adoc @@ -216,7 +216,7 @@ Depending on the language server implementations, put one of the following JSON A Compilation database contains an array of compile command objects. Each object specifies a way of compiling a source file. -The compilation database file is usually [.filename]#compiler_commands.json#. +The compilation database file is usually [.filename]#compile_commands.json#. The database is used by language server implementations for indexing purpose. Please refer to link:https://clang.llvm.org/docs/JSONCompilationDatabase.html#format[] for details on the format of the compilation database file. @@ -263,7 +263,7 @@ In the top-level directory of the FreeBSD src tree, generate the compilation dat The `--append` flag tells the `intercept-build` to read an existing compilation database (if a compilation database exists) and append the results to the database. Entries with duplicated command keys are merged. -The generated compilation database by default is saved in the current working directory as [.filename]#compiler_commands.json#. +The generated compilation database by default is saved in the current working directory as [.filename]#compile_commands.json#. [[generators-bear]] ==== Using devel/bear @@ -279,7 +279,7 @@ In the top-level directory of the FreeBSD src tree, to generate compilation data The `--append` flag tells `bear` to read an existing compilation database if it is present, and append the results to the database. Entries with duplicated command key are merged. -The generated compilation database by default is saved in the current working directory as [.filename]#compiler_commands.json#. +The generated compilation database by default is saved in the current working directory as [.filename]#compile_commands.json#. [[final]] == Final diff --git a/documentation/content/en/articles/freebsd-src-lsp/_index.po b/documentation/content/en/articles/freebsd-src-lsp/_index.po index 7293a4afc5..206926dae4 100644 --- a/documentation/content/en/articles/freebsd-src-lsp/_index.po +++ b/documentation/content/en/articles/freebsd-src-lsp/_index.po @@ -335,7 +335,7 @@ msgstr "" msgid "" "A Compilation database contains an array of compile command objects. Each " "object specifies a way of compiling a source file. The compilation database " -"file is usually [.filename]#compiler_commands.json#. The database is used " +"file is usually [.filename]#compile_commands.json#. The database is used " "by language server implementations for indexing purpose." msgstr "" @@ -434,7 +434,7 @@ msgid "" "compilation database (if a compilation database exists) and append the " "results to the database. Entries with duplicated command keys are merged. " "The generated compilation database by default is saved in the current " -"working directory as [.filename]#compiler_commands.json#." +"working directory as [.filename]#compile_commands.json#." msgstr "" #. type: Title ==== @@ -463,7 +463,7 @@ msgid "" "it is present, and append the results to the database. Entries with " "duplicated command key are merged. The generated compilation database by " "default is saved in the current working directory as [." -"filename]#compiler_commands.json#." +"filename]#compile_commands.json#." msgstr "" #. type: Title == diff --git a/documentation/content/es/articles/freebsd-src-lsp/_index.adoc b/documentation/content/es/articles/freebsd-src-lsp/_index.adoc index ef1be49b50..472e48585f 100644 --- a/documentation/content/es/articles/freebsd-src-lsp/_index.adoc +++ b/documentation/content/es/articles/freebsd-src-lsp/_index.adoc @@ -187,7 +187,7 @@ Después, presiona `Ctrl+Shift+P` para mostrar la paleta del editor de comandos. [[cdb]] == Base de datos de compilación -Una base de datos de compilación contiene un array de objetos de comandos de compilación. Cada objeto especifica una forma de compilar un fichero fuente. El fichero de la base de datos de compilación es normalmente [.filename]#compiler_commands.json#. La base de datos es utilizada por el servidor de lenguajes con propósitos de indexado. +Una base de datos de compilación contiene un array de objetos de comandos de compilación. Cada objeto especifica una forma de compilar un fichero fuente. El fichero de la base de datos de compilación es normalmente [.filename]#compile_commands.json#. La base de datos es utilizada por el servidor de lenguajes con propósitos de indexado. Por favor consulta link:https://clang.llvm.org/docs/JSONCompilationDatabase.html#format[] para detalles acerca del formato del fichero de la base de datos de compilación. @@ -226,7 +226,7 @@ En el directorio de más alto nivel en el árbol src de FreeBSD, genera la base # intercept-build --append make buildworld buildkernel -j`sysctl -n hw.ncpu` .... -El flag `--apend` le dice a `intercept-build` que lea una base de datos de compilación existente (si es que existe) y que añada los resultados a dicha base de datos. Las entradas con claves duplicadas de comandos son integradas. La base de datos de compilación generada por defecto se salva en el directorio de trabajo actual como [.filename]#compiler_commands.json#. +El flag `--apend` le dice a `intercept-build` que lea una base de datos de compilación existente (si es que existe) y que añada los resultados a dicha base de datos. Las entradas con claves duplicadas de comandos son integradas. La base de datos de compilación generada por defecto se salva en el directorio de trabajo actual como [.filename]#compile_commands.json#. [[generators-bear]] ==== Usando devel/bear @@ -240,7 +240,7 @@ En el directorio de más alto nivel en el árbol src de FreeBSD, genera la base # bear --append -- make buildworld buildkernel -j`sysctl -n hw.ncpu` .... -El flag `--apend` le dice a `bear` que lea una base de datos de compilación existente (si es que existe) y que añada los resultados a dicha base de datos. Las entradas con claves duplicadas de comandos son integradas. La base de datos de compilación generada por defecto se salva en el directorio de trabajo actual como [.filename]#compiler_commands.json#. +El flag `--apend` le dice a `bear` que lea una base de datos de compilación existente (si es que existe) y que añada los resultados a dicha base de datos. Las entradas con claves duplicadas de comandos son integradas. La base de datos de compilación generada por defecto se salva en el directorio de trabajo actual como [.filename]#compile_commands.json#. [[final]] == Final diff --git a/documentation/content/es/articles/freebsd-src-lsp/_index.po b/documentation/content/es/articles/freebsd-src-lsp/_index.po index 9c2cccbe75..eef290adb2 100644 --- a/documentation/content/es/articles/freebsd-src-lsp/_index.po +++ b/documentation/content/es/articles/freebsd-src-lsp/_index.po @@ -431,13 +431,13 @@ msgstr "Base de datos de compilación" msgid "" "A Compilation database contains an array of compile command objects. Each " "object specifies a way of compiling a source file. The compilation database " -"file is usually [.filename]#compiler_commands.json#. The database is used " +"file is usually [.filename]#compile_commands.json#. The database is used " "by language server implementations for indexing purpose." msgstr "" "Una base de datos de compilación contiene un array de objetos de comandos de " "compilación. Cada objeto especifica una forma de compilar un fichero fuente. " "El fichero de la base de datos de compilación es normalmente [." -"filename]#compiler_commands.json#. La base de datos es utilizada por el " +"filename]#compile_commands.json#. La base de datos es utilizada por el " "servidor de lenguajes con propósitos de indexado." #. type: Plain text @@ -557,13 +557,13 @@ msgid "" "compilation database (if a compilation database exists) and append the " "results to the database. Entries with duplicated command keys are merged. " "The generated compilation database by default is saved in the current " -"working directory as [.filename]#compiler_commands.json#." +"working directory as [.filename]#compile_commands.json#." msgstr "" "El flag `--apend` le dice a `intercept-build` que lea una base de datos de " "compilación existente (si es que existe) y que añada los resultados a dicha " "base de datos. Las entradas con claves duplicadas de comandos son " "integradas. La base de datos de compilación generada por defecto se salva en " -"el directorio de trabajo actual como [.filename]#compiler_commands.json#." +"el directorio de trabajo actual como [.filename]#compile_commands.json#." #. type: Title ==== #: documentation/content/en/articles/freebsd-src-lsp/_index.adoc:250 @@ -593,13 +593,13 @@ msgid "" "it is present, and append the results to the database. Entries with " "duplicated command key are merged. The generated compilation database by " "default is saved in the current working directory as [." -"filename]#compiler_commands.json#." +"filename]#compile_commands.json#." msgstr "" "El flag `--apend` le dice a `bear` que lea una base de datos de compilación " "existente (si es que existe) y que añada los resultados a dicha base de " "datos. Las entradas con claves duplicadas de comandos son integradas. La " "base de datos de compilación generada por defecto se salva en el directorio " -"de trabajo actual como [.filename]#compiler_commands.json#." +"de trabajo actual como [.filename]#compile_commands.json#." #. type: Title == #: documentation/content/en/articles/freebsd-src-lsp/_index.adoc:266