Skip to content

Instantly share code, notes, and snippets.

@leonkasovan
Created November 30, 2024 14:48
Show Gist options
  • Save leonkasovan/f7fce3f92e03c99c9e7da3348ac98b02 to your computer and use it in GitHub Desktop.
Save leonkasovan/f7fce3f92e03c99c9e7da3348ac98b02 to your computer and use it in GitHub Desktop.
Visual Code Recommend Default Setting
///C:/Users/Personal Komputer/AppData/Roaming/Code/User/settings.json
{
"editor.minimap.enabled": false,
"extensions.ignoreRecommendations": true,
"git.openRepositoryInParentFolders": "never",
"diffEditor.ignoreTrimWhitespace": true,
"terminal.integrated.defaultProfile.windows": "PowerShell",
"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"
},
"bash (MSYS2)": {
"path": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"--login",
"-i"
],
"env": {
"CHERE_INVOKING": "1"
}
},
"MSYS2 UCRT64": {
"path": "cmd.exe",
"args": [
"/c",
"C:\\msys64\\msys2_shell.cmd -defterm -here -no-start -ucrt64"
],
"env": {
"MSYSTEM": "UCRT64",
"PATH": "/ucrt64/bin:/usr/bin:/usr/local/bin:/bin:${env:PATH}"
}
}
},
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh"
},
"fish": {
"path": "fish"
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
}
},
"editor.codeActionsOnSave": {
},
"remote.SSH.remotePlatform": {
"192.168.1.26": "linux"
},
"gopls": {
"go.buildFlags": [
"-tags=glfw,gl"
]
},
"editor.formatOnSave": true,
"workbench.settings.applyToAllProfiles": [
"editor.formatOnSave"
],
"cmake.additionalCompilerSearchDirs": [
"C:/msys64/mingw32/bin",
"C:/msys64/mingw64/bin",
"C:/msys64/clang32/bin",
"C:/msys64/clang64/bin",
"C:/msys64/clangarm64/bin"
],
"java.imports.gradle.wrapper.checksums": [
{
"sha256": "2c23278a62dc9f96ab11bee897d9f53e6479d6419135e4560ce822a6431df5e5",
"allowed": true
}
],
"[c]": {
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"editor.formatOnType": true,
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block": "sameLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.function": "sameLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.lambda": "sameLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.namespace": "sameLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.type": "sameLine",
"C_Cpp.vcFormat.newLine.beforeWhileInDoWhile": true,
"C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyFunction": true,
"C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyType": true,
"C_Cpp.vcFormat.newLine.scopeBracesOnSeparateLines": true,
"C_Cpp.vcFormat.space.afterCastCloseParenthesis": true,
"C_Cpp.formatting": "vcFormat"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment