Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rickmzp/2e9b459fc7423028ff9097cac868d6f2 to your computer and use it in GitHub Desktop.
Save rickmzp/2e9b459fc7423028ff9097cac868d6f2 to your computer and use it in GitHub Desktop.
My VSCode config
{"contents":{"launch":{"version":"0.2.0","configurations":[{"type":"node","request":"attach","name":"Attach to node","port":9229},{"name":"Debug Local File","type":"Ruby","request":"launch","cwd":"${workspaceRoot}","program":"${workspaceRoot}/main.rb"},{"name":"Debug NextJS-Rails","type":"Ruby","request":"launch","cwd":"${workspaceRoot}","program":"${workspaceRoot}/bin/bundle exec nextjs-rails-server"},{"name":"Listen for rdebug-ide","type":"Ruby","request":"attach","cwd":"${workspaceRoot}","remoteHost":"127.0.0.1","remotePort":"1234","remoteWorkspaceRoot":"${workspaceRoot}"},{"name":"Rails server","type":"Ruby","request":"launch","cwd":"${workspaceRoot}","program":"${workspaceRoot}/bin/rails","args":["server"]},{"name":"RSpec - all","type":"Ruby","request":"launch","cwd":"${workspaceRoot}","program":"${workspaceRoot}/bin/rspec","args":["-I","${workspaceRoot}"]},{"name":"RSpec - active spec file only","type":"Ruby","request":"launch","cwd":"${workspaceRoot}","program":"${workspaceRoot}/bin/rspec","args":["-I","${workspaceRoot}","${file}"]},{"name":"Cucumber","type":"Ruby","request":"launch","cwd":"${workspaceRoot}","program":"${workspaceRoot}/bin/cucumber"}]}},"overrides":[],"keys":["launch.version","launch.configurations"]}
{"lastUpload":"2020-04-13T13:32:58.659Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a",
"publisherId": "HookyQR.beautify",
"publisherDisplayName": "HookyQR"
},
"name": "beautify",
"publisher": "HookyQR",
"version": "1.5.0"
},
{
"metadata": {
"id": "7a0110bb-231a-4598-aa1b-0769ea46d28b",
"publisherId": "aaron-bond.better-comments",
"publisherDisplayName": "aaron-bond"
},
"name": "better-comments",
"publisher": "aaron-bond",
"version": "2.0.5"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "50f64e38-de9f-4d88-8efc-5e81a6c60fd0",
"publisherId": "VinceSalvino.dark-plus-black",
"publisherDisplayName": "VinceSalvino"
},
"name": "dark-plus-black",
"publisher": "VinceSalvino",
"version": "1.0.1"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.1"
},
{
"metadata": {
"id": "267382cf-537d-41fd-ad18-07c2ac1516d1",
"publisherId": "rubyjasmin.hyperterm-theme",
"publisherDisplayName": "rubyjasmin"
},
"name": "hyperterm-theme",
"publisher": "rubyjasmin",
"version": "0.0.3"
},
{
"metadata": {
"id": "acf63a5d-9a27-4cd5-aafe-c5430785aff3",
"publisherId": "sldobri.nord-5-stars",
"publisherDisplayName": "sldobri"
},
"name": "nord-5-stars",
"publisher": "sldobri",
"version": "1.0.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "4.2.0"
},
{
"metadata": {
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d",
"publisherId": "rebornix.ruby",
"publisherDisplayName": "rebornix"
},
"name": "ruby",
"publisher": "rebornix",
"version": "0.27.0"
},
{
"metadata": {
"id": "ee108066-df8b-43ae-9a83-e6c11400a759",
"publisherId": "jasonnutter.search-node-modules",
"publisherDisplayName": "jasonnutter"
},
"name": "search-node-modules",
"publisher": "jasonnutter",
"version": "1.3.0"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.13.1"
},
{
"metadata": {
"id": "cba79045-6f59-4f86-8c80-af78d566d8cf",
"publisherId": "deerawan.vscode-dash",
"publisherDisplayName": "deerawan"
},
"name": "vscode-dash",
"publisher": "deerawan",
"version": "2.4.0"
},
{
"metadata": {
"id": "708cfcd8-e0c6-49ca-9af6-b27a342d247b",
"publisherId": "wingrunr21.vscode-ruby",
"publisherDisplayName": "wingrunr21"
},
"name": "vscode-ruby",
"publisher": "wingrunr21",
"version": "0.27.0"
},
{
"metadata": {
"id": "246b8465-44fc-428c-9273-9020f8918e9c",
"publisherId": "connorshea.vscode-ruby-test-adapter",
"publisherDisplayName": "connorshea"
},
"name": "vscode-ruby-test-adapter",
"publisher": "connorshea",
"version": "0.7.1"
},
{
"metadata": {
"id": "ff96f1b4-a4b8-45ef-8ecf-c232c0cb75c8",
"publisherId": "hbenl.vscode-test-explorer",
"publisherDisplayName": "hbenl"
},
"name": "vscode-test-explorer",
"publisher": "hbenl",
"version": "2.17.0"
},
{
"metadata": {
"id": "4bbfd0d5-c934-445f-ab56-1b2167378db2",
"publisherId": "connorshea.vscode-test-explorer-status-bar",
"publisherDisplayName": "connorshea"
},
"name": "vscode-test-explorer-status-bar",
"publisher": "connorshea",
"version": "1.1.2"
},
{
"metadata": {
"id": "fd6d3dc6-b307-4589-82a6-78e2afec3d77",
"publisherId": "johnpapa.winteriscoming",
"publisherDisplayName": "johnpapa"
},
"name": "winteriscoming",
"publisher": "johnpapa",
"version": "1.4.1"
},
{
"metadata": {
"id": "0cb81da2-1880-4755-9995-0ae9cc728e20",
"publisherId": "DotJoshJohnson.xml",
"publisherDisplayName": "DotJoshJohnson"
},
"name": "xml",
"publisher": "DotJoshJohnson",
"version": "2.5.0"
}
]
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+shift+[",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "cmd+shift+]",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "ctrl+cmd+h",
"command": "extension.dash.specific",
"when": "editorTextFocus"
},
{
"key": "ctrl+h",
"command": "-extension.dash.specific",
"when": "editorTextFocus"
},
{
"key": "cmd+l",
"command": "-expandLineSelection",
"when": "textInputFocus"
},
{
"key": "cmd+l",
"command": "test-explorer.run-test-at-cursor"
}
]
{
"workbench.colorTheme": "Dark+ Black",
// Colors for SUPER DARK MODE!!
// "workbench.colorCustomizations": {
// "statusBar.background": "#000",
// "panel.background": "#000",
// "sideBar.background": "#000",
// "editor.background": "#000",
// "editorGutter.background": "#000",
// "activityBar.background": "#000",
// "tab.activeBackground": "#000",
// "tab.inactiveBackground": "#000"
// },
"workbench.colorCustomizations": {
"statusBar.background": "#0B0D0D",
"statusBar.foreground": "#666",
"statusBar.noFolderBackground": "#0B0D0D",
"statusBar.noFolderForeground": "#666"
},
"editor.minimap.enabled": false,
"sync.gist": "2e9b459fc7423028ff9097cac868d6f2",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"sync.quietSync": true,
"sync.askGistName": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"files.autoSave": "onFocusChange",
"editor.fontFamily": "'Pragmatapro', 'Input Mono', 'Founders Grotesk Mono', 'Courier New', monospace",
"git.autofetch": true,
"editor.tabSize": 2,
"ruby.specSaveFile": true,
"workbench.startupEditor": "newUntitledFile",
"railsTestRunner.rspecCommand": "rails test",
"ruby.specCommand": "spring rspec",
"ruby.lint": {
"rubocop": true,
"reek": false
},
"[ruby]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "rebornix.ruby"
},
"keyboard.touchbar.enabled": true,
"editor.detectIndentation": false,
"breadcrumbs.enabled": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"editor.formatOnType": true,
"editor.formatOnSaveTimeout": 2000,
"workbench.activityBar.visible": false,
"workbench.statusBar.visible": true,
"terminal.integrated.lineHeight": 0,
"editor.fontWeight": "400",
"terminal.integrated.fontWeight": "400",
"vim.foldfix": true,
"workbench.panel.defaultLocation": "right",
"terminal.external.osxExec": "iTerm 2.app",
"terminal.integrated.cursorStyle": "line",
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.parameterHints.enabled": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"gitlens.statusBar.enabled": false,
"workbench.statusBar.feedback.visible": false,
"gitlens.codeLens.enabled": false,
"ruby.format": "rubocop",
"terminal.integrated.fontWeightBold": "600",
"terminal.integrated.shell.osx": "/bin/zsh",
"rubyTestExplorer.logpanel": true,
"workbench.editor.showTabs": true,
"window.zoomLevel": 0,
"editor.fontSize": 14,
"terminal.integrated.fontSize": 14,
}
{
// Place your snippets for ruby here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Frozen String Literal": {
"prefix": "fst",
"body": [
"# frozen_string_literal: true",
"",
"$0"
]
},
"RSpec Test Header": {
"prefix": "rspecheader",
"body": [
"require 'rails_helper'",
"",
"${1:describe} '${2:description}' do",
" it '${3:test}' do",
" $0",
" end",
"end",
""
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment