diff --git a/snowblocks/visual-studio-code/css/remove-action-button.css b/snowblocks/visual-studio-code/css/remove-action-button.css new file mode 100644 index 0000000..381b54c --- /dev/null +++ b/snowblocks/visual-studio-code/css/remove-action-button.css @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2016-present Arctic Ice Studio + * Copyright (C) 2016-present Sven Greb + * + * Project: Nord Atom UI + * Repository: https://github.com/arcticicestudio/nord-atom-ui + * License: MIT + */ + +/* + * Removes unnecessary "action button" clutter. + * The functionality is available through keybindings and the command palette. + */ + +/* Hide action buttons placed next to sidebar view titles */ +[aria-label="Debug actions"] { + display: none !important; +} +[aria-label="Editor actions"] { + display: none !important; +} +[aria-label="Search actions"] { + display: none !important; +} +[aria-label="Extensions actions"] { + display: none !important; +} + +/* Hide action buttons placed in sidebar panel headers */ +.panel-header.expanded .actions { + display: none !important; +} diff --git a/snowblocks/visual-studio-code/keybindings.json b/snowblocks/visual-studio-code/keybindings.json new file mode 100644 index 0000000..20a7637 --- /dev/null +++ b/snowblocks/visual-studio-code/keybindings.json @@ -0,0 +1,132 @@ +/* + * Copyright (C) 2016-present Arctic Ice Studio + * Copyright (C) 2016-present Sven Greb + * + * Project: igloo + * Repository: https://github.com/arcticicestudio/igloo + * License: MIT + */ +[ + /* +--- Editor Workflow ---+ */ + /* Duplicate lines */ + { + "key": "ctrl+shift+d", + "command": "editor.action.copyLinesDownAction" + }, + + /* Move lines up and down */ + { + "key": "ctrl+up", + "command": "editor.action.moveLinesUpAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "alt+up", + "command": "-editor.action.moveLinesUpAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "ctrl+down", + "command": "editor.action.moveLinesDownAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "alt+down", + "command": "-editor.action.moveLinesDownAction", + "when": "editorTextFocus && !editorReadonly" + }, + + /* Toggle block commments for current selection */ + { + "key": "ctrl+shift+numpad_divide", + "command": "editor.action.blockComment", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "ctrl+shift+a", + "command": "-editor.action.blockComment", + "when": "editorTextFocus && !editorReadonly" + }, + + /* +--- Extensions ---+ */ + /* [Markdown Preview Enhanced] */ + /* Open markdown preview tab */ + { + "key": "ctrl+shift+m", + "command": "markdown-preview-enhanced.openPreview", + "when": "editorLangId == 'markdown'" + }, + + /* [Projects+] */ + /* Open command palette to open project */ + { + "key": "ctrl+shift+alt+p", + "command": "projects.open" + }, + { + "key": "ctrl+alt+p", + "command": "-projects.open" + }, + /* Open command palette to add project folder to current workspace */ + { + "key": "ctrl+alt+p", + "command": "projects.addToWorkspace" + }, + + /* +--- UI ---+ */ + /* Toggle activity bar visibility */ + { + "key": "ctrl+shift+[Period]", + "command": "workbench.action.toggleActivityBarVisibility" + }, + + /* Show "quick open" command palette */ + { + "key": "ctrl+t", + "command": "workbench.action.quickOpen" + }, + { + "key": "ctrl+t", + "command": "-workbench.action.showAllSymbols" + }, + { + "key": "ctrl+p", + "command": "-workbench.action.quickOpen" + }, + + /* Show symbols command palette for current file */ + { + "key": "ctrl+q", + "command": "workbench.action.gotoSymbol" + }, + { + "key": "ctrl+shift+o", + "command": "-workbench.action.gotoSymbol" + }, + /* Show symbols command palette for the complete workspace */ + { + "key": "ctrl+shift+q", + "command": "workbench.action.showAllSymbols" + }, + + /* +--- Defaults ---+ */ + /* Disable all default shortcuts to close the application window! */ + { + "key": "ctrl+q", + "command": "-workbench.action.quit" + }, + { + "key": "ctrl+shift+w", + "command": "-workbench.action.closeWindow" + }, + { + "key": "ctrl+p", + "command": "-workbench.action.quickOpenNavigateNextInFilePicker", + "when": "inFilesPicker && inQuickOpen" + }, + { + "key": "ctrl+w", + "command": "-workbench.action.closeWindow", + "when": "!editorIsOpen && !multipleEditorGroups" + } +] diff --git a/snowblocks/visual-studio-code/locale.json b/snowblocks/visual-studio-code/locale.json new file mode 100644 index 0000000..3d9084a --- /dev/null +++ b/snowblocks/visual-studio-code/locale.json @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2016-present Arctic Ice Studio + * Copyright (C) 2016-present Sven Greb + * + * Project: igloo + * Repository: https://github.com/arcticicestudio/igloo + * License: MIT + */ +{ + /* + * Defines the display language. + * See https://code.visualstudio.com/docs/getstarted/locales for details. + */ + "locale":"en" +} diff --git a/snowblocks/visual-studio-code/projects.json b/snowblocks/visual-studio-code/projects.json new file mode 100644 index 0000000..eb6aa37 --- /dev/null +++ b/snowblocks/visual-studio-code/projects.json @@ -0,0 +1,18 @@ +{ + "groups": [ + { + "name": "", + "projects": [] + } + ], + "projects": [ + { + "name": "playlists", + "path": "~/videos/playlists" + }, + { + "name": "scratchpad", + "path": "~/documents/scratchpad" + } + ] +} diff --git a/snowblocks/visual-studio-code/settings.json b/snowblocks/visual-studio-code/settings.json new file mode 100644 index 0000000..0dc5399 --- /dev/null +++ b/snowblocks/visual-studio-code/settings.json @@ -0,0 +1,108 @@ +/* + * Copyright (C) 2016-present Arctic Ice Studio + * Copyright (C) 2016-present Sven Greb + * + * Project: igloo + * Repository: https://github.com/arcticicestudio/igloo + * License: MIT + */ +{ + /*+--- Core ---+*/ + "editor.accessibilitySupport": "off", + "editor.codeLens": true, + "editor.colorDecorators": true, + "editor.cursorBlinking": "phase", + "editor.emptySelectionClipboard": false, + "editor.fontFamily": "'Source Code Pro', 'Hack'", + "editor.fontSize": 20, + "editor.fontWeight": "500", + "editor.formatOnSave": true, + "editor.lightbulb.enabled": false, + "editor.multiCursorModifier": "ctrlCmd", + "editor.renderIndentGuides": false, + "editor.smoothScrolling": true, + "editor.tabSize": 2, + "editor.wordWrapColumn": 120, + "explorer.openEditors.visible": 0, + "extensions.autoUpdate": false, + "extensions.closeExtensionDetailsOnViewChange": true, + "extensions.ignoreRecommendations": true, + "extensions.showRecommendationsOnlyOnDemand": true, + "files.associations": {}, + "files.eol": "\n", + "files.insertFinalNewline": true, + "problems.autoReveal": false, + "search.collapseResults": "alwaysCollapse", + "search.useGlobalIgnoreFiles": true, + "telemetry.enableCrashReporter": false, + "telemetry.enableTelemetry": false, + "terminal.explorerKind": "external", + "terminal.external.linuxExec": "tilix", + "terminal.external.osxExec": "iTerm.app", + "terminal.integrated.cursorStyle": "line", + "terminal.integrated.fontSize": 20, + "update.channel": "none", + "update.enableWindowsBackgroundUpdates": false, + "window.enableMenuBarMnemonics": false, + "window.menuBarVisibility": "toggle", + "window.titleBarStyle": "native", + "window.zoomLevel": 0.5, + "workbench.activityBar.visible": false, + "workbench.colorTheme": "Nord", + "workbench.commandPalette.preserveInput": true, + "workbench.editor.enablePreview": false, + "workbench.editor.enablePreviewFromQuickOpen": false, + "workbench.editor.focusRecentEditorAfterClose": false, + "workbench.enableExperiments": false, + "workbench.iconTheme": "file-icons", + "workbench.quickOpen.preserveInput": true, + "workbench.settings.enableNaturalLanguageSearch": false, + "workbench.sideBar.location": "left", + "workbench.startupEditor": "newUntitledFile", + "workbench.statusBar.feedback.visible": false, + + /*+--- Extensions ---+*/ + "docker.showExplorer": false, + "go.coverageDecorator": { + "type": "highlight", + "coveredHighlightColor": "rgba(163, 190, 140, 0.45)", + "uncoveredHighlightColor": "rgba(191, 97, 106, 0.25)", + "coveredGutterStyle": "verticalgreen", + "uncoveredGutterStyle": "verticalred" + }, + "html.format.indentInnerHtml": true, + "javascript.preferences.quoteStyle": "double", + "markdown-preview-enhanced.enableExtendedTableSyntax": true, + "markdown.preview.breaks": true, + "markdown.preview.doubleClickToSwitchToEditor": false, + "markdown.preview.fontFamily": "-apple-system, BlinkMacSystemFont, Inter, sans-serif", + "markdown.preview.fontSize": 20, + "path-intellisense.showHiddenFiles": true, + "prettier.requireConfig": true, + "projects.checkPaths": true, + "projects.configPath": "~/.vscode/projects.json", + "projects.indentationSpaces": 2, + "projects.refreshDepth": 4, + "projects.refreshRoots": [ + "~/code/incubator", + "~/code/job", + "~/code/lab", + "~/code/snippetbox", + "~/yggdrasil" + ], + "projects.showDescriptions": false, + "projects.statusbarEnabled": false, + "rust-client.disableRustup": true, + "typescript.preferences.quoteStyle": "double", + "vscode_custom_css.imports": [ + "file:///home/arcticicestudio/.vscode/css/remove-action-button.css", + "file:///Users/sgreb/.vscode/css/remove-action-button.css" + ], + "vscode_custom_css.statusbar": false, + "yaml.format.enable": true, + + /*+--- Language Scopes ---+*/ + "[go]": { + "editor.insertSpaces": true + } +} diff --git a/snowblocks/visual-studio-code/snowblock.json b/snowblocks/visual-studio-code/snowblock.json new file mode 100644 index 0000000..7f5dbd6 --- /dev/null +++ b/snowblocks/visual-studio-code/snowblock.json @@ -0,0 +1,79 @@ +[ + { + "clean": [ + "~/Library/Application Support/Code/User", + "~/.config/Code/User", + "~/.vscode" + ] + }, + { + "link": { + "~/.vscode/css": { + "create": true, + "force": true, + "hosts": { + "iceowl": "css", + "igloo": "css" + } + }, + "~/.vscode/workspaces": { + "create": true, + "force": true, + "hosts": { + "iceowl": "workspaces", + "igloo": "workspaces" + } + }, + "~/.config/Code/User/keybindings.json": { + "create": true, + "force": true, + "hosts": { + "igloo": "keybindings.json" + } + }, + "~/Library/Application Support/Code/User/keybindings.json": { + "create": true, + "force": true, + "hosts": { + "iceowl": "keybindings.json" + } + }, + "~/.config/Code/User/locale.json": { + "create": true, + "force": true, + "hosts": { + "igloo": "locale.json" + } + }, + "~/Library/Application Support/Code/User/locale.json": { + "create": true, + "force": true, + "hosts": { + "iceowl": "locale.json" + } + }, + "~/.vscode/projects.json": { + "create": true, + "force": true, + "hosts": { + "iceowl": "projects.json", + "igloo": "projects.json" + } + }, + "~/.config/Code/User/settings.json": { + "create": true, + "force": true, + "hosts": { + "igloo": "settings.json" + } + }, + "~/Library/Application Support/Code/User/settings.json": { + "create": true, + "force": true, + "hosts": { + "iceowl": "settings.json" + } + } + } + } +] diff --git a/snowblocks/visual-studio-code/workspaces/development.code-workspace b/snowblocks/visual-studio-code/workspaces/development.code-workspace new file mode 100644 index 0000000..2ed4cf8 --- /dev/null +++ b/snowblocks/visual-studio-code/workspaces/development.code-workspace @@ -0,0 +1,11 @@ +{ + "folders": [{ + "path": "/home/arcticicestudio/documents/scratchpad", + "name": "scratchpad" + }, + { + "path": "/home/arcticicestudio/videos/playlists", + "name": "playlists" + } + ] +} diff --git a/snowblocks/visual-studio-code/workspaces/docs.code-workspace b/snowblocks/visual-studio-code/workspaces/docs.code-workspace new file mode 100644 index 0000000..9d98bd1 --- /dev/null +++ b/snowblocks/visual-studio-code/workspaces/docs.code-workspace @@ -0,0 +1,11 @@ +{ + "folders": [{ + "name": "playlists", + "path": "../video/playlists" + }, + { + "name": "scratchpad", + "path": "../documents/scratchpad" + } + ] +} diff --git a/snowblocks/visual-studio-code/workspaces/nord.code-workspace b/snowblocks/visual-studio-code/workspaces/nord.code-workspace new file mode 100644 index 0000000..89b2ac4 --- /dev/null +++ b/snowblocks/visual-studio-code/workspaces/nord.code-workspace @@ -0,0 +1,143 @@ +{ + "folders": [{ + "name": "nord", + "path": "~/yggdrasil/nord/nord" + }, + { + "name": "nord-alacritty", + "path": "~/yggdrasil/nord/nord-alacritty" + }, + { + "name": "nord-atom-syntax", + "path": "~/yggdrasil/nord/nord-atom-syntax" + }, + { + "name": "nord-atom-ui", + "path": "~/yggdrasil/nord/nord-atom-ui" + }, + { + "name": "nord-brackets", + "path": "~/yggdrasil/nord/nord-brackets" + }, + { + "name": "nord-coda", + "path": "~/yggdrasil/nord/nord-coda" + }, + { + "name": "nord-conemu", + "path": "~/yggdrasil/nord/nord-conemu" + }, + { + "name": "nord-dircolors", + "path": "~/yggdrasil/nord/nord-dircolors" + }, + { + "name": "nord-docs", + "path": "~/yggdrasil/nord/nord-docs" + }, + { + "name": "nord-eclipse-syntax", + "path": "~/yggdrasil/nord/nord-eclipse-syntax" + }, + { + "name": "nord-emacs", + "path": "~/yggdrasil/nord/nord-emacs" + }, + { + "name": "nord-gedit", + "path": "~/yggdrasil/nord/nord-gedit" + }, + { + "name": "nord-gnome-terminal", + "path": "~/yggdrasil/nord/nord-gnome-terminal" + }, + { + "name": "nord-guake", + "path": "~/yggdrasil/nord/nord-guake" + }, + { + "name": "nord-highlightjs", + "path": "~/yggdrasil/nord/nord-highlightjs" + }, + { + "name": "nord-hyper", + "path": "~/yggdrasil/nord/nord-hyper" + }, + { + "name": "nord-iterm2", + "path": "~/yggdrasil/nord/nord-iterm2" + }, + { + "name": "nord-java", + "path": "~/yggdrasil/nord/nord-java" + }, + { + "name": "nord-jetbrains-editor", + "path": "~/yggdrasil/nord/nord-jetbrains-editor" + }, + { + "name": "nord-konsole", + "path": "~/yggdrasil/nord/nord-konsole" + }, + { + "name": "nord-mintty", + "path": "~/yggdrasil/nord/nord-mintty" + }, + { + "name": "nord-notepadplusplus", + "path": "~/yggdrasil/nord/nord-notepadplusplus" + }, + { + "name": "nord-putty", + "path": "~/yggdrasil/nord/nord-putty" + }, + { + "name": "nord-slack", + "path": "~/yggdrasil/nord/nord-slack" + }, + { + "name": "nord-sublime-text", + "path": "~/yggdrasil/nord/nord-sublime-text" + }, + { + "name": "nord-terminal-app", + "path": "~/yggdrasil/nord/nord-terminal-app" + }, + { + "name": "nord-terminator", + "path": "~/yggdrasil/nord/nord-terminator" + }, + { + "name": "nord-termite", + "path": "~/yggdrasil/nord/nord-termite" + }, + { + "name": "nord-tilix", + "path": "~/yggdrasil/nord/nord-tilix" + }, + { + "name": "nord-tmux", + "path": "~/yggdrasil/nord/nord-tmux" + }, + { + "name": "nord-vim", + "path": "~/yggdrasil/nord/nord-vim" + }, + { + "name": "nord-visual-studio-code", + "path": "~/yggdrasil/nord/nord-visual-studio-code" + }, + { + "name": "nord-xcode", + "path": "~/yggdrasil/nord/nord-xcode" + }, + { + "name": "nord-xfce-terminal", + "path": "~/yggdrasil/nord/nord-xfce-terminal" + }, + { + "name": "nord-xresources", + "path": "~/yggdrasil/nord/nord-xresources" + } + ] +}