Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Visual Studio Code Settings
code --install-extension anseki.vscode-color
code --install-extension bierner.color-info
code --install-extension bmewburn.vscode-intelephense-client
code --install-extension burkeholland.simple-react-snippets
code --install-extension dbaeumer.vscode-eslint
code --install-extension DigitalBrainstem.javascript-ejs-support
code --install-extension dracula-theme.theme-dracula
code --install-extension esbenp.prettier-vscode
code --install-extension formulahendry.auto-close-tag
code --install-extension formulahendry.auto-rename-tag
code --install-extension Hyzeta.vscode-theme-github-light
code --install-extension jpoissonnier.vscode-styled-components
code --install-extension kokororin.vscode-phpfmt
code --install-extension mikestead.dotenv
code --install-extension ms-dotnettools.csharp
code --install-extension octref.vetur
code --install-extension onecentlin.laravel-blade
code --install-extension PKief.material-icon-theme
code --install-extension redhat.java
code --install-extension steoates.autoimport
code --install-extension VisualStudioExptTeam.vscodeintellicode
code --install-extension vscjava.vscode-java-debug
code --install-extension vscjava.vscode-java-dependency
code --install-extension vscjava.vscode-java-pack
code --install-extension vscjava.vscode-java-test
code --install-extension vscjava.vscode-maven
code --install-extension vscode-icons-team.vscode-icons
code --install-extension whizkydee.material-palenight-theme
{
// Place your snippets for javascript 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"
// }
"React Setup": {
"prefix": "rs",
"body": [
"import React from \"react\";",
"",
"function $TM_FILENAME_BASE () {",
" return <div>$2</div>;",
"}",
"",
"export default $TM_FILENAME_BASE;"
],
"description": "Sets up a simple react function."
},
"Form Group": {
"prefix": "fg",
"body": [
"<div className=\"form-group\">",
" <label htmlFor=\"$2\">$1</label>",
" <input id=\"$2\" name=\"$2\" className=\"form-control\" type=\"text\" />",
"</div>"
],
"description": "Sets up a simple react function."
},
"Columned Form Group": {
"prefix": "fgc",
"body": [
"<div className=\"col-md-$3\">",
" <div className=\"form-group\">",
" <label htmlFor=\"$2\">$1</label>",
" <input id=\"$2\" name=\"$2\" className=\"form-control\" type=\"text\" />",
" </div>",
"</div>"
],
"description": "Sets up a simple react function."
},
"Router Method":{
"prefix": "rm",
"body": [
"router.${1:get}(\"/$2\", async (req, res, next)=>{",
" try{",
" const result = {};",
" success(res, result);",
" }",
" catch(e){",
" error(res, e);",
" }",
"});",
]
}
}
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus"
}
]
{
"workbench.colorTheme": "Dracula",
"workbench.statusBar.visible": false,
"workbench.activityBar.visible": false,
"workbench.sideBar.location": "right",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"editor.fontFamily": "'Fira Code Retina', Consolas, 'Courier New', monospace",
"editor.fontSize": 14,
"editor.lineHeight": 24,
"workbench.iconTheme": "material-icon-theme",
"editor.formatOnSave": true,
"window.zoomLevel": 1,
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"prettier.printWidth": 180,
"editor.codeLens": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"editor.fontLigatures": true,
// Remove Error Wavy Underlines
"workbench.colorCustomizations": {
"editorError.foreground": "#00000000",
"editorWarning.foreground": "#00000000",
"editorInfo.foreground": "#00000000"
},
// Better Defaults
"editor.copyWithSyntaxHighlighting": false,
"diffEditor.ignoreTrimWhitespace": false,
"editor.emptySelectionClipboard": false,
"workbench.editor.enablePreview": false,
"files.trimTrailingWhitespace": true,
"diffEditor.renderSideBySide": false,
"editor.snippetSuggestions": "bottom",
"editor.detectIndentation": false,
"window.newWindowDimensions": "inherit",
"window.nativeFullScreen": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
// Hide Everything
"editor.renderIndentGuides": false,
"editor.minimap.enabled": false,
// Silence The Noise
"breadcrumbs.enabled": false,
"scm.diffDecorations": "none",
"editor.hover.enabled": false,
"editor.matchBrackets": "never",
"workbench.tips.enabled": false,
"editor.colorDecorators": true,
"git.decorations.enabled": false,
"workbench.startupEditor": "none",
"editor.lightbulb.enabled": false,
"editor.selectionHighlight": false,
"editor.overviewRulerBorder": false,
"editor.renderLineHighlight": "none",
"editor.occurrencesHighlight": false,
"problems.decorations.enabled": false,
"editor.renderControlCharacters": false,
"editor.hideCursorInOverviewRuler": true,
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleDeclarations": "goto",
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
},
"workbench.editor.enablePreviewFromQuickOpen": false,
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
"editor.parameterHints.enabled": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"html.suggest.html5": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"vsicons.dontShowNewVersionMessage": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.smoothScrolling": true,
"workbench.list.smoothScrolling": true,
"editor.mouseWheelScrollSensitivity": 2,
"extensions.ignoreRecommendations": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.renameOnType": true,
"java.configuration.checkProjectSettingsExclusions": false,
"php.validate.executablePath": "E:\\Programs\\Xampp\\php\\php.exe",
"stories.username": "samlovescoding",
"stories.flair": "vue",
"stories.ffmpeg-binary": "C:\\bin\\ffmpeg.exe",
"stories.avatarUrl": "https://avatars0.githubusercontent.com/u/11330823",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment