Skip to content

Commit

Permalink
Improve C/C++ configuration for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Aug 16, 2022
1 parent c962a59 commit 7a537c6
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
"version": 4,
"configurations": [
{
/* ms-vscode.cmake-tools plugin should be installed; it provides include paths and defines through CMake file */
/*
* ms-vscode.cmake-tools plugin should be installed.
*
* It provides data for C/C++ plugin,
* such as include paths, browse paths, defines, etc.
*/
"name": "STM32",
"includePath": [],
"defines": [],
"compilerPath": "",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "${default}",

/* Use this and all the include paths will come from CMake configuration instead */
"configurationProvider": "ms-vscode.cmake-tools"
"configurationProvider": "ms-vscode.cmake-tools",
"intelliSenseMode": "${default}"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
"version": 4,
"configurations": [
{
/* ms-vscode.cmake-tools plugin should be installed; it provides include paths and defines through CMake file */
/*
* ms-vscode.cmake-tools plugin should be installed.
*
* It provides data for C/C++ plugin,
* such as include paths, browse paths, defines, etc.
*/
"name": "STM32",
"includePath": [],
"defines": [],
"compilerPath": "",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "${default}",

/* Use this and all the include paths will come from CMake configuration instead */
"configurationProvider": "ms-vscode.cmake-tools"
"configurationProvider": "ms-vscode.cmake-tools",
"intelliSenseMode": "${default}"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
"version": 4,
"configurations": [
{
/* ms-vscode.cmake-tools plugin should be installed; it provides include paths and defines through CMake file */
/*
* ms-vscode.cmake-tools plugin should be installed.
*
* It provides data for C/C++ plugin,
* such as include paths, browse paths, defines, etc.
*/
"name": "STM32",
"includePath": [],
"defines": [],
"compilerPath": "",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "${default}",

/* Use this and all the include paths will come from CMake configuration instead */
"configurationProvider": "ms-vscode.cmake-tools"
"configurationProvider": "ms-vscode.cmake-tools",
"intelliSenseMode": "${default}"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
"version": 4,
"configurations": [
{
/* ms-vscode.cmake-tools plugin should be installed; it provides include paths and defines through CMake file */
/*
* ms-vscode.cmake-tools plugin should be installed.
*
* It provides data for C/C++ plugin,
* such as include paths, browse paths, defines, etc.
*/
"name": "STM32",
"includePath": [],
"defines": [],
"compilerPath": "",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "${default}",

/* Use this and all the include paths will come from CMake configuration instead */
"configurationProvider": "ms-vscode.cmake-tools"
"configurationProvider": "ms-vscode.cmake-tools",
"intelliSenseMode": "${default}"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
"version": 4,
"configurations": [
{
/* ms-vscode.cmake-tools plugin should be installed; it provides include paths and defines through CMake file */
/*
* ms-vscode.cmake-tools plugin should be installed.
*
* It provides data for C/C++ plugin,
* such as include paths, browse paths, defines, etc.
*/
"name": "STM32",
"includePath": [],
"defines": [],
"compilerPath": "",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "${default}",

/* Use this and all the include paths will come from CMake configuration instead */
"configurationProvider": "ms-vscode.cmake-tools"
"configurationProvider": "ms-vscode.cmake-tools",
"intelliSenseMode": "${default}"
}
]
}
}

0 comments on commit 7a537c6

Please sign in to comment.