git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] contrib/vscode: respect configurable options of IntelliSense

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 16, 2025, 02:37 UTC
Message-ID
<fdd8e2c6-9adc-4e53-d65c-ba75da0758f9@gmx.de>
In-Reply-To
<20250204125721.11357-1-jelly.zhao.42@gmail.com>
Hi Zejun,
On Tue, 4 Feb 2025, Zejun Zhao wrote:
Show 20 quoted lines
> The initialization script of VSCode development environment uses removed configurable options of IntelliSense, e.g. C_Cpp.intelliSenseEngineFallback and therefore triggers some warnings.
>
> Fix this by strictly respecting the latest configuration manual of VSCode IntelliSense.
>
> Signed-off-by: Zejun Zhao <jelly.zhao.42@gmail.com>
> ---
>  contrib/vscode/init.sh | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/contrib/vscode/init.sh b/contrib/vscode/init.sh
> index f2d61bb0e6..17f5b6161e 100755
> --- a/contrib/vscode/init.sh
> +++ b/contrib/vscode/init.sh
> @@ -15,8 +15,7 @@ die "Could not create .vscode/"
>
>  cat >.vscode/settings.json.new <<\EOF ||
>  {
> -    "C_Cpp.intelliSenseEngine": "Default",
> -    "C_Cpp.intelliSenseEngineFallback": "Disabled",
> +    "C_Cpp.intelliSenseEngine": "default",
This looks good to me!

Thank you, Johannes

Show 21 quoted lines
>      "[git-commit]": {
>          "editor.wordWrap": "wordWrapColumn",
>          "editor.wordWrapColumn": 72
> @@ -203,8 +202,8 @@ cat >.vscode/settings.json.new <<\EOF ||
>          "\\Wchar *\\*\\W*utfs\\W",
>          "cURL's",
>          "nedmalloc'ed",
> -        "ntifs\\.h",
> -    ],
> +        "ntifs\\.h"
> +    ]
>  }
>  EOF
>  die "Could not write settings.json"
>
> base-commit: f93ff170b93a1782659637824b25923245ac9dd1
> --
> 2.43.0
>
>
>
Previous: Patrick SteinhardtNext: Junio C Hamano
Message 3 of 4 in “contrib/vscode: respect configurable options of IntelliSense”
  1. contrib/vscode: respect configurable options of IntelliSenseZejun Zhao, Feb 4, 2025
  2. Patrick SteinhardtFeb 5, 2025
  3. Johannes SchindelinMar 16, 2025
  4. Junio C HamanoMar 17, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.