Skip to content

Instantly share code, notes, and snippets.

@Lodo4ka
Created July 24, 2019 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lodo4ka/01ea8dcbd2c0794a94976236add6effb to your computer and use it in GitHub Desktop.
Save Lodo4ka/01ea8dcbd2c0794a94976236add6effb to your computer and use it in GitHub Desktop.
config vs code for linux development javascript
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.formatOnSave": false,
// "css.fileExtensions": [
// "css",
// "scss",
// "less"
// ],
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"explorer.confirmDelete": false,
"terminal.integrated.cursorStyle": "underline",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.drawBoldTextInBrightColors": true,
"editor.formatOnPaste": true,
"prettier.eslintIntegration": true,
"javascript.format.enable": false,
"javascript.validate.enable": false,
"eslint.autoFixOnSave": true,
"eslint.alwaysShowStatus": true,
"files.autoSave": "onFocusChange",
"explorer.confirmDragAndDrop": false,
"editor.smoothScrolling": true,
"prettier.singleQuote": true,
"prettier.trailingComma": "es5",
"prettier.bracketSpacing": true,
"liveServer.settings.donotShowInfoMsg": true,
"editor.multiCursorModifier": "alt",
"editor.selectionClipboard": false,
"beautify.language": {
"js": {
"type": [
"javascript",
"json",
"jsonc"
],
"filename": [
".jshintrc",
".jsbeautifyrc"
]
},
"css": [
"css",
"scss",
"sass"
],
"html": [
"htm",
"html"
],
},
"beautify.config": {
"brace_style": "none"
},
"html.format.endWithNewline": true,
"html.format.indentHandlebars": true,
"html.format.preserveNewLines": true,
"html.autoClosingTags": true,
"html.format.wrapLineLength": 80,
"editor.fontLigatures": true,
"editor.fontFamily": "Fira Code, Courier",
"editor.lineHeight": 25,
"editor.letterSpacing": 0.5,
"files.trimTrailingWhitespace": true,
"editor.fontWeight": "500",
"telemetry.enableTelemetry": false,
"editor.fontSize": 12,
"editor.renderWhitespace": "all",
"html.format.maxPreserveNewLines": 1,
"emmet.includeLanguages": {
"blade": "html"
},
"todohighlight.isEnable": true,
"todohighlight.isCaseSensitive": true,
"todohighlight.keywords": [{
"text": "NOTE:",
"color": "#ecf0f1",
"border": "1px solid #2980b9",
"borderRadius": "4px",
"backgroundColor": "#3498db",
},
{
"text": "HACK:",
"color": "#ecf0f1",
"border": "1px solid #8e44ad",
"borderRadius": "4px",
"backgroundColor": "#9b59b6",
},
{
"text": "FIXME:",
"color": "#ecf0f1",
"border": "1px solid #f39c12",
"borderRadius": "4px",
"backgroundColor": "#f1c40f",
},
{
"text": "BUG:",
"color": "#ecf0f1",
"border": "1px solid #c0392b",
"borderRadius": "4px",
"backgroundColor": "#e74c3c",
},
{
"text": "TODO:",
"color": "#ecf0f1",
"border": "1px solid #27ae60",
"borderRadius": "4px",
"backgroundColor": "#2ecc71",
}],
"todohighlight.keywordsPattern": "@(TODO|FIXME|BUG|NOTE|HACK)", //highlight `TODO:`,`FIXME:` or content between parentheses
"todohighlight.include": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.html",
"**/*.php",
"**/*.css",
"**/*.scss"
],
"todohighlight.exclude": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
"**/build/**",
"**/.vscode/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/.next/**"
],
"todohighlight.maxFilesForSearch": 5120,
"todohighlight.toggleURI": false,
"liveServer.settings.donotVerifyTags": true,
"window.titleBarStyle": "custom",
"php.validate.enable": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"git.enableSmartCommit": true,
"window.zoomLevel": 0,
"terminal.integrated.windowsEnableConpty": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"breadcrumbs.enabled": true,
"editor.suggest.showIcons": true,
"git.confirmSync": false,
"editor.suggest.snippetsPreventQuickSuggestions": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.quickSuggestionsDelay": 10,
"editor.suggestOnTriggerCharacters": true,
"editor.suggest.localityBonus": true,
"editor.wordBasedSuggestions": true,
"editor.parameterHints.enabled": true,
"workbench.settings.useSplitJSON": true,
"editor.renderControlCharacters": true,
"workbench.iconTheme": "vscode-great-icons",
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"[jsonc]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.mouseWheelZoom": true,
"workbench.colorTheme": "Night Owl (No Italics)",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"vsicons.projectDetection.autoReload": true,
"sftp.debug": true,
"better-comments.multilineComments": true,
"better-comments.highlightPlainText": false,
"better-comments.tags": [
{
"tag": "!",
"color": "#FF2D00",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "?",
"color": "#3498DB",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "//",
"color": "#474747",
"strikethrough": true,
"backgroundColor": "transparent"
},
{
"tag": "todo",
"color": "#FF8C00",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "*",
"color": "#98C379",
"strikethrough": false,
"backgroundColor": "transparent"
}],
"eslint.validate": [
{
"language": "vue",
"autoFix": true
},
// {
// "language": "html",
// "autoFix": true
// },
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
}],
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"css.fileExtensions": ["css", "scss"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment