Skip to content

Commit

Permalink
Don't add compileCommands to c_cpp_properties (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLuGit authored Mar 28, 2024
1 parent d9b7daf commit 8d938ea
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/workspace_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,6 @@ const modifyCCppJson = async (
json.configurations[0].includePath.push(include);
}

// Secibdm setup compile_commands.json filepath
json.configurations[0].compileCommands = path.join(
dirpath.fsPath,
"compile_commands.json"
);

// Third, setup cStandard, cppStandard, and intelliSenseMode
json.configurations[0].cStandard = "gnu11";
json.configurations[0].cppStandard = "gnu++20";
Expand Down

0 comments on commit 8d938ea

Please sign in to comment.