Skip to content

Instantly share code, notes, and snippets.

@scaomath
Last active May 9, 2023 14:56
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 scaomath/9f4d06482dbf5aed4a97133d9b3d7176 to your computer and use it in GitHub Desktop.
Save scaomath/9f4d06482dbf5aed4a97133d9b3d7176 to your computer and use it in GitHub Desktop.
My VS Code setting file
{
"[bibtex]": {
"editor.autoIndent": "none",
"editor.fontFamily": "Fira Code Medium",
"editor.fontLigatures": false,
"editor.formatOnPaste": false,
"editor.suggestSelection": "recentlyUsedByPrefix"
},
"[latex]": {
"editor.autoIndent": "none",
"editor.fontFamily": "Fira Code Medium",
"editor.fontLigatures": false,
"editor.formatOnPaste": false,
"editor.suggestSelection": "recentlyUsedByPrefix"
},
"[markdown]": {
"editor.fontFamily": "Fira Code Medium",
"editor.quickSuggestions": {
"comments": "on",
"other": "on",
"strings": "on"
},
"editor.snippetSuggestions": "top",
// "editor.wordWrap": "wordWrapColumn",
// "editor.wordWrapColumn": 85
"editor.wordBasedSuggestions": false
},
"[matlab]": {
"editor.fontFamily": "Iosevka SS10",
"editor.fontLigatures": true,
"editor.fontSize": 16
},
"[python]": {
"editor.fontFamily": "Envy Code R VS",
"editor.fontSize": 16,
"editor.defaultFormatter": "ms-python.python",
"editor.formatOnType": true
},
"[tex]": {
"editor.autoIndent": "none",
"editor.fontFamily": "Fira Code Medium",
"editor.fontLigatures": false,
"editor.formatOnPaste": false,
"editor.suggestSelection": "recentlyUsedByPrefix"
},
"bookmarks.saveBookmarksInProject": true,
"bookmarks.sideBar.expanded": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.bracketPairColorization.enabled": true,
"editor.cursorBlinking": "expand",
"editor.cursorWidth": 5,
"editor.fontFamily": "\"Cascadia Code\", Fira Code Medium, \"Fira Mono\", 'Droid Sans Mono', \"Hack\"",
"editor.fontLigatures": true,
"editor.fontSize": 15,
"editor.guides.bracketPairs": true,
"editor.inlineSuggest.enabled": true,
"editor.minimap.enabled": false,
"editor.minimap.side": "left",
"editor.quickSuggestions": {
"comments": "on",
"other": "on",
"strings": "on"
},
"editor.scrollbar.verticalScrollbarSize": 18,
"editor.smoothScrolling": true,
"editor.stickyScroll.enabled": true,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tokenColorCustomizations": {
"[Atom One Dark]": {
"numbers": "#59bb59",
"textMateRules": [
{
"scope": "comment",
"settings": {
"foreground": "#727b90"
}
},
{
"scope": "variable.parameter.function.language.python",
"settings": {
"foreground": "#59bb59"
}
},
{
"scope": "variable.parameter.function-call.python",
"settings": {
"foreground": "#caaf71"
}
},
{
"scope": "meta.attribute.python",
"settings": {
"foreground": "#8caeec"
}
},
{
"scope": "constant.other",
"settings": {
"foreground": "#BEC7D8"
}
},
{
"scope": "variable.other.readwrite.matlab",
"settings": {
"foreground": "#BEC7D8"
}
},
{
"scope": "entity.name.function.matlab",
"settings": {
"foreground": "#BEC7D8"
}
},
{
"scope": "invalid.deprecated",
"settings": {
"foreground": "#9052ab"
}
},
{
"scope": [
"source.latex",
"keyword.control"
],
"settings": {
"foreground": "#009fa1"
}
},
{
"scope": "support.class.math.latex",
"settings": {
"foreground": "#749ab5"
}
},
{
"scope": "support.class.math.block.tex",
"settings": {
"foreground": "#87aac3"
}
},
{
"scope": "constant.character.math.tex",
"settings": {
"foreground": "#1984cf"
}
},
{
"scope": "support.class.math.block.environment.latex",
"settings": {
"foreground": "#749ab5"
}
},
{
"scope": "meta.function.environment.list.latex",
"settings": {
"foreground": "#91b6c5"
}
},
{
"scope": "constant.other.general.math.tex",
"settings": {
"foreground": "#1984cf"
}
},
{
"scope": "constant.other.math.tex",
"settings": {
"foreground": "#1984cf"
}
},
{
"scope": "markup.italic.emph.latex",
"settings": {
"foreground": "#a992c8"
}
},
{
"scope": "variable.parameter.function.latex",
"settings": {
"foreground": "#db5f26"
}
},
{
"scope": "variable.parameter.definition.label.latex",
"settings": {
"foreground": "#029b02"
}
},
{
"scope": "constant.other.reference.label.latex",
"settings": {
"foreground": "#029b02"
}
},
{
"scope": "constant.other.reference.citation.latex",
"settings": {
"foreground": "#aa68bb"
}
},
{
"scope": "markup.quote.markdown",
"settings": {
"foreground": "#8e95a0"
}
},
{
"scope": "comment.line.percentage.tex",
"settings": {
"foreground": "#727b90"
}
},
{
"scope": "punctuation.definition.comment.matlab",
"settings": {
"foreground": "#769dbc"
}
},
{
"scope": "entity.name.section",
"settings": {
"foreground": "#769dbc"
}
},
{
"scope": "comment.line.double-percentage.matlab",
"settings": {
"fontStyle": "bold italic underline",
"foreground": "#61AFEF"
}
},
{
"scope": "support.type.property-name",
"settings": {
"foreground": "#b8c0cf"
}
},
{
"scope": "markup.fenced_code.block.markdown",
"settings": {
"foreground": "#bad6ba"
}
},
{
"scope": "markup.inline.raw.string.markdown",
"settings": {
"foreground": "#add6dd"
}
},
{
"scope": "fenced_code.block.language",
"settings": {
"fontStyle": "underline",
"foreground": "#9668bd"
}
},
{
"scope": "punctuation.definition.markdown",
"settings": {
"foreground": "#b485da"
}
}
]
}
},
"editor.wordWrap": "on",
"explorer.confirmDragAndDrop": false,
"files.associations": {
"*.m": "matlab"
},
"files.autoSave": "onFocusChange",
"files.exclude": {
"**/.classpath": true,
"**/.factorypath": true,
"**/.project": true,
"**/.settings": true
},
"git.autofetch": true,
"git.autorefresh": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"git.postCommitCommand": "push",
"githubPullRequests.createOnPublishBranch": "never",
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.currentLine.enabled": true,
"gitlens.hovers.currentLine.changes": true,
"jupyter.alwaysTrustNotebooks": true,
"jupyter.askForKernelRestart": false,
"latex-workshop.hover.preview.cursor.symbol": "\\!\\Big|\\!",
"latex-workshop.hover.preview.scale": 1,
"latex-workshop.latex.autoBuild.run": "never",
"latex-workshop.latex.recipes": [
{
"name": "latexmk 🔃",
"tools": [
"latexmk"
]
},
{
"name": "pdflatex ➞ bibtex ➞ pdflatex × 2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
},
{
"name": "latexmk (xelatex)",
"tools": [
"xelatexmk"
]
},
{
"name": "latexmk (latexmkrc)",
"tools": [
"latexmk_rconly"
]
},
{
"name": "latexmk (lualatex)",
"tools": [
"lualatexmk"
]
},
{
"name": "Compile Rnw files",
"tools": [
"rnw2tex",
"latexmk"
]
}
],
"latex-workshop.latex.tools": [
{
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-f",
"-pdf",
"-bibtex",
"-outdir=%OUTDIR%",
"%DOCFILE%"
],
"command": "latexmk",
"env": {},
"name": "latexmk"
},
{
"args": [
"-xelatex",
"-outdir=%OUTDIR%",
"%DOCFILE%"
],
"command": "latexmk",
"name": "xelatexmk"
},
{
"args": [
"-lualatex",
"-outdir=%OUTDIR%",
"%DOCFILE%"
],
"command": "latexmk",
"name": "lualatexmk"
},
{
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"%DOC%"
],
"command": "pdflatex",
"env": {},
"name": "pdflatex"
},
{
"args": [
"%DOCFILE%"
],
"command": "bibtex",
"env": {},
"name": "bibtex"
}
],
"latex-workshop.view.pdf.color.dark.backgroundColor": "#24282f",
"latex-workshop.view.pdf.hand": true,
"latex-workshop.view.pdf.invert": 0.25,
"latex-workshop.view.pdf.invertMode.grayscale": 0,
"latex-workshop.view.pdf.invertMode.hueRotate": 10,
"latex-workshop.view.pdf.invertMode.sepia": 0.1,
"latex-workshop.view.pdf.trim": 1,
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.showContextMenu": true,
"ltex.additionalRules.motherTongue": "zh-CN",
"ltex.bibtex.fields": {
"Abstract": true,
"Title": true
},
"ltex.checkFrequency": "save",
"ltex.configurationTarget": {
"dictionary": "user",
"disabledRules": "workspaceFolderExternalFile",
"hiddenFalsePositives": "workspaceFolderExternalFile"
},
"ltex.dictionary": {
"en-US": [
"adaptivity",
"AFEM",
"AlphaFold",
"anonymized",
"ansatz",
"approximator",
"approximators",
"Babuška",
"backpropagation",
"barycentric",
"biharmonic",
"bijective",
"bivector",
"bivectors",
"body-fittedness",
"Cao",
"capitalised",
"codimension",
"coercivity",
"convexifies",
"convolutional",
"convolve",
"convolved",
"counterclockwisely",
"Coursera",
"Crouzeix-Raviart",
"CutFEM",
"DDMs",
"deconvolution",
"Deepmind",
"DeepONet",
"Delaunay",
"diagonalization",
"diffeomorphism",
"diffeomorphisms",
"discretization",
"discretization's",
"discretizations",
"discretized",
"DNNs",
"DoF",
"downsampling",
"eigenpair",
"eigenpairs",
"Eigensolver",
"elementwise",
"elementwisely",
"ellipticity",
"encodings",
"ensembled",
"ensembling",
"equivariance",
"equivariant",
"FEMs",
"Folland",
"framelet",
"Fredholm",
"Frobenius",
"functionals",
"Galerkin",
"Galerkin-type",
"Gauss-Seidel",
"GMRES",
"Hadamard",
"Hcurl",
"hemivariational",
"hexahedral",
"hexahedron",
"Hilbertian",
"holomorphic",
"IFEM",
"iFEM",
"IFEVEM",
"ifft",
"ill-posedness",
"incompressibility",
"injective",
"interpolant",
"interpolants",
"invertibility",
"inviscid",
"Inviscid",
"irrotational",
"isogeometric",
"isoparametric",
"IVEM",
"Kaggle",
"kernelized",
"Krylov",
"Laplace-Beltrami",
"linearization",
"linearizations",
"linearize",
"Lipschitz",
"magnetostatic",
"mathbb",
"mathjax",
"meshless",
"multivector",
"multivectors",
"Multiwavelet",
"MultiWavelet",
"multiwavelet",
"N",
"N\\'ed\\'elec",
"Nédélec",
"Neumann",
"Newegg",
"Nitsche",
"Noether",
"non-piecewise",
"nonconformig",
"nonhomogeneous",
"nonlinearities",
"nonmatching",
"nonnegative",
"nonparametric",
"nonsmooth",
"nonsmoothness",
"normalizations",
"NtD",
"numerics",
"numpy",
"octahedron",
"Optimality",
"optimality",
"orderness",
"orientable",
"orthogonalization",
"overparametrization",
"parallelepiped",
"parallelizable",
"parametrizations",
"patchification",
"PDE",
"PDE-based",
"PDEs",
"perturbative",
"Petrov",
"Petrov-Galerkin",
"Petrov-Galerkin-type",
"piecewise",
"piecewisely",
"PIs",
"Poincar",
"Poincar\\'e",
"pointwise",
"polytopal",
"polytopes",
"positive-semidefinite",
"posteriori",
"postprocessed",
"preconditioner",
"preconditioners",
"Pythonic",
"quadratically",
"quadsect",
"quadsecting",
"quartic",
"quasi-interpolant",
"quasi-optimality",
"quaternion",
"quaternions",
"rarefactions",
"Raviart",
"regularizations",
"regularizer",
"ReLU",
"ResNet",
"Riesz",
"scaomath",
"Schwarz",
"seminorm",
"Shuhao",
"Signorini",
"simplical",
"simplices",
"simplicial",
"Sobolev",
"softmax",
"solenoidal",
"sparsification",
"spatiotemporal",
"stabilizations",
"stereographic",
"Stokesian",
"subelements",
"subintervals",
"submanifold",
"submanifolds",
"suboptimality",
"subsampling",
"superconvergence",
"supremum",
"surjective",
"surjectivity",
"Tensorflow",
"tensorial",
"tetrahedra",
"Tikhonov",
"tri-diagonal",
"triangulations",
"tridiagonal",
"trivector",
"UMKC",
"unisolvence",
"unisolvency",
"unisolvent",
"unnormalized",
"upsampling",
"url",
"vectorize",
"wavenumbers",
"Weiqi",
"well-posedness",
"Zienkiewicz"
]
},
"ltex.enabled": [
"context",
"context.tex",
"html",
"latex",
"markdown"
],
"markdown.preview.fontFamily": "'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif",
"markdown.preview.fontSize": 16,
"matlab.matlabpath": "/home/sch59/.local/share/MATLAB/R2022b/bin/glnxa64",
"matlab.mlintpath": "/home/sch59/.local/share/MATLAB/R2022b/bin/glnxa64/mlint",
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"notebook.cellToolbarVisibility": "hover",
"notebook.compactView": false,
"notebook.globalToolbarShowLabel": "dynamic",
"notebook.output.textLineLimit": 200,
"python.analysis.autoImportCompletions": false,
"python.analysis.autoSearchPaths": true,
"python.analysis.completeFunctionParens": true,
"python.analysis.extraPaths": [
"./",
"./sources",
"./src",
"./lib",
"./libs"
// "../src",
// "../libs", // this will become very slow
],
"python.autoComplete.extraPaths": [
".",
".."
],
"python.defaultInterpreterPath": "~/anaconda3/bin/python",
"python.envFile": "${workspaceFolder}/.env",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.activateEnvironment": false,
"python.terminal.executeInFileDir": true,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.defaultProfile.linux": "zsh",
// "terminal.integrated.fontFamily": "Envy Code R VS, PowerlineSymbols",
"terminal.integrated.fontFamily": "Iosevka Term SS10, PowerlineSymbols",
// "terminal.integrated.fontFamily": "Hack",
"terminal.integrated.fontSize": 15,
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash"
},
"fish": {
"path": "fish"
},
"pwsh": {
"icon": "terminal-powershell",
"path": "pwsh"
},
"tmux": {
"icon": "terminal-tmux",
"path": "tmux"
},
"zsh": {
"path": "zsh"
}
},
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"XXX",
"[ ]",
"[x]"
],
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"window.autoDetectColorScheme": true,
"window.title": "${activeEditorLong}${separator}${rootName}",
"workbench.colorCustomizations": {
"editor.background": "#2b2f38",
"editor.findMatchBackground": "#b25e0f",
"editor.findMatchBorder": "#bec7d8af",
"editor.findMatchHighlightBackground": "#7a47182d",
"editor.foreground": "#bec7d8",
// "editor.hoverHighlightBackground": "#4c58699f",
"editor.lineHighlightBackground": "#4356709f",
"editor.wordHighlightBackground": "#135564",
"editor.wordHighlightBorder": "#147e99",
"editor.wordHighlightStrongBackground": "#135564",
"editor.wordHighlightStrongBorder": "#1b8099",
"editorBracketHighlight.foreground1": "#d19119",
"editorBracketPairGuide.activeBackground1": "#d19119",
"editorBracketHighlight.foreground2": "#c27bbc",
"editorBracketMatch.background": "#b46e6973",
"editorBracketMatch.border": "#d1d43986",
"editor.selectionBackground": "#135564",
"editor.selectionHighlightBackground": "#19525f",
"editor.selectionHighlightBorder": "#0e8eae",
"editorOverviewRuler.wordHighlightForeground": "#7acb85",
"editorOverviewRuler.wordHighlightStrongForeground": "#ac78ff",
"editorCursor.foreground": "#e2986d",
// "editorWarning.background": "#4a1568", # if background then foreground won't show
"editorError.foreground": "#d65757",
"editorHoverWidget.background": "#073f50",
"editorHoverWidget.border": "#354499bb",
"editorInfo.foreground": "#0394fc",
"editorSuggestWidget.background": "#073f50",
"editorSuggestWidget.selectedBackground": "#2081bdd4",
"editorWarning.foreground": "#f88a0b",
"list.activeSelectionBackground": "#42474e",
"list.hoverBackground": "#493c7ac4",
"scrollbarSlider.activeBackground": "#51a6b1b6",
"scrollbarSlider.background": "#4b81d1ce",
"scrollbarSlider.hoverBackground": "#856ed8b6",
"tab.activeBackground": "#2a3855",
"tab.activeBorderTop": "#b883ce",
"terminal.ansiBlack": "#26292a",
"terminal.ansiBlue": "#478d9b",
"terminal.ansiBrightBlack": "#665C54",
"terminal.ansiBrightBlue": "#2fb0ca",
"terminal.ansiBrightCyan": "#8BA59B",
"terminal.ansiBrightGreen": "#7ea86f",
"terminal.ansiBrightMagenta": "#8F4673",
"terminal.ansiBrightRed": "#d14633",
"terminal.ansiBrightWhite": "#d8d0a2",
"terminal.ansiBrightYellow": "#d8a630",
"terminal.ansiCyan": "#8BA59B",
"terminal.ansiGreen": "#95C085",
"terminal.ansiMagenta": "#8F4673",
"terminal.ansiRed": "#FB543F",
"terminal.ansiWhite": "#A89984",
"terminal.ansiYellow": "#e2ae34",
"terminal.background": "#22252B",
"terminal.foreground": "#2bb669",
"terminalCursor.background": "#A89984",
"terminalCursor.foreground": "#A89984",
// "terminal.background":"#2E2A31",
// "terminal.foreground":"#30b36b",
// "terminalCursor.background":"#BCBABE",
// "terminalCursor.foreground":"#BCBABE",
// "terminal.ansiBlack":"#2E2A31",
// "terminal.ansiBlue":"#958cec",
// "terminal.ansiBrightBlack":"#838085",
// "terminal.ansiBrightBlue":"#978ef0",
// "terminal.ansiBrightCyan":"#149BDA",
// "terminal.ansiBrightGreen":"#17AD98",
// "terminal.ansiBrightMagenta":"#BB60EA",
// "terminal.ansiBrightRed":"#D8137F",
// "terminal.ansiBrightWhite":"#F5F4F7",
// "terminal.ansiBrightYellow":"#DC8A0E",
// "terminal.ansiCyan":"#149BDA",
// "terminal.ansiGreen":"#17AD98",
// "terminal.ansiMagenta":"#BB60EA",
// "terminal.ansiRed":"#D8137F",
// "terminal.ansiWhite":"#BCBABE",
// "terminal.ansiYellow":"#DC8A0E"
"toolbar.hoverBackground": "#493c7ac4"
},
"workbench.editor.scrollToSwitchTabs": true,
"workbench.editor.untitled.hint": "hidden",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"workbench.list.smoothScrolling": true,
"cmake.configureOnOpen": false,
"window.commandCenter": true,
"markdown.updateLinksOnFileMove.enabled": "prompt",
"latex-workshop.view.pdf.ref.viewer": "tabOrBrowser",
"files.watcherExclude": {
"**/.git/**": true,
"**/.jekyll-cache/**": true
},
"markdown.extension.toc.updateOnSave": false,
"grammarly.files.include": [
"**/*.txt",
"**/*.tex",
"**/*.md"
],
"grammarly.config.documentDomain": "academic",
"window.zoomLevel": 1,
"jupyter.interactiveWindow.creationMode": "perFile",
"jupyter.interactiveWindow.textEditor.executeSelection": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment