Add vscode settings

This commit is contained in:
ItsDrike 2021-01-29 01:30:43 +01:00
parent 97d68ccbfb
commit e5f91b5ad0
No known key found for this signature in database
GPG key ID: 252D306F545351FC

View file

@ -0,0 +1,375 @@
{
// #region: General VSCode settings
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"workbench.settings.editor": "json",
"workbench.settings.openDefaultSettings": true,
"window.zoomLevel": -1,
"window.closeWhenEmpty": false,
"window.openFilesInNewWindow": "off",
"window.title": "${activeEditorShort}${separator}${rootName}",
"editor.minimap.enabled": true,
"editor.formatOnSave": false,
"editor.formatOnPaste": true,
"editor.dragAndDrop": false, // Moving text by mouse drag
"editor.emptySelectionClipboard": false, // Disallow Ctrl+C/V on empty selection line
"editor.selectionHighlight": false, // Highlight same words cursor is currently on
"editor.scrollBeyondLastLine": true,
"editor.wordWrap": "on", // Wrap too long words on 1 line into multiple
"editor.snippetSuggestions": "top",
"editor.multiCursorModifier": "ctrlCmd",
"editor.mouseWheelScrollSensitivity": 5,
"files.insertFinalNewline": true, // Keep a newline at the end of every file
"files.trimTrailingWhitespace": true, // Remove redundant spaces in line ends
"[markdown]": {
"files.trimTrailingWhitespace": false // Removing trailing spaces breaks Markdown
},
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"workbench.startupEditor": "newUntitledFile",
"workbench.colorCustomizations": {},
"workbench.editor.enablePreview": false,
"diffEditor.ignoreTrimWhitespace": false,
// #endregion
// #region: Theme/Font settings
"editor.fontFamily": "Source Code Pro",
"debug.console.fontFamily": "Source Code Pro",
"workbench.colorTheme": "Material Theme Darker High Contrast",
"workbench.iconTheme": "vscode-icons",
"vsicons.dontShowNewVersionMessage": true,
// #endregion
// #region:Settings sync
"sync.autoUpload": true,
"sync.gist": "bfe97418800b4dc1d64109a980d41760",
"sync.forceUpload": true,
// #endregion
// #region: Files icons/associations
"files.associations": {
".env": "shellscript"
},
"vsicons.associations.files": [
{
"icon": "text",
"extensions": [
"todo"
],
"filename": true,
"format": "svg"
}
],
// #endregion
// #region: Git
"git.autofetch": true,
"git.confirmSync": false,
// #endregion
// #region: Python
"python.showStartPage": false,
"python.pythonPath": "/usr/bin/python",
"python.pipenvPath": "~/.local/bin/pipenv",
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "basic",
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"python.formatting.provider": "autopep8",
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.pycodestyleArgs": [
"--max-line-length=150",
"--ignore=ANN001,ANN002,ANN003,ANN101,ANN102,ANN204,E731"
],
"python.linting.flake8Args": [
"--max-line-length=150",
"--ignore=ANN001,ANN002,ANN003,ANN101,ANN102,ANN204,E731"
],
"python.formatting.autopep8Args": [
"--max-line-length=150",
"--ignore=ANN001,ANN002,ANN003,ANN101,ANN102,ANN204,E731"
],
"python.testing.unittestArgs": [
"-v",
"-s",
".",
"-p",
"test*.py"
],
// #endregion
// #region: Prettier Now
"[javascriptreact]": {
"editor.defaultFormatter": "remimarsal.prettier-now"
},
"[json]": {
"editor.defaultFormatter": "remimarsal.prettier-now"
},
// #endregion
// #region: CSpell
"cSpell.enableFiletypes": [
"diff",
"dockerfile",
"ini",
"jupyter",
"log",
"shellscript",
"sql",
"todo"
],
"cSpell.userWords": [
"Bcrypt",
"CORO",
"Devs",
"Dockerize",
"Docstring",
"Drike",
"INET",
"KEYUP",
"LCTRL",
"LEFTUP",
"MOUSEBUTTONUP",
"MOUSEEVENTF",
"PIDs",
"Pipfile",
"Pythonic",
"RCTRL",
"RGBA",
"Restrictor",
"SQLALCHEMY",
"Servername",
"Sharded",
"Slowmode",
"Spacebar",
"Tesseract",
"Traceback",
"aiohttp",
"aiosqlite",
"aniso",
"appdirs",
"arange",
"asyncio",
"asyncpg",
"autofetch",
"autofmt",
"autopep",
"axvline",
"backticks",
"backtrace",
"barh",
"blit",
"builtins",
"cathetus",
"cgroups",
"chdir",
"choosed",
"clsobj",
"cmap",
"cmds",
"codebase's",
"commited",
"commiting",
"coord",
"crossorigin",
"ctypes",
"dateutil",
"defcon",
"devel",
"diags",
"displayname",
"docstrings",
"duckduckgo",
"ehlo",
"elif",
"enableautopreview",
"endblock",
"enviroment",
"exts",
"fetchone",
"filelock",
"floder",
"fuzzywuzzy",
"gedit",
"getenv",
"gethostbyname",
"getsizeof",
"gmail",
"googlemail",
"groupby",
"hexadynamic",
"hexlify",
"hitbox",
"inplace",
"iphone",
"ipython",
"isalpha",
"isdigit",
"isdir",
"isfile",
"isinstance",
"isistance",
"islower",
"isupper",
"itertools",
"itsdrike",
"kwargs",
"labelledby",
"linebreak",
"loguru",
"lxml",
"mariadb",
"matmul",
"mkdir",
"mknod",
"msqli",
"mult",
"mypass",
"ncols",
"networkmanager",
"noqa",
"noreply",
"nrows",
"ntpath",
"numpy",
"nums",
"paceholder",
"pacman",
"pipcache",
"pipenv",
"popen",
"prepending",
"psutil",
"pword",
"pyautogui",
"pycodestyle",
"pygame",
"pylance",
"pylint",
"pynput",
"pypi",
"pyplot",
"pyyaml",
"questionmark",
"reimplementing",
"repos",
"rglob",
"rmdir",
"roboto",
"rtype",
"sbin",
"securepy",
"setaf",
"smtp",
"smtplib",
"spotify",
"sqlite",
"startx",
"starty",
"strftime",
"strg",
"strptime",
"subtests",
"sumbit",
"svgviewer",
"sysinfo",
"systemctl",
"systemd",
"tabindex",
"textfile",
"toggleable",
"tput",
"tqdm",
"ture",
"uname",
"unassignrole",
"unban",
"undeafen",
"undeafened",
"unhashable",
"unmute",
"unmutechat",
"unmuted",
"unregister",
"unscheduling",
"unsilence",
"upvotes",
"urandom",
"vals",
"venv",
"virtualenv",
"wtforms",
"xaxis",
"xdate",
"xkcd",
"xlabel",
"xpos",
"xscale",
"xticks",
"xyzw",
"ylabel",
"ypos",
"yscale"
],
// #endregion
// #region: Others
"code-runner.clearPreviousOutput": true,
"svgviewer.enableautopreview": true,
"indentRainbow.colors": [
"rgba(16,16,16,0.1)",
"rgba(16,16,16,0.3)",
"rgba(16,16,16,0.6)",
"rgba(16,16,16,0.4)",
"rgba(16,16,16,0.2)"
],
"auto-close-tag.activationOnLanguage": [
"xml",
"php",
"blade",
"ejs",
"jinja",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"plaintext",
"markdown",
"vue",
"liquid",
"erb",
"lang-cfml",
"cfml",
"HTML (EEx)",
"HTML (Eex)",
"plist",
// Added
"django-html"
],
// #endregion
// Unsorted
"sqltools.useNodeRuntime": true,
"jupyter.askForKernelRestart": false,
"workbench.editorAssociations": [],
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"license.author": "ItsDrike",
"license.extension": ".md",
}