فهرست منبع

Update Code scripts

Tom McKenzie 6 سال پیش
والد
کامیت
1e7ed927d4
4فایلهای تغییر یافته به همراه37 افزوده شده و 22 حذف شده
  1. 3 0
      Code/User/keybindings.json
  2. 26 11
      Code/User/settings.json
  3. 3 11
      Code/list-extensions.txt
  4. 5 0
      Code/update.sh

+ 3 - 0
Code/User/keybindings.json

@@ -0,0 +1,3 @@
+// Place your key bindings in this file to override the defaults
+[
+]

+ 26 - 11
Code/User/settings.json

@@ -52,15 +52,14 @@
         "Function"
     ],
     "diffEditor.ignoreTrimWhitespace": true,
-    "gitlens.gitExplorer.view": "repository",
     "gitlens.hovers.currentLine.over": "line",
     "gitlens.blame.highlight.locations": [
         "line",
         "overview"
     ],
     "vscodeWorkspaceSwitcher.paths": [
-        "~/Documents/activepipe",
-        "~/Documents/repos"
+        "~/Documents/chillidonut/**/",
+        "~/Documents/repos/**/"
     ],
     "workbench.colorTheme": "Night Owl", // or Dark+ (contrast)
     "workbench.colorCustomizations": {
@@ -84,9 +83,6 @@
     "debug.openExplorerOnEnd": true,
     "scm.diffDecorationsGutterWidth": 2,
     "workbench.statusBar.feedback.visible": false,
-    "gitlens.gitExplorer.files.layout": "auto",
-    "gitlens.gitExplorer.branches.layout": "list",
-    "githubNotificationsBell.icon": "pulse", // pulse, mark-github
     "gitTreeCompare.iconsMinimal": true,
     "gitlens.codeLens.recentChange.command": "gitlens.diffWithPrevious",
     "gitlens.heatmap.toggleMode": "window",
@@ -157,9 +153,6 @@
     "search.location": "panel",
     "breadcrumbs.enabled": true,
     "explorer.confirmDragAndDrop": false,
-    "nasc-touchbar.addCursorBelow": false,
-    "nasc-touchbar.togglePanel": false,
-    "nasc-touchbar.showCommands": true,
     "macros": {
         "autoFixAll": [
             "tslint.fixAllProblems",
@@ -170,7 +163,6 @@
     "workbench.statusBar.visible": true,
     "git.detectSubmodules": false,
     "workbench.editor.highlightModifiedTabs": true,
-    "ruby.rubocop.onSave": false,
     "gitlens.views.repositories.branches.layout": "list",
     "gitlens.views.fileHistory.enabled": false,
     "gitlens.views.lineHistory.enabled": false,
@@ -193,6 +185,29 @@
     "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
     "bracket-pair-colorizer-2.highlightActiveScope": true,
     "spellright.groupDictionaries": false,
+    // "spellright.documentTypes": [
+    //     "typescript",
+    //     "typescriptreact"
+    // ],
+    "spellright.notificationClassByParser": {
+        "code": "information"
+    },
+    "spellright.languageContext": {
+        "strings": [ "en-US" ],
+        "comments": [ "en-GB" ]
+    },
     "errorLens.enabledDiagnosticLevels": [],
-    "gitTreeCompare.diffMode": "full"
+    "gitTreeCompare.diffMode": "full",
+    "[typescriptreact]": {
+        "editor.defaultFormatter": "esbenp.prettier-vscode"
+    },
+    "vscodeWorkspaceSwitcher.showInExplorer": true,
+    "[javascriptreact]": {
+        "editor.defaultFormatter": "esbenp.prettier-vscode"
+    },
+    "vscodeWorkspaceSwitcher.showInActivityBar": false,
+    "terminal.explorerKind": "external",
+    "[html]": {
+        "editor.defaultFormatter": "vscode.html-language-features"
+    }
 }

+ 3 - 11
Code/list-extensions.txt

@@ -1,12 +1,8 @@
 aeschli.vscode-css-formatter
-akfish.vscode-devdocs
 alefragnani.Bookmarks
 ban.spellright
 bierner.emojisense
-burkeholland.simple-react-snippets
-capaj.vscode-exports-autocomplete
 castwide.solargraph
-chenxsan.vscode-standardjs
 christian-kohler.npm-intellisense
 christian-kohler.path-intellisense
 CoenraadS.bracket-pair-colorizer-2
@@ -15,37 +11,32 @@ dbaeumer.vscode-eslint
 DotJoshJohnson.xml
 eamodio.gitlens
 EditorConfig.EditorConfig
-eg2.tslint
 eg2.vscode-npm-script
 eriklynd.json-tools
 esbenp.prettier-vscode
-fabiospampinato.vscode-github-notifications-bell
-felipe.nasc-touchbar
 gcazaciuc.vscode-flow-ide
 geddski.macros
 GitHub.vscode-pull-request-github
 hbenl.vscode-firefox-debug
 heptio.jsonnet
-HookyQR.beautify
 hoovercj.vscode-settings-cycler
 idleberg.applescript
 JakeBecker.elixir-ls
 jpoissonnier.vscode-styled-components
 k3a.theme-dark-plus-contrast
 KnisterPeter.vscode-github
-krizzdewizz.tag-rename
 kumar-harsh.graphql-for-vscode
 letmaik.git-tree-compare
 letrieu.expand-region
 mauve.terraform
 mechatroner.rainbow-csv
 mikestead.dotenv
-misogi.ruby-rubocop
 mohsen1.react-javascript-to-typescript-transform-vscode
 ms-vscode.Go
-ms-vscode.sublime-keybindings
+ms-vscode.vscode-typescript-tslint-plugin
 ms-vsliveshare.vsliveshare
 msjsdiag.debugger-for-chrome
+mushan.vscode-open-iterm2
 paragdiwan.gitpatch
 PeterJausovec.vscode-docker
 pflannery.vscode-versionlens
@@ -60,6 +51,7 @@ sandy081.todotasks
 sdras.night-owl
 shinnn.stylelint
 silvenon.mdx
+stkb.rewrap
 timonwong.shellcheck
 Tyriar.sort-lines
 v4run.transpose

+ 5 - 0
Code/update.sh

@@ -1,4 +1,9 @@
+#!/bin/bash
+
+set -e
+
 grep -v 'oauth' /Users/tom/Library/Application\ Support/Code/User/settings.json > ./User/settings.json
+cp /Users/tom/Library/Application\ Support/Code/User/keybindings.json ./User/
 code --list-extensions > ./list-extensions.txt
 
 # install extensions using: