Skip to content

Commit

Permalink
break vscode into separate workspace, settings, and devcontainer arti…
Browse files Browse the repository at this point in the history
…facts for improved portability
  • Loading branch information
usrbinkat committed Aug 25, 2024
1 parent 531db51 commit 41b1901
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 285 deletions.
27 changes: 27 additions & 0 deletions .devcontainer/ccio-maintainer.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"folders": [
{
"name": "konductor",
"path": "../"
}
],
"settings": {
"files.exclude": {
"**/.hg": true,
"**/CVS": true,
"**/.git": true,
"**/.svn": true,
"**/venv": true,
"**/.kube": true,
"**/.talos": true,
"**/.pulumi": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.gitignore": true,
"**/node_modules": true
}
},
"extensions": {
"recommendations": []
}
}
285 changes: 0 additions & 285 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,291 +31,6 @@
],
"customizations": {
"vscode": {
"settings": {
"telemetry.enableTelemetry": "off",
"initializeCommand": "echo 'Initializing...'",
"postCreateCommand": "echo 'Post create...'",
"postStartCommand": "echo 'Post start...'",
"postAttachCommand": "echo 'Post attach...'",
"window": {
"titleBarStyle": "custom",
"title": "${localWorkspaceFolderBasename}${separator}${containerName}${separator}${profileName}${separator}${activeEditorShort}",
"density": {
"editorTabHeight": "compact"
}
},
"search": {
"defaultViewMode": "list"
},
"vim": {
"disableExtension": false,
"useSystemClipboard": true,
"useCtrlKeys": true,
"easymotion": true,
"incsearch": true,
"hlsearch": true,
"cursorStylePerMode": {
"normal": "block",
"insert": "line",
"visual": "underline",
"visualline": "underline",
"visualblock": "underline",
"replace": "block"
},
"insertModeKeyBindings": [
{
"before": [
"j",
"j"
],
"after": [
"<esc>"
]
}
],
"handleKeys": {
"<C-a>": false,
"<C-f>": false
}
},
"extensions.experimental.affinity": {
"vscodevim.vim": 1
},
"zenmode": {
"toggle": true,
"hideTabs": true,
"fullScreen": true,
"hideMinimap": true,
"centerLayout": false,
"hideStatusBar": false,
"hideActivityBar": false,
"hideLineNumbers": true,
"silentNotifications": true,
"hideLineDecorations": false,
"hideCursorInOverviewRuler": true
},
"editor": {
"tabSize": 4,
"fontSize": 14,
"autoSave": "onFocusChange",
"wordWrap": "on",
"showTabs": true,
"showIcons": true,
"tabSizing": "shrink",
"lineHeight": 20,
"autoIndent": true,
"lineNumbers": "relative",
"formatOnSave": true,
"insertSpaces": true,
"tabScrolling": "auto",
"tabCompletion": "on",
"tabDecoration": true,
"fontLigatures": true,
"tabCloseButton": "right",
"minimap.enabled": false,
"openPositioning": "right",
"restoreViewState": true,
"renderWhitespace": "all",
"suggestSelection": "first",
"closeOnFileDelete": true,
"autoClosingQuotes": "always",
"snippetSuggestions": "top",
"autoClosingBrackets": "always",
"tabHistoryNavigation": true,
"quickSuggestionsDelay": 50,
"autoImportCompletions": true,
"scrollBeyondLastLine": true,
"highlightModifiedTabs": true,
"inlineSuggest.enabled": true,
"parameterHints.enabled": true,
"trimTrailingWhitespace": true,
"lineHighlightBackground": "#30BFBF",
"highlightActiveIndentGuide": true,
"fontFamily": "'FiraMono Nerd Font Mono', monospace",
"gotoLocation": {
"multipleReferences": "goto",
"multipleDefinitions": "goto",
"multipleDeclarations": "goto",
"multipleImplementations": "goto",
"multipleTypeDefinitions": "goto"
},
"scrollbar": {
"alwaysConsumeMouseWheel": true
},
"bracketPairColorization": {
"enabled": true
}
},
"files": {
"encoding": "utf8",
"autoSave": "onFocusChange",
"trimFinalNewlines": true,
"insertFinalNewline": true,
"trimTrailingWhitespace": true
},
"git": {
"enabled": true,
"autofetch": true,
"autoStash": true,
"autorefresh": true,
"gitProtocol": "https",
"ignoreSubmodules": true,
"enableSmartCommit": true,
"ignoreLegacyWarning": true,
"autoRepositoryDetection": "openEditors",
"defaultCloneParentDirectory": "/home/vscode",
"scanRepositories": [
"/home/vscode",
"/home/vscode/konductor",
"/home/vscode/konductor/.github/devcontainer",
"/workspaces"
],
"path": "/usr/local/bin/git"
},
"go": {
"testTags": "all",
"vetOnSave": "off",
"buildTags": "all",
"lintOnSave": "off",
"testOnSave": "off",
"buildOnSave": "off",
"formatTool": "goimports",
"testEnvVars": {
"GOFLAGS": "-count=1"
},
"generateTestsFlags": [
"-count=1"
]
},
"terminal": {
"integrated": {
"fontSize": 14,
"scrollback": 10000,
"cursorStyle": "outline",
"hideOnStartup": false,
"cursorBlinking": true,
"copyOnSelection": true,
"sendKeybindingsToShell": false,
"cursorStyleInactive": "line",
"fontFamily": "FiraMono Nerd Font Mono",
"commandsToSkipShell": [],
"scrollbar": {
"alwaysConsumeMouseWheel": true
},
"shell": {
"linux": "/usr/bin/fish"
}
}
},
"vs-kubernetes": {
"vs-kubernetes.namespace": "*",
"vs-kubernetes.outputFormat": "yaml",
"vs-kubernetes.helm-path": "/usr/local/bin/helm",
"vs-kubernetes.kubeconfig": "/home/vscode/.kube/config",
"vs-kubernetes.kubectl-path": "/usr/local/bin/kubectl",
"vs-kubernetes.knownKubeconfigs": [
"/workspaces/*/.kube/config",
"/home/vscode/*/.kube/config",
"/home/vscode/.kube/config"
]
},
"remote": {
"restoreForwardedPorts": true,
"localPortHost": "127.0.0.1"
},
"2gua.rainbow-brackets": true,
"indentRainbow": {
"indicatorStyle": "light",
"colorOnWhiteSpaceOnly": true,
"lightIndicatorStyleLineWidth": 12,
"ignoreEmptyLines": true,
"errorColor": "rgba(255, 20, 147, 0.3)", // Bright Pink for errors
"tabmixColor": "rgba(128, 32, 96, 0.3)", // Purple for mixed tabs and spaces
"colors": [
"rgba(50, 150, 250, 0.1)", // Bright Blue
"rgba(200, 50, 250, 0.1)", // Purple
"rgba(50, 250, 150, 0.1)", // Neon Green
"rgba(250, 50, 150, 0.1)", // Pink
"rgba(50, 200, 250, 0.1)", // Lighter Blue
"rgba(150, 50, 250, 0.1)", // Darker Purple
"rgba(50, 250, 200, 0.1)", // Brighter Green
"rgba(250, 150, 50, 0.1)" // Orange
],
"ignoreErrorLanguages": [
"haskell",
"markdown",
"plaintext",
"shellscript",
"dockerfile",
"plaintext"
]
},
"workbench": {
"colorTheme": "Cyberpunk",
//"startupEditor": "readme",
"action.terminal.focusNext": {
"key": "ctrl+shift+down",
"mac": "cmd+shift+down"
},
"editorAssociations": {
"*.md": "runme"
}
},
"explorer": {
"openEditors": {
"visible": 0
},
"autoRevealExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/venv/**": true
},
"autoReveal": true,
"sortOrder": "filesFirst"
}
},
"[makefile]": {
"editor.tabSize": 4,
"editor.insertSpaces": false,
"editor.renderWhitespace": "selection"
},
"[yaml]": {
"editor": {
"trimTrailingWhitespace": true,
"insertFinalNewline": true,
"wordWrap": "off",
"lineNumbers": "relative",
"renderWhitespace": "all",
"autoSave": "onFocusChange",
"formatOnSave": true,
"insertSpaces": true,
"tabSize": 4,
"minimap.enabled": true,
"scrollBeyondLastLine": true,
"scrollbar": {
"alwaysConsumeMouseWheel": true
}
}
},
"[markdown]": {
"editor": {
"tabSize": 4,
"wordWrap": "on",
"autoSave": "onFocusChange",
"lineNumbers": "relative",
"formatOnSave": true,
"insertSpaces": true,
"minimap.enabled": false,
"renderWhitespace": "all",
"insertFinalNewline": true,
"scrollBeyondLastLine": true,
"trimTrailingWhitespace": false,
"scrollbar": {
"alwaysConsumeMouseWheel": true
}
}
},
"extensions": [
"golang.go",
"vscodevim.vim",
Expand Down
Loading

0 comments on commit 41b1901

Please sign in to comment.