Skip to content

Instantly share code, notes, and snippets.

@scarf005
Created February 8, 2023 06:13
Show Gist options
  • Save scarf005/10e9cd1a060e40e5eb9ba7a8e358f160 to your computer and use it in GitHub Desktop.
Save scarf005/10e9cd1a060e40e5eb9ba7a8e358f160 to your computer and use it in GitHub Desktop.
{
"editor.tabSize": 2,
"editor.indentSize": "tabSize",
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"[c][cpp]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"[log]": {
"editor.tabSize": 8
},
"[rust]": {
"editor.tabSize": 4,
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"[makefile]": {
"editor.guides.bracketPairs": false,
"editor.tabSize": 4,
"editor.insertSpaces": false,
"editor.renderWhitespace": "all"
},
"[python]": {
"editor.tabSize": 4,
"editor.formatOnPaste": false,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--target-version",
"py310",
"--line-length",
"79"
],
"python.languageServer": "Pylance",
"pylint.args": [
"--disable=missing-function-docstring",
"--disable=invalid-name",
"--disable=redefined-outer-name",
"--disable=too-few-public-methods",
"--disable=missing-class-docstring",
"--disable=missing-module-docstring",
"--disable=unspecified-encoding"
// "--const-naming-style=UPPER_CASE",
// "--argument-rgx=[ablrse]"
],
"python.linting.mypyEnabled": true,
"python.linting.mypyArgs": ["--ignore-valid-type"],
"python.linting.enabled": true,
"python.analysis.indexing": true,
"python.analysis.completeFunctionParens": true,
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.ignore": ["**/__init__.py"],
"python.analysis.typeCheckingMode": "strict",
"python.analysis.diagnosticSeverityOverrides": {
"reportUnusedImport": "information",
"reportUnusedVariable": "information",
"reportMissingParameterType": "none",
"reportUnknownMemberType": "none",
"reportMissingTypeStubs": "information"
},
"[markdown]": {
"files.trimTrailingWhitespace": false,
"editor.renderWhitespace": "trailing"
},
"[markdown][html][jsonc][json][javascript][javascriptreact][typescript][typescriptreact][xml]": {
// "editor.defaultFormatter": "rome.rome"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"[javascript][javascriptreact][typescript][typescriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"dprint.path": "/home/scarf/.dprint/bin/dprint",
"[json][jsonc][html][markdown][css]": {
"editor.wordWrap": "wordWrapColumn"
},
"[shellscript]": {
"editor.insertSpaces": true
},
"[asm-intel-x86-generic][asm-collection][asm-markdown-codeblock]": {
"editor.tabSize": 4
},
"editor.wordWrapColumn": 80,
"files.trimTrailingWhitespace": true,
"editor.trimAutoWhitespace": true,
"workbench.startupEditor": "newUntitledFile",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook",
"git-rebase-todo": "gitlens.rebase"
},
// NeoDunggeunmo Code
// Fira Code
// Rec Mono Duotone
// Hack Nerd Font Mono
// IBM 3270
// D2Coding ligature
// JetBrains Mono
"editor.fontFamily": "Sarasa Mono K, Hack Nerd Font Mono, D2coding",
"editor.fontLigatures": "'calt', 'ss09'",
"terminal.integrated.fontSize": 17,
"editor.fontSize": 22,
"scm.inputFontSize": 16,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"explorer.sortOrder": "type",
"editor.suggestSelection": "first",
// CONVENTIONAL COMMITS
"conventionalCommits.gitmoji": false, // 이모지 끄기
"conventionalCommits.autoCommit": false, // 자동 커밋 끄기
"conventionalCommits.promptScopes": true, // 스코프 선택 끄기
"conventionalCommits.scopes": ["github", "README"],
"conventionalCommits.promptBody": false, // 본문 작성 끄기
"conventionalCommits.promptFooter": false, // 꼬리말 작성 끄기
"conventionalCommits.showNewVersionNotes": false, // 새 버전 노트 끄기
"git.confirmSync": false,
"git.enableSmartCommit": true,
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"editor.linkedEditing": true,
"html.format.indentHandlebars": true,
"html.format.indentInnerHtml": true,
"html.format.templating": true,
"files.associations": {
"deno.lock": "json",
"**/*.pug": "jade",
"**/*.h": "cpp",
"**/*.c": "cpp",
"**/*.cpp": "cpp",
"**/*.hpp": "cpp",
"**/*.html": "html",
"**/templates/**/*.html": "django-html",
"**/templates/**/*.css": "css",
"**/requirements{/**,*}.{txt,in}": "pip-requirements",
"*.html": "html",
"*.xpm": "c",
"*.h": "cpp",
"*.hpp": "cpp",
"*.njk": "nunjucks",
"**/templates/**/*": "django-txt",
"*.pug": "jade",
"*.list": "properties",
"*.sav": "json",
"**/*.mk": "makefile",
"**/*.env": "env",
"**/.clang*": "yaml",
"*.yml": "yaml",
"**/Cargo.lock": "toml",
"*.mcdata": "json"
},
"emmet.includeLanguages": {
"django-html": "html",
"mdx": "javascriptreact"
},
"[properties]": {
"editor.formatOnSave": false
},
"[kotlin]": {
"editor.tabSize": 4,
"editor.defaultFormatter": "fwcd.kotlin"
},
"editor.maxTokenizationLineLength": 200000000,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment",
"settings": {
"fontStyle": "italic"
}
},
// { "scope": "punctuation.separator.pointer-access.c",
// "settings": { "foreground": "#f05d87" }},
{
"scope": [
"variable.other.makefile",
"markup.inline.raw.string.markdown"
],
"settings": {
"foreground": "#ffd6a4"
}
},
{
"scope": ["variable.other.enummember.c"],
"settings": {
"foreground": "#FFD387"
}
},
{
"scope": ["entity.name.function.preprocessor.c"],
"settings": {
"foreground": "#ff87a3"
}
},
{
"scope": [
"keyword.operator.not.cpp",
"keyword.operator.wordlike.cpp",
"entity.name.function.operator.member.cpp"
],
"settings": {
"foreground": "#ff87a3"
}
}
],
"[GitHub Dark]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#24292E"
}
},
{
"scope": [
"punctuation.separator.annotation.result.python",
"punctuation.separator.key-value.makefile"
],
"settings": {
"foreground": "#F97583"
}
},
{
"scope": [
"variable.other.enummember.c",
"entity.name.function.preprocessor.c",
"constant.other.caps.python",
"variable.parameter.function.language.special.self.python",
"variable.parameter.function.language.special.cls.python",
"variable.other.constant"
],
"settings": {
"foreground": "#FFD387"
}
}
]
},
"[XD Theme - Lighten]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#273244"
}
}
]
},
"[XD Theme][XD Theme - Lighten]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#242938"
}
},
{
"scope": "string.quoted.single.c",
"settings": {
"foreground": "#F07178"
}
}
]
},
"[Gruvbox Dark Hard]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#1D2021"
}
}
]
},
"[Palenight (Mild Contrast)][Palenight Italic][Palenight Operator][Palenight Theme]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#292D3E"
}
}
]
},
"[Tomorrow Night Blue]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#002451"
}
},
{
"scope": [
"entity.name.type.c",
"storage.type.built-in.primitive.c",
// "storage",
"keyword.other.typedef.c",
"storage.type.enum.c",
"keyword.control.c",
"variable.parameter.c",
"variable.other.enummember.c",
"keyword.other.rust",
"keyword.other.fn.rust",
"variable.language.self.rust"
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
"macro",
"variable.other.enummember.c"
// "entity.name.function.preprocessor.c"
],
"settings": {
"fontStyle": "bold"
}
},
{
"scope": ["variable.other.enummember.c"],
"settings": {
"fontStyle": "italic bold"
}
},
{
"scope": [
"variable.other.property.c",
"punctuation.separator.dot-access.c",
"string.other.link.title.markdown"
],
"settings": {
"fontStyle": "underline"
}
},
{
"scope": "keyword.other.fn.rust",
"settings": {
"foreground": "#e28bf3"
}
},
{
"scope": "variable.other.property.c",
"settings": {
"foreground": "#b9caff"
}
},
{
"scope": "punctuation.separator.pointer-access.c",
"settings": {
"foreground": "#aaffd7"
}
},
{
"scope": "punctuation.separator.dot-access.c",
"settings": {
"foreground": "#aaf2ff"
}
},
{
"scope": [
"punctuation.definition.link.title.begin.markdown",
"punctuation.definition.link.title.end.markdown"
],
"settings": {
"foreground": "#FF9DA4"
}
},
{
"scope": ["markup.underline.link.markdown"],
"settings": {
"foreground": "#677079"
}
}
]
},
"[Night Owl][Night Owl (No Italics)]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#011627"
}
}
]
},
"[Gruvbox Dark Soft]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#32302F"
}
}
]
},
"[Gruvbox Dark Medium]": {
"textMateRules": [
{
"scope": [
"punctuation.terminator.statement.c",
"punctuation.terminator.statement.cpp"
],
"settings": {
"foreground": "#282828"
}
}
]
}
},
"editor.rulers": [80],
"files.exclude": {
"**/__pycache__": true,
"**/.classpath": true,
"**/.factorypath": true,
"**/.mypy_cache": true,
"**/.project": true,
"**/.settings": true,
"**/.venv/*": true,
"**/.zcompdump*": true,
"**/*.*.orig": true,
"**/*.a": true,
"**/*.coverage.**": true,
// "**/*.d": true,
"**/*.dSYM": true,
"**/*.hi": true,
"**/*.o": true,
"**/*.o.tmp": true,
"**/dist-newstyle": true,
"**/node_modules/*": true,
"**/pnpm-lock.yaml": true
},
"security.workspace.trust.untrustedFiles": "open",
"codam-norminette-3.command": "norminette",
"codam-norminette-3.ignoreErrors": ["INVALID_HEADER"],
"editor.foldingStrategy": "auto",
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"redhat.telemetry.enabled": false,
"git.autofetch": true,
"commentAnchors.tags.separators": [": "],
"window.restoreWindows": "preserve",
"gitlens.defaultDateFormat": "YYYY MMMM Do, h:mma",
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
"evenBetterToml.formatter.indentEntries": true,
"evenBetterToml.formatter.indentTables": true,
"evenBetterToml.semanticTokens": true,
"editor.inlineSuggest.enabled": true,
"workbench.iconTheme": "gruvbox-material-icon-theme",
"autoAlign.enabled": [false],
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": true,
"material-icon-theme.folders.associations": {
".github/workflows": "github",
".github/actions": "github",
".github/ISSUE_TEMPLATE": "github",
".github/PULL_REQUEST_TEMPLATE": "github",
".venv": "python",
"libft": "lib",
"srcs": "src",
"engine": "middleware",
"grammar": "middleware",
"map": "images",
"errormsg": "error",
"queries": "hook"
},
"material-icon-theme.files.associations": {
"*.lalrpop": "rust",
"*.ebnf": "document",
"*.lark": "document",
"compose.yaml": "docker",
"compose.yml": "docker",
"test_*.py": "test-ts",
"eslint.config.js": "eslint",
"commitlint.config.*": "commitlint",
".github/pull_request_template.md": "git"
},
"license.default": "mit",
"license.author": "scarf",
"symbolMasks.masks": [
// {
// "language": "c",
// "patterns": [
// {
// "pattern": "(this\\b|(?<!\\s)__(?!\\s))",
// "replace": {
// "this": {
// "text": "this",
// "color": "#e8566e",
// "fontWeight": "bold"
// },
// "__": {
// "text": "::",
// "color": "#fa7346"
// }
// }
// }
// ]
// },
{
"language": "python",
"patterns": [
{
"pattern": "(lambda)|(?<=lambda).?\\s?|(?<=lambda[^:]*):",
"replace": {
":": {
"text": " ->"
}
}
}
]
}
],
"extensions.ignoreRecommendations": true,
"editor.gotoLocation.multipleDefinitions": "goto",
"terminal.integrated.tabs.location": "left",
"workbench.panel.defaultLocation": "right",
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": ".github/workflows/*",
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml",
"https://json.schemastore.org/clang-format.json": ".clang-format"
},
"prettier.arrowParens": "avoid",
"prettier.semi": false,
"prettier.singleQuote": true,
"prettier.jsxSingleQuote": true,
"prettier.trailingComma": "all",
"prettier.quoteProps": "as-needed",
"markdown-preview-github-styles.colorTheme": "light",
"c-cpp-compile-run.c-flags": "-I include/ -I includes/ -lreadline -Wall -Wextra -Werror -std=c99",
"c-cpp-compile-run.c-compiler": "clang",
// "42-header-oneshot.user": "scarf005",
// "42-header-oneshot.mail": "[email protected]",
"github.copilot.enable": {
"*": true,
"yaml": true,
"plaintext": true,
"markdown": true
},
"openFolderInExplorer.enableOpenFolderInNewInstance": true,
"window.titleBarStyle": "custom",
"terminal.integrated.autoReplies": {
"[Oh My Zsh] Would you like to check for updates? [Y/n]": "Y\r"
},
"scm.alwaysShowActions": true,
"scm.defaultViewMode": "tree",
"commentAnchors.workspace.excludeFiles": "**/{node_modules,.git,.idea,target,out,build,dist,vendor,.github}/**/*", // -${sanitizedIssueTitle}
"githubIssues.workingIssueFormatScm": "",
"githubIssues.ignoreUserCompletionTrigger": [],
"diffEditor.ignoreTrimWhitespace": false,
"git.autoStash": true,
"git.fetchOnPull": true,
"git.pruneOnFetch": true,
"editor.accessibilitySupport": "off",
"Lua.telemetry.enable": false,
"c-cpp-compile-run.cpp-compiler": "clang++",
"c-cpp-compile-run.cpp-flags": "-Wall -Wextra -Werror -std=c++20 *.cpp",
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
},
"vsintellicode.features.apiExamples": "disabled",
"githubPullRequests.createOnPublishBranch": "never",
"files.maxMemoryForLargeFilesMB": 16384,
"files.insertFinalNewline": true,
"cmake.autoSelectActiveFolder": false,
"cmake.configureOnEdit": false,
"cmake.revealLog": "never",
"cmake.configureOnOpen": true,
"git.allowForcePush": true,
"jupyter.askForKernelRestart": false,
"explorer.fileNesting.patterns": {
"*.c": "${capture}.o, ${capture}.h",
"*.ts": "${capture}.js, ${capture}.*.test.ts, ${capture}_test.*, ${capture}_bench.*, ${capture}.*.ts",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
"*.jsx": "${capture}.js",
"*.tsx": "${capture}.ts, ${capture}.stories.tsx, ${capture}.test.*, ${capture}.*, ${capture}_test.*",
"tsconfig.json": "tsconfig.*.json",
"package.json": "package-lock.json, yarn.lock",
"*.hpp": "${capture}.*, ${capture}_*.cpp, ${capture}_*.tpp",
"*.py": "test_${capture}.py,${capture}_test.py,Test${capture}.py",
"*.md": "${capture}.*.md"
},
"terminal.integrated.shellIntegration.enabled": true,
"terminal.integrated.profiles.linux": {
"NuShell": {
"path": "/home/scarf/.cargo/bin/nu"
}
},
"settingsSync.ignoredSettings": [
"git.enableCommitSigning",
"git-graph.repository.sign.commits",
"git-graph.repository.sign.tags"
],
"scm.diffDecorationsGutterPattern": {
"added": true
},
"git-graph.date.format": "ISO Date & Time",
"CppHelper.HeaderGuardPattern": "{FILE}_HPP",
"git-graph.repository.commits.showSignatureStatus": true,
"coverage-gutters.coverageFileNames": [
"lcov.info",
"cov.xml",
"coverage.xml",
"jacoco.xml",
"coverage.cobertura.xml"
],
"coverage-gutters.coverageReportFileName": "test/**/coverage.html",
"jupyter.pylanceHandlesNotebooks": true,
"git.enableCommitSigning": true,
"settingsSync.ignoredExtensions": [
"evilcat.norminette-42",
"mariusvanwijk-joppekoers.codam-norminette-3"
],
"commentAnchors.parseDelay": 1000,
"errorLens.gutterIconsEnabled": true,
"shellformat.flag": "-i=2 -ci",
"workbench.preferredDarkColorTheme": "GitHub Dark Default",
"workbench.preferredHighContrastColorTheme": "GitHub Dark High Contrast",
"workbench.preferredHighContrastLightColorTheme": "GitHub Light High Contrast",
"workbench.preferredLightColorTheme": "GitHub Light",
"eslint.format.enable": true,
"eslint.packageManager": "pnpm",
"search.exclude": {
"**/*.svg": true,
"**/coverage": true,
"**/package-lock.json": true,
"**/package.json": true,
"**/yarn.lock": true
},
"explorer.fileNesting.enabled": true,
"material-ui-snippets.showNotesOnStartup": false,
"githubPullRequests.pullBranch": "never",
"javascript.updateImportsOnFileMove.enabled": "always",
"merge-conflict.autoNavigateNextConflict.enabled": true,
"inline-parameters.hideSingleParameters": true,
"files.autoSave": "afterDelay",
"shebang.associations": [
{
"pattern": "^#!/bin/bash$",
"language": "shellscript"
},
{
"pattern": "^#!usr/bin/env bash$",
"language": "shellscript"
},
{
"pattern": "^#!usr/bin/env python3$",
"language": "python"
},
{
"pattern": "^#!bin/env ts-node-script$",
"language": "typescript"
}
],
"obsSwitcher.address": "localhost:4455",
// "obsSwitcher.autoConnect": true,
"obsSwitcher.sceneName": "hide",
"terminal.integrated.defaultProfile.linux": "fish",
"terminal.integrated.tabs.enabled": false,
"workbench.hover.delay": 0,
"asm-code-lens.donated": true,
"editor.stickyScroll.enabled": true,
"editor.roundedSelection": false,
"vitest.enable": true,
"vitest.commandLine": "pnpm exec vitest --",
"terminal.integrated.enableMultiLinePasteWarning": false,
"haskell.plugin.rename.config.crossModule": true,
"workbench.colorTheme": "Alma Dimmed Sakura",
"update.mode": "manual",
"svelte.enable-ts-plugin": true,
"clangd.path": "/home/scarf/.config/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/15.0.3/clangd_15.0.3/bin/clangd",
"clangd.checkUpdates": true,
"editor.inlayHints.enabled": "on",
"git.pullBeforeCheckout": true,
"markdown.validate.enabled": true,
"markdown.preview.typographer": true,
"python.defaultInterpreterPath": "/home/scarf/.asdf/shims/python",
"astyle.astylerc": "${workspaceFolder}/.astylerc",
"git.repositoryScanIgnoredFolders": [
"node_modules",
".asdf",
"/home/scarf/.asdf"
],
"git.autoRepositoryDetection": "subFolders",
"javascript.inlayHints.functionLikeReturnTypes.enabled": true,
"javascript.inlayHints.enumMemberValues.enabled": true,
"typescript.inlayHints.enumMemberValues.enabled": true,
"javascript.inlayHints.propertyDeclarationTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"python.analysis.autoImportCompletions": true,
"githubIssues.ignoreCompletionTrigger": [
"coffeescript",
"diff",
"dockerfile",
"dockercompose",
"ignore",
"ini",
"julia",
"makefile",
"perl",
"powershell",
"python",
"r",
"ruby",
"shellscript",
"yaml",
"nim"
],
"telemetry.telemetryLevel": "off",
"dotnetAcquisitionExtension.enableTelemetry": false,
"editor.minimap.enabled": false,
"javascript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": false,
"typescript.implementationsCodeLens.enabled": true,
"javascript.inlayHints.variableTypes.enabled": true,
"javascript.inlayHints.parameterNames.enabled": "all",
"githubIssues.issueBranchTitle": "${sanitizedIssueTitle}",
"nim.provider": "lsp",
"githubPullRequests.pushBranch": "always",
"[vue]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true
},
"kotlin.externalSources.autoConvertToKotlin": true,
"editor.wordBreak": "keepAll",
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"kotlin.java.home": "~/.asdf/installs/java/openjdk-17.0.1/",
"kotlin.languageServer.enabled": false,
"deno.codeLens.implementations": true,
"deno.codeLens.references": true,
"deno.codeLens.referencesAllFunctions": true,
"deno.codeLens.test": true,
"deno.inlayHints.enumMemberValues.enabled": false,
"deno.inlayHints.functionLikeReturnTypes.enabled": false,
"deno.inlayHints.parameterTypes.enabled": false,
"deno.inlayHints.variableTypes.enabled": false,
"deno.inlayHints.variableTypes.suppressWhenTypeMatchesName": false,
"deno.inlayHints.propertyDeclarationTypes.enabled": false,
"deno.inlayHints.parameterNames.enabled": "none",
"window.zoomLevel": 1,
"thunder-client.saveToWorkspace": true,
"thunder-client.defaultUrl": "{{url}}/",
"typescript.updateImportsOnFileMove.enabled": "always",
"[json]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
"diffEditor.renderSideBySide": false,
"deno.lint": false,
"eslint.runtime": "/home/scarf/.asdf/shims/node"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment