Skip to content

Commit

Permalink
Don't add compileCommands to c_cpp_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLuGit committed Mar 22, 2024
1 parent 382d1de commit db466b4
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 db466b4

Please sign in to comment.