Skip to content

Instantly share code, notes, and snippets.

@jabbalaci
Last active March 13, 2024 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jabbalaci/b9f058f33cc45a5850925286234c4a0a to your computer and use it in GitHub Desktop.
Save jabbalaci/b9f058f33cc45a5850925286234c4a0a to your computer and use it in GitHub Desktop.
My VS Code settings for autoformatting C code
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\\.c$",
"isAsync": false,
"cmd": "cd '${fileDirname}' && clang-format --style=Microsoft -i '${fileBasename}'"
},
]
},
@jabbalaci
Copy link
Author

This file belongs to this videos: https://www.youtube.com/watch?v=JiLLhqdZU4o (in Hungarian).

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