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.
My VSCode Setting
{
"[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": {
"*.readonly": "#129bdf",
"class": {
"fontStyle": "bold",
"foreground": "#5964ff"
},
"class.generic": {
"foreground": "#4edce1"
},
"class.typeHint": {
"fontStyle": "italic",
"foreground": "#749b51"
},
"comment": {
"foreground": "#767a8a"
},
"function": "#98C379",
"interface": {
"fontStyle": "bold",
"foreground": "#5964ff"
},
"interface.generic": {
"foreground": "#4edce1"
},
"magicFunction": {
"fontStyle": "italic"
},
"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": "#DCDCAA"
}
},
{
"scope": "entity.name.import.go",
"settings": {
"fontStyle": "underline",
"foreground": "#8e8b39"
}
},
{
"scope": "meta.attribute.python",
"settings": {
"foreground": "#71bba3"
}
},
{
"scope": "meta.indexed-name.python",
"settings": {
"foreground": "#809adc"
}
},
{
"scope": "meta.item-access.arguments.python",
"settings": {
"foreground": "#cddc80"
}
}
]
},
"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",
"host": "10.242.171.71",
"name": "minhqcf",
"password": true,
"port": 22,
"root": "/Users/minh/",
"username": "MinhLe"
}
],
"sync.gist": "1630c7123952efbc4868472636d0b978",
"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"
},
"terminal.integrated.fontFamily": "MesloLGS NF",
"terminal.integrated.fontSize": 14,
"terminal.integrated.inheritEnv": false,
"terminal.integrated.profiles.windows": {
"cmder": {
// "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"
}
},
"workbench.activityBar.visible": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"workbench.iconTheme": "material-icon-theme",
"workbench.sideBar.location": "right",
"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"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment