Browse Source

Added clang format, Sublime, and VSCode settings

master
Macoy Madson 4 years ago
parent
commit
eb45f86b76
  1. 17
      ClangFormat/clang_format.vsSettings
  2. 24
      SublimeText3/SublimeSettings.json
  3. 25
      VSCode/VSCodeSettings.json

17
ClangFormat/clang_format.vsSettings

@ -0,0 +1,17 @@
// Remove me and name file '.clang-format', put in top level source
BasedOnStyle: Google
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: false
ColumnLimit: 100
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
IndentWidth: 4
Standard: Cpp03
TabWidth: 4
UseTab: ForIndentation
DerivePointerAlignment: false
PointerAlignment: Left

24
SublimeText3/SublimeSettings.json

@ -0,0 +1,24 @@
{
"added_words":
[
"Macoy"
],
"auto_match_enabled": false,
"caret_extra_width": 1,
"color_scheme": "Packages/User/Color Highlighter/themes/laravel.tmTheme",
"enable_tab_scrolling": false,
"font_face": "Consolas",
"font_size": 10,
"ignored_packages":
[
"Vintage"
],
"predawn_tabs_active_underline": true,
"predawn_tabs_small": true,
"rulers":
[
100
],
"theme": "Adaptive.sublime-theme",
"word_wrap": "false"
}

25
VSCode/VSCodeSettings.json

@ -0,0 +1,25 @@
{
"workbench.colorTheme": "Kimbie Dark",
"workbench.colorCustomizations": {
"statusBar.background" : "#1A1A1A",
"statusBar.noFolderBackground" : "#212121",
"statusBar.debuggingBackground": "#263238",
// Remove when theme changes
"editorIndentGuide.background": "#442323"
},
"clang-format.executable": "C:/clang-format.exe",
"workbench.iconTheme": "vscode-icons",
"window.zoomLevel": 0,
"sublimeTextKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
"editor.formatOnPaste": true,
// Don't close my damn files
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.editor.tabSizing": "shrink",
}
Loading…
Cancel
Save