Tom McKenzie 6 سال پیش
والد
کامیت
ef1577c69d
3فایلهای تغییر یافته به همراه78 افزوده شده و 5 حذف شده
  1. 59 2
      Code/User/keybindings.json
  2. 16 2
      Code/User/settings.json
  3. 3 1
      Code/list-extensions.txt

+ 59 - 2
Code/User/keybindings.json

@@ -1,3 +1,60 @@
-// Place your key bindings in this file to override the defaults
+// Place your key bindings in this file to override the defaultsauto[]
 [
-]
+  {
+    "key": "cmd+k cmd+j",
+    "command": "workbench.action.toggleMaximizedPanel"
+  },
+  {
+    "key": "cmd+k cmd+z",
+    "command": "workbench.action.maximizeEditor"
+  },
+  {
+    "key": "cmd+k shift+cmd+z",
+    "command": "workbench.action.evenEditorWidths"
+  },
+  {
+    "key": "cmd+k cmd+z",
+    "command": "workbench.action.toggleMaximizedPanel",
+    "when": "terminalFocus"
+  },
+  {
+    "key": "alt+cmd+/",
+    "command": "-liveshare.followToTheSide",
+    "when": "liveshare:hasCollaborators"
+  },
+  {
+    "key": "alt+cmd+/",
+    "command": "editor.action.blockComment",
+    "when": "editorTextFocus && !editorReadonly"
+  },
+  {
+    "key": "shift+alt+a",
+    "command": "-editor.action.blockComment",
+    "when": "editorTextFocus && !editorReadonly"
+  },
+  {
+    "key": "cmd+k cmd+u",
+    "command": "editor.action.transformToUppercase"
+  },
+  {
+    "key": "cmd+k cmd+l",
+    "command": "editor.action.transformToLowercase"
+  },
+  {
+    "key": "ctrl+shift+w",
+    "command": "editor.emmet.action.wrapWithAbbreviation"
+  },
+  {
+    "key": "ctrl+t",
+    "command": "-editor.action.transposeLetters",
+    "when": "textInputFocus && !editorReadonly"
+  },
+  {
+    "key": "ctrl+t",
+    "command": "extension.transpose"
+  },
+  {
+    "key": "cmd+h",
+    "command": "workbench.files.action.collapseExplorerFolders"
+  }
+]

+ 16 - 2
Code/User/settings.json

@@ -196,7 +196,7 @@
         "strings": [ "en-US" ],
         "comments": [ "en-GB" ]
     },
-    "errorLens.enabledDiagnosticLevels": [],
+    "errorLens.enabledDiagnosticLevels": ["error"],
     "gitTreeCompare.diffMode": "full",
     "[typescriptreact]": {
         "editor.defaultFormatter": "esbenp.prettier-vscode"
@@ -209,5 +209,19 @@
     "terminal.explorerKind": "external",
     "[html]": {
         "editor.defaultFormatter": "vscode.html-language-features"
-    }
+    },
+    "gitlens.views.repositories.location": "gitlens",
+    "gitlens.views.fileHistory.location": "gitlens",
+    "gitlens.views.lineHistory.location": "gitlens",
+    "gitlens.views.compare.location": "gitlens",
+    "gitlens.views.search.location": "gitlens",
+    "[typescript]": {
+        "editor.defaultFormatter": "esbenp.prettier-vscode"
+    },
+    "[jsonc]": {
+        "editor.defaultFormatter": "esbenp.prettier-vscode"
+    },
+    // VERY TEMPORARY
+    "typescript.tsdk": "/Users/tom/Documents/scratch/npm_typescript/node_modules/typescript/lib"
+
 }

+ 3 - 1
Code/list-extensions.txt

@@ -14,7 +14,6 @@ EditorConfig.EditorConfig
 eg2.vscode-npm-script
 eriklynd.json-tools
 esbenp.prettier-vscode
-gcazaciuc.vscode-flow-ide
 geddski.macros
 GitHub.vscode-pull-request-github
 hbenl.vscode-firefox-debug
@@ -24,6 +23,7 @@ idleberg.applescript
 JakeBecker.elixir-ls
 jpoissonnier.vscode-styled-components
 k3a.theme-dark-plus-contrast
+karunamurti.haml
 KnisterPeter.vscode-github
 kumar-harsh.graphql-for-vscode
 letmaik.git-tree-compare
@@ -37,6 +37,7 @@ ms-vscode.vscode-typescript-tslint-plugin
 ms-vsliveshare.vsliveshare
 msjsdiag.debugger-for-chrome
 mushan.vscode-open-iterm2
+naumovs.color-highlight
 paragdiwan.gitpatch
 PeterJausovec.vscode-docker
 pflannery.vscode-versionlens
@@ -59,3 +60,4 @@ vilicvane.es-quotes
 VisualStudioExptTeam.vscodeintellicode
 wix.glean
 xabikos.JavaScriptSnippets
+yorkxin.coffeescript-support