Skip to content

Commit 3cafaac

Browse files
committed
Remove MSVC support because literally nobody uses it
1 parent 394dcb7 commit 3cafaac

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/extension/runSettingsCommands.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,6 @@ const languageTemplates: Record<string, object> = {
4747
...gdbAttachDebugConfig,
4848
},
4949
},
50-
"C++ (MSVC)": {
51-
".cpp": {
52-
compileCommand: [
53-
"cl",
54-
"/EHsc",
55-
"${file}",
56-
"/Fe:${fileDirname}/${fileBasenameNoExtension}.exe",
57-
],
58-
runCommand: ["${fileDirname}/${fileBasenameNoExtension}.exe"],
59-
debugCommand: ["${fileDirname}/${fileBasenameNoExtension}.exe"],
60-
debugAttachConfig: "C++ (MSVC): Attach",
61-
},
62-
},
6350
Python: {
6451
".py": {
6552
runCommand: ["python", "${file}"],
@@ -191,12 +178,6 @@ const javaAttachConfig = {
191178
const launchTemplates: Record<string, vscode.DebugConfiguration> = {
192179
"C++ (GCC)": gdbAttachConfig,
193180
"C++ (Clang)": gdbAttachConfig,
194-
"C++ (MSVC)": {
195-
name: "C++ (MSVC): Attach",
196-
type: "cppvsdbg",
197-
request: "attach",
198-
processId: "${debugPid}",
199-
},
200181
Python: {
201182
name: "Python: Attach",
202183
type: "python",
@@ -244,7 +225,6 @@ const launchTemplates: Record<string, vscode.DebugConfiguration> = {
244225
const recommendedDebugExtensions: Record<string, string> = {
245226
"C++ (GCC)": "webfreak.debug",
246227
"C++ (Clang)": "webfreak.debug",
247-
"C++ (MSVC)": "ms-vscode.cpptools",
248228
Python: "ms-python.python",
249229
PyPy: "ms-python.python",
250230
Java: "redhat.java",

0 commit comments

Comments
 (0)