From 97113160ecccf1549822c945b2cc97c0faf06633 Mon Sep 17 00:00:00 2001 From: Bob Brown Date: Wed, 3 Sep 2025 13:56:15 -0700 Subject: [PATCH 1/2] put standard library file associations in package.json --- Extension/package.json | 113 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 112 insertions(+), 1 deletion(-) diff --git a/Extension/package.json b/Extension/package.json index f0b6b9733..285988837 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -64,6 +64,117 @@ ], "main": "./dist/src/main", "contributes": { + "languages": [ + { + "id": "cpp", + "filenames": [ + "algorithm", + "any", + "array", + "atomic", + "barrier", + "bit", + "bitset", + "cassert", + "cctype", + "cerrno", + "cfloat", + "charconv", + "chrono", + "ciso646", + "climits", + "clocale", + "cmath", + "codecvt", + "compare", + "complex", + "concepts", + "condition_variable", + "coroutine", + "csetjmp", + "csignal", + "cstdarg", + "cstddef", + "cstdio", + "cstdlib", + "cstring", + "ctime", + "cwchar", + "cwctype", + "deque", + "exception", + "execution", + "expected", + "filesystem", + "flat_map", + "flat_set", + "format", + "forward_list", + "fstream", + "functional", + "future", + "generator", + "initializer_list", + "iomanip", + "ios", + "iosfwd", + "iostream", + "istream", + "iterator", + "latch", + "limits", + "list", + "locale", + "map", + "mdspan", + "memory", + "memory_resource", + "mutex", + "new", + "numbers", + "numeric", + "optional", + "ostream", + "print", + "queue", + "random", + "ranges", + "ratio", + "regex", + "scoped_allocator", + "semaphore", + "set", + "shared_mutex", + "source_location", + "span", + "spanstream", + "sstream", + "stack", + "stacktrace", + "stdexcept", + "stdfloat", + "stop_token", + "streambuf", + "string", + "string_view", + "strstream", + "syncstream", + "system_error", + "thread", + "tuple", + "type_traits", + "typeindex", + "typeinfo", + "unordered_map", + "unordered_set", + "utility", + "valarray", + "variant", + "vector", + "version" + ] + } + ], "walkthroughs": [ { "id": "cppWelcome", @@ -3349,7 +3460,7 @@ }, "C_Cpp.autoAddFileAssociations": { "type": "boolean", - "default": true, + "default": false, "markdownDescription": "%c_cpp.configuration.autoAddFileAssociations.markdownDescription%", "scope": "window" }, From 3fb4994ea382ce11355c3550a88d8f42b897b419 Mon Sep 17 00:00:00 2001 From: Bob Brown Date: Wed, 15 Oct 2025 13:44:05 -0700 Subject: [PATCH 2/2] Add a few missing headers --- Extension/package.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Extension/package.json b/Extension/package.json index 285988837..74116affa 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -76,11 +76,14 @@ "bit", "bitset", "cassert", + "ccomplex", "cctype", "cerrno", + "cfenv", "cfloat", "charconv", "chrono", + "cinttypes", "ciso646", "climits", "clocale", @@ -90,17 +93,24 @@ "complex", "concepts", "condition_variable", + "contracts", "coroutine", "csetjmp", "csignal", + "cstdalign", "cstdarg", + "cstdbool", "cstddef", + "cstdint", "cstdio", "cstdlib", "cstring", + "ctgmath", "ctime", + "cuchar", "cwchar", "cwctype", + "debugging", "deque", "exception", "execution", @@ -114,7 +124,10 @@ "functional", "future", "generator", + "hazard_pointer", + "hive", "initializer_list", + "inplace_vector", "iomanip", "ios", "iosfwd", @@ -123,6 +136,7 @@ "iterator", "latch", "limits", + "linalg", "list", "locale", "map", @@ -140,11 +154,13 @@ "random", "ranges", "ratio", + "rcu", "regex", "scoped_allocator", "semaphore", "set", "shared_mutex", + "simd", "source_location", "span", "spanstream", @@ -160,6 +176,7 @@ "strstream", "syncstream", "system_error", + "text_encoding", "thread", "tuple", "type_traits",