Skip to content

Instantly share code, notes, and snippets.

@LTNMinh
Last active July 2, 2023 09:03
Show Gist options
  • Save LTNMinh/1ef3bd0fca639de6848ad7dc731d7b17 to your computer and use it in GitHub Desktop.
Save LTNMinh/1ef3bd0fca639de6848ad7dc731d7b17 to your computer and use it in GitHub Desktop.

Revisions

  1. LTNMinh revised this gist Jul 2, 2023. 1 changed file with 187 additions and 64 deletions.
    251 changes: 187 additions & 64 deletions setting.json
    Original file line number Diff line number Diff line change
    @@ -1,42 +1,114 @@
    {
    "editor.tabSize": 4,
    {
    "[go]": {
    // "editor.formatOnSave": false,
    "editor.codeActionsOnSave": {
    "source.organizeImports": false
    },
    "editor.semanticHighlighting.enabled": true
    },
    "[java]": {
    // "editor.formatOnSave": false,
    // "editor.codeActionsOnSave": {
    // "source.organizeImports": true
    // },
    "editor.wordWrap": "wordWrapColumn",
    "editor.wordWrapColumn": 200
    },
    "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
    },
    "[python]": {
    "editor.codeActionsOnSave": {
    "source.organizeImports": true
    },
    "editor.formatOnSave": true,
    "editor.formatOnSaveMode": "file",
    "editor.formatOnType": true,
    "editor.semanticHighlighting.enabled": true,
    "editor.defaultFormatter": "ms-python.black-formatter"
    },
    "background.enabled": false,
    "database-client.showFilter": true,
    "diffEditor.codeLens": true,
    "diffEditor.ignoreTrimWhitespace": false,
    "editor.bracketPairColorization.enabled": true,
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true,
    "editor.fontSize": 17,
    "editor.guides.bracketPairs": true,
    "editor.guides.bracketPairsHorizontal": true,
    "editor.semanticTokenColorCustomizations": {
    "enabled": true,
    "rules": {
    "selfParameter": "#05bbaa",
    "module.typeHint": {
    "fontStyle": "italic",
    "foreground": "#749b51"
    "*.readonly": "#129bdf",
    "class": {
    "fontStyle": "bold",
    "foreground": "#5964ff"
    },
    "class.generic": {
    "foreground": "#4edce1"
    },
    "class.typeHint": {
    "fontStyle": "italic",
    "foreground": "#749b51"
    },
    "variable.typeHint": {
    "foreground": "#749b51",
    "fontStyle": "italic"
    "comment": {
    "foreground": "#767a8a"
    },
    "method": "#71bba3",
    "module": {
    "foreground": "#8e8b39",
    "fontStyle": "underline"
    "function": "#98C379",
    "interface": {
    "fontStyle": "bold",
    "foreground": "#5964ff"
    },
    "interface.generic": {
    "foreground": "#4edce1"
    },
    "magicFunction": {
    "fontStyle": "italic"
    },
    "property": "#cc41ff",
    "function": "#98C379",
    "class": {
    "fontStyle": "bold"
    "method": "#da7373",
    "module": {
    "fontStyle": "underline",
    "foreground": "#8e8b39"
    },
    "module.typeHint": {
    "fontStyle": "italic",
    "foreground": "#749b51"
    },
    "namespace": {
    "fontStyle": "underline",
    "foreground": "#8e8b39"
    },
    "parameter": {
    "foreground": "#a4b64c"
    },
    "property": "#db79ff",
    "selfParameter": "#05bbaa",
    "variable": {
    "foreground": "#39c98d"
    },
    "variable.typeHint": {
    "fontStyle": "italic",
    "foreground": "#6a904a"
    }
    }
    },
    "editor.smoothScrolling": true,
    "editor.stickyScroll.enabled": true,
    "editor.suggestSelection": "first",
    "editor.tokenColorCustomizations": {
    "textMateRules": [
    {
    "scope": "meta.function-call.generic.python",
    "settings": {
    "foreground": "#98c379"
    "foreground": "#DCDCAA"
    }
    },
    {
    "scope": "entity.name.import.go",
    "settings": {
    "fontStyle": "underline",
    "foreground": "#8e8b39"
    }
    },
    {
    @@ -50,7 +122,7 @@
    "settings": {
    "foreground": "#809adc"
    }
    },
    },
    {
    "scope": "meta.item-access.arguments.python",
    "settings": {
    @@ -59,8 +131,73 @@
    }
    ]
    },
    "editor.fontSize": 17,
    "terminal.integrated.inheritEnv": false,
    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,
    "go.autocompleteUnimportedPackages": true,
    "go.formatTool": "gofmt",
    "go.toolsManagement.autoUpdate": true,
    "google-java-format.executable": "~/Documents/SDK/google-java-format-1.15.0-all-deps.jar",
    "gopls": {
    "ui.semanticTokens": true
    },
    "graalvm.home": "/Users/minh/Documents/SDK/graalvm-ce-java11-22.3.1/Contents/Home",
    "graalvm.installations": [
    "/Users/minh/Documents/SDK/graalvm-ce-java11-22.3.1/Contents/Home"
    ],
    "java.completion.favoriteStaticMembers": [
    "org.junit.Assert.*",
    "org.junit.Assume.*",
    "org.junit.jupiter.api.Assertions.*",
    "org.junit.jupiter.api.Assumptions.*",
    "org.junit.jupiter.api.DynamicContainer.*",
    "org.junit.jupiter.api.DynamicTest.*",
    "org.mockito.Mockito.*",
    "org.mockito.ArgumentMatchers.*",
    "org.mockito.Answers.*"
    ],
    "java.configuration.runtimes": [
    {
    "name": "JavaSE-11",
    "path": "/Users/minh/Documents/SDK/graalvm-ce-java11-22.3.1/Contents/Home"
    }
    ],
    "java.jdt.ls.java.home": "/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home",
    "jupyter.askForKernelRestart": false,
    "latex-workshop.view.pdf.viewer": "browser",
    "maven.terminal.customEnv": [
    {
    "environmentVariable": "JAVA_HOME",
    "value": "/Users/minh/Documents/SDK/graalvm-ce-java11-22.3.1/Contents/Home"
    }
    ],
    "projectManager.confirmSwitchOnActiveWindow": "onlyUsingSideBar",
    "projectManager.openInNewWindowWhenClickingInStatusBar": true,
    "projectManager.sortList": "Path",
    "projectManager.tags": [
    "Personal",
    "Work",
    "Knorex",
    "Trading"
    ],
    "python.analysis.diagnosticSeverityOverrides": {
    "reportDuplicateImport": "error",
    "reportImportCycles": "error",
    "reportMissingImports": "none",
    "reportUndefinedVariable": "error",
    "reportUnusedExpression": "none",
    "reportUnusedFunction": "warning",
    "reportUnusedImport": "warning",
    "reportUnusedVariable": "error"
    },
    "python.analysis.extraPaths": [
    "lib/python3.8/site-packages"
    ],
    "python.analysis.typeCheckingMode": "off",
    "python.envFile": "${workspaceFolder}/.venv",
    "python.formatting.provider": "black",
    "python.languageServer": "Pylance",
    "redhat.telemetry.enabled": false,
    "security.workspace.trust.untrustedFiles": "open",
    "sshfs.configs": [
    {
    "agent": "$SSH_AUTH_SOCK",
    @@ -72,56 +209,42 @@
    "username": "MinhLe"
    }
    ],
    "workbench.iconTheme": "material-icon-theme",
    "sync.gist": "1630c7123952efbc4868472636d0b978",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "terminal.integrated.fontFamily": "MesloLGS NF",
    "diffEditor.codeLens": true,
    "python.languageServer": "Pylance",
    "python.envFile": "${workspaceFolder}/.venv",
    "python.pythonPath": "${workspaceFolder}/.venv/bin/python3",
    "python.analysis.extraPaths": ["lib/python3.8/site-packages"],
    "python.analysis.diagnosticSeverityOverrides": {
    "reportMissingImports": "none",
    "reportUnusedExpression" : "none",
    "reportUnusedVariable" : "warning"
    },
    "python.analysis.typeCheckingMode": "off",
    "diffEditor.ignoreTrimWhitespace": false,
    "workbench.editorAssociations": {
    "*.ipynb": "jupyter-notebook"
    "terminal.integrated.defaultProfile.osx": "zsh",
    "terminal.integrated.defaultProfile.windows": "cmder",
    "terminal.integrated.enableMultiLinePasteWarning": false,
    "terminal.integrated.env.osx": {
    "GRAALVM_HOME": "/Users/minh/Documents/SDK/graalvm-ce-java11-22.3.1/Contents/Home",
    "JAVA_HOME": "/Users/minh/Documents/SDK/graalvm-ce-java11-22.3.1/Contents/Home"
    },
    "workbench.colorTheme": "One Monokai",
    "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python3",
    "terminal.integrated.fontFamily": "MesloLGS NF",
    "terminal.integrated.fontSize": 14,
    "terminal.integrated.inheritEnv": false,
    "terminal.integrated.profiles.windows": {
    "cmder": {
    "path": "C:\\Windows\\System32\\cmd.exe",
    "args": [ "/k C:\\Users\\minhltn1\\Downloads\\Cmder\\vendor\\bin\\vscode_init.cmd" ]
    // "args": [ "/k C:\\Users\\minhltn1\\Downloads\\Cmder\\vendor\\init.bat" ]
    "args": [
    "/k C:\\Users\\minhltn1\\Downloads\\Cmder\\vendor\\bin\\vscode_init.cmd"
    ],
    "path": "C:\\Windows\\System32\\cmd.exe"
    }
    },
    "terminal.integrated.defaultProfile.windows": "cmder",
    "terminal.integrated.profiles.osx":{
    "zsh" :{
    "path": "/bin/zsh"
    }
    } ,
    "terminal.integrated.defaultProfile.osx": "zsh",
    // "terminal.integrated.shell.osx": "/bin/zsh",
    "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
    "workbench.activityBar.visible": true,
    "workbench.editorAssociations": {
    "*.ipynb": "jupyter-notebook"
    },
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true,
    "bracketPairColorizer.depreciation-notice": false,
    "workbench.iconTheme": "material-icon-theme",
    "workbench.sideBar.location": "right",
    "terminal.integrated.enableMultiLinePasteWarning": false,
    "jupyter.askForKernelRestart": false,
    "explorer.confirmDelete": false,
    "enableTelemetry": false,
    "database-client.showFilter": true,
    "background.enable": true,
    "background.useDefault": true,
    "background.customImages": []
    "workbench.colorCustomizations": {
    "minimap.background": "#ffffff00"
    },
    "editor.unicodeHighlight.invisibleCharacters": false,
    "editor.unicodeHighlight.ambiguousCharacters": false,
    "window.zoomLevel": 1,
    "hediet.vscode-drawio.resizeImages": null,
    "git.openRepositoryInParentFolders": "never",
    "update.mode": "none",
    "yaml.schemas": {
    "file:///home/ubuntu/.vscode-server/extensions/atlassian.atlascode-3.0.3/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
    }
    }
  2. LTNMinh created this gist Apr 27, 2022.
    127 changes: 127 additions & 0 deletions setting.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,127 @@
    {
    "editor.tabSize": 4,
    "editor.semanticTokenColorCustomizations": {
    "enabled": true,
    "rules": {
    "selfParameter": "#05bbaa",
    "module.typeHint": {
    "fontStyle": "italic",
    "foreground": "#749b51"
    },
    "class.typeHint": {
    "fontStyle": "italic",
    "foreground": "#749b51"
    },
    "variable.typeHint": {
    "foreground": "#749b51",
    "fontStyle": "italic"
    },
    "method": "#71bba3",
    "module": {
    "foreground": "#8e8b39",
    "fontStyle": "underline"
    },
    "magicFunction": {
    "fontStyle": "italic"
    },
    "property": "#cc41ff",
    "function": "#98C379",
    "class": {
    "fontStyle": "bold"
    }
    }
    },
    "editor.tokenColorCustomizations": {
    "textMateRules": [
    {
    "scope": "meta.function-call.generic.python",
    "settings": {
    "foreground": "#98c379"
    }
    },
    {
    "scope": "meta.attribute.python",
    "settings": {
    "foreground": "#71bba3"
    }
    },
    {
    "scope": "meta.indexed-name.python",
    "settings": {
    "foreground": "#809adc"
    }
    },
    {
    "scope": "meta.item-access.arguments.python",
    "settings": {
    "foreground": "#cddc80"
    }
    }
    ]
    },
    "editor.fontSize": 17,
    "terminal.integrated.inheritEnv": false,
    "sshfs.configs": [
    {
    "agent": "$SSH_AUTH_SOCK",
    "host": "10.242.171.71",
    "name": "minhqcf",
    "password": true,
    "port": 22,
    "root": "/Users/minh/",
    "username": "MinhLe"
    }
    ],
    "workbench.iconTheme": "material-icon-theme",
    "sync.gist": "1630c7123952efbc4868472636d0b978",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "terminal.integrated.fontFamily": "MesloLGS NF",
    "diffEditor.codeLens": true,
    "python.languageServer": "Pylance",
    "python.envFile": "${workspaceFolder}/.venv",
    "python.pythonPath": "${workspaceFolder}/.venv/bin/python3",
    "python.analysis.extraPaths": ["lib/python3.8/site-packages"],
    "python.analysis.diagnosticSeverityOverrides": {
    "reportMissingImports": "none",
    "reportUnusedExpression" : "none",
    "reportUnusedVariable" : "warning"
    },
    "python.analysis.typeCheckingMode": "off",
    "diffEditor.ignoreTrimWhitespace": false,
    "workbench.editorAssociations": {
    "*.ipynb": "jupyter-notebook"
    },
    "workbench.colorTheme": "One Monokai",
    "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python3",
    "terminal.integrated.fontSize": 14,
    "terminal.integrated.profiles.windows": {
    "cmder": {
    "path": "C:\\Windows\\System32\\cmd.exe",
    "args": [ "/k C:\\Users\\minhltn1\\Downloads\\Cmder\\vendor\\bin\\vscode_init.cmd" ]
    }
    },
    "terminal.integrated.defaultProfile.windows": "cmder",
    "terminal.integrated.profiles.osx":{
    "zsh" :{
    "path": "/bin/zsh"
    }
    } ,
    "terminal.integrated.defaultProfile.osx": "zsh",
    // "terminal.integrated.shell.osx": "/bin/zsh",
    "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
    },
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true,
    "bracketPairColorizer.depreciation-notice": false,
    "workbench.sideBar.location": "right",
    "terminal.integrated.enableMultiLinePasteWarning": false,
    "jupyter.askForKernelRestart": false,
    "explorer.confirmDelete": false,
    "enableTelemetry": false,
    "database-client.showFilter": true,
    "background.enable": true,
    "background.useDefault": true,
    "background.customImages": []
    }