From 3692b8c574496e6c57c4107f88ea80937d1255d8 Mon Sep 17 00:00:00 2001 From: thernstig <30827238+thernstig@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:19:41 +0100 Subject: [PATCH 1/2] Add language support for C, C++, and CUDA in package.json --- Extension/package.json | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/Extension/package.json b/Extension/package.json index f183a39f5c..30d8eba73e 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -60,6 +60,42 @@ ], "main": "./dist/src/main", "contributes": { + "languages": [ + { + "id": "c", + "aliases": [ + "C" + ], + "extensions": [ + ".c", + ".h" + ] + }, + { + "id": "cpp", + "aliases": [ + "C++" + ], + "extensions": [ + ".cpp", + ".cc", + ".cxx", + ".hpp", + ".hh", + ".hxx" + ] + }, + { + "id": "cuda-cpp", + "aliases": [ + "CUDA" + ], + "extensions": [ + ".cu", + ".cuh" + ] + } + ], "walkthroughs": [ { "id": "cppWelcome", @@ -6589,4 +6625,4 @@ "postcss": "^8.4.31", "gulp-typescript/**/glob-parent": "^5.1.2" } -} +} \ No newline at end of file From 2c138d4b37366647a6721df54fb48a72a9a65586 Mon Sep 17 00:00:00 2001 From: thernstig <30827238+thernstig@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:40:21 +0100 Subject: [PATCH 2/2] Fix missing newline at end of package.json --- Extension/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/package.json b/Extension/package.json index 30d8eba73e..6a0637f6c9 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -6625,4 +6625,4 @@ "postcss": "^8.4.31", "gulp-typescript/**/glob-parent": "^5.1.2" } -} \ No newline at end of file +}