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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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",
     "[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





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux