Add custom vscode settings for windows.

This commit is contained in:
kelson8 2025-01-23 19:24:48 -05:00
parent 73982aace6
commit 734f2aff85
3 changed files with 72 additions and 1 deletions

2
.gitignore vendored
View File

@ -44,7 +44,7 @@
# Text editor remnants # Text editor remnants
*.swp *.swp
.vscode/* # vscode/*
.idea/* .idea/*
# General project-specific ignores # General project-specific ignores

29
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,29 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/include",
"${workspaceFolder}/include/**",
"${workspaceFolder}/include/dxsdk",
"${workspaceFolder}/include/GL",
"${workspaceFolder}/include/libc",
"${workspaceFolder}/include/PR",
"${workspaceFolder}/include/stb"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.22621.0",
"compilerPath": "cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"configurationProvider": "ms-vscode.makefile-tools"
}
],
"version": 4
}

42
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,42 @@
{
"files.associations": {
"sm64.h": "c",
"gfx_dimensions.h": "c",
"gbi.h": "c",
"options_menu.h": "c",
"*.in": "cpp",
"chrono": "cpp",
"functional": "cpp"
},
// https://stackoverflow.com/questions/45836650/how-do-i-integrate-msys2-shell-into-visual-studio-code-on-window
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
},
"MSYS2": {
"path": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"--login",
"-i"
],
"env": {
"MSYSTEM": "MINGW64",
"CHERE_INVOKING": "1"
}
}
},
}