Skip to content

Instantly share code, notes, and snippets.

@drashna
Last active November 7, 2024 04:45
Show Gist options
  • Save drashna/48e2c49ce877be592a1650f91f8473e8 to your computer and use it in GitHub Desktop.
Save drashna/48e2c49ce877be592a1650f91f8473e8 to your computer and use it in GitHub Desktop.
{
"configurations": [
{
"name": "Mac",
"includePath": [
"/usr/local/Cellar/arm-gcc-bin@8/8-2019-q3-update_1/arm-none-eabi/include/**",
"/usr/local/Cellar/arm-gcc-bin@8/8-2019-q3-update_1/lib/gcc/arm-none-eabi/8.3.1/include/**",
"/usr/local/Cellar/arm-gcc-bin@8/8-2019-q3-update_1/lib/gcc/arm-none-eabi/8.3.1/include-fixed/**",
"/usr/local/Cellar/avr-gcc@8/8.4.0_2/avr/include/**",
"/usr/local/Cellar/avr-gcc@8/8.4.0_2/lib/avr-gcc/8/gcc/avr/8.4.0/include/**",
"/usr/local/Cellar/avr-gcc@8/8.4.0_2/lib/avr-gcc/8/gcc/avr/8.4.0/include-fixed/**",
"/usr/local/include/**",
"${workspaceFolder}"
],
"defines": [
"QMK_KEYBOARD_H=<quantum.h>"
],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false,
"databaseFilename": ""
},
"macFrameworkPath": [
"/System/Library/Frameworks",
"/Library/Frameworks"
]
},
{
"name": "Linux",
"includePath": [
"/usr/include",
"/usr/local/include",
"${workspaceFolder}"
],
"defines": [
"QMK_KEYBOARD_H=<quantum.h>"
],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false,
"databaseFilename": ""
}
},
{
"name": "Win32",
"includePath": [
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/include/*",
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/atlmfc/include/*",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.16299.0/um",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.16299.0/ucrt",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.16299.0/shared",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.16299.0/winrt",
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/include",
"C:/msys64/mingw64/avr/include/**",
"C:/msys64/mingw64/lib/gcc/avr/8.4.0/include/**",
"C:/msys64/mingw64/lib/gcc/avr/8.4.0/include-fixed/**",
"C:/msys64/mingw64/arm-none-eabi/include/**",
"C:/msys64/mingw64/lib/gcc/arm-none-eabi/10.1.0/include/**",
"C:/msys64/mingw64/lib/gcc/arm-none-eabi/10.1.0/include-fixed/**",
"C:/QMK_MSYS/mingw64/avr/include/**",
"C:/QMK_MSYS/mingw64/arm-none-eabi/include/**",
"C:/QMK_MSYS/mingw64/lib/gcc/avr/8.4.0/include/**",
"C:/QMK_MSYS/mingw64/lib/gcc/avr/8.4.0/include-fixed/**",
"C:/QMK_MSYS/mingw64/lib/gcc/arm-none-eabi/10.1.0/include/**",
"C:/QMK_MSYS/mingw64/lib/gcc/arm-none-eabi/10.1.0/include-fixed/**",
"${workspaceFolder}/**",
"${workspaceFolder}/quantum/**",
"${workspaceFolder}/tmk_core/common/**",
"${workspaceFolder}/quantum/audio/**",
"${workspaceFolder}/quantum/process_keycode/**",
"${workspaceFolder}/drivers/avr/**",
"${workspaceFolder}/lib/chibios/**",
"${workspaceFolder}/lib/lufa/**"
],
"defines": [
"QMK_KEYBOARD_H=<quantum.h>"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/include/*",
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/atlmfc/include/*",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.16299.0/um",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.16299.0/ucrt",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.16299.0/shared",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.16299.0/winrt",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false,
"databaseFilename": ""
},
"cStandard": "c11",
"cppStandard": "c++17"
}
],
"version": 4
}
@AllySummers
Copy link

I had to use the below config (for Windows).

I recommend getting this download of VS build tools: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022
Tick "Desktop development with C++" and make sure to select "C++ ATL for latest..." under "Optional" on the right side.

https://gist.github.com/AllySummers/5c272184ad991f33838b9ff641cd8b51

@stuartsoft
Copy link

What's the license on this json file? Public Domain?

@Ismoh
Copy link

Ismoh commented Dec 27, 2022

I had to use the below config (for Windows).

I recommend getting this download of VS build tools: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022 Tick "Desktop development with C++" and make sure to select "C++ ATL for latest..." under "Optional" on the right side.

https://gist.github.com/AllySummers/5c272184ad991f33838b9ff641cd8b51

Where did you put c_cpp_properties.json file? Root level of repository? Does this work out of the box with GitHub actions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment