Skip to content

Instantly share code, notes, and snippets.

@CTimmerman
Last active June 28, 2023 13:22
Show Gist options
  • Save CTimmerman/36569310b1dfb1db45f4825d9a1444ee to your computer and use it in GitHub Desktop.
Save CTimmerman/36569310b1dfb1db45f4825d9a1444ee to your computer and use it in GitHub Desktop.
Visual Studio Code settings
[
{
"key": "ctrl+f9",
"command": "editor.debug.action.goToNextBreakpoint"
},
{
"key": "ctrl+shift+f9",
"command": "editor.debug.action.goToPreviousBreakpoint"
},
{
"key": "alt+[",
"command": "editor.emmet.action.matchTag"
}
]
/*
Visual Studio Code settings
GNU: ~/.config/Code/User/settings.json
MacOS: /Users/name/Library/Application Support/Code/User/settings.json
Windows: %AppData%\Code\User\settings.json
Extensions according to "code --list-extensions":
CoenraadS.bracket-pair-colorizer-2
cssho.vscode-svgviewer
eamodio.gitlens
esbenp.prettier-vscode
Gruntfuggly.todo-tree
guyskk.language-cython
HookyQR.beautify
LaurentTreguier.vscode-simple-icons
marcostazi.VS-code-vagrantfile
mechatroner.rainbow-csv
ms-python.python
msjsdiag.debugger-for-chrome
oderwat.indent-rainbow
redhat.java
richie5um2.vscode-sort-json
sysoev.language-stylus
VisualStudioExptTeam.vscodeintellicode
voldemortensen.rainbow-tags
vscjava.vscode-java-debug
vscjava.vscode-java-dependency
vscjava.vscode-java-pack
vscjava.vscode-java-test
vscjava.vscode-maven
Build: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\amd64\MSBuild.exe" /P:Configuration=Debug
Run: "C:\Program Files (x86)\IIS Express\iisexpress.exe" /config:"D:\Projects\XXX\source\.vs\config\applicationhost.config" /site:XXX.Web
Format: Shift+Alt+F
*/
{
"beautify.config": {
"brace_style": "collapse",
"break_chained_methods": false,
"eval_code": false,
"extra_liners": [],
"indent_char": " ",
"indent_level": 0,
"indent_size": 4,
"indent_with_tabs": true,
"jslint_happy": true,
"keep_array_indentation": false,
"keep_function_indentation": false,
"max_preserve_newlines": 3,
"newline_between_rules": false,
"preserve_newlines": true,
"space_before_conditional": true,
"unescape_strings": false,
"wrap_line_length": 0
},
"debug.console.fontSize": 12,
"editor.autoClosingBrackets": "never",
"editor.autoClosingQuotes": "never",
"editor.autoIndent": true,
"editor.defaultFormatter": "HookyQR.beautify",
"editor.detectIndentation": true,
"editor.insertSpaces": false,
"editor.minimap.enabled": false,
"editor.renderLineHighlight": "none",
"editor.renderWhitespace": "boundary",
"editor.suggestSelection": "first",
"editor.wordWrap": "on",
"extensions.ignoreRecommendations": false,
"files.eol": "\n",
"git.enableSmartCommit": false,
"git.autofetch": true,
"git.pruneOnFetch": true,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressUpdateNotice": false,
"suppressWelcomeNotice": true
},
"gitlens.showWhatsNewAfterUpgrades": false,
"html.autoClosingTags": false,
"java.configuration.checkProjectSettingsExclusions": false,
"java.errors.incompleteClasspath.severity": "info",
"java.home": "C:\\Program Files\\Java\\jdk-12.0.1",
"java.maxConcurrentBuilds": 4,
"prettier.bracketSpacing": true,
"prettier.semi": false,
"prettier.useTabs": true,
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--style",
"{use_tabs: true, indent_width: 1, continuation_indent_width: 1, dedent_closing_brackets: true}"
],
"python.jediEnabled": false,
"python.linting.pylintArgs": ["--errors-only"],
"python.linting.flake8Args": [
"--max-line-length=120",
"--ignore=E501,E401,W503"
],
"python.linting.flake8Enabled": true,
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"workbench.colorTheme": "Default High Contrast",
"workbench.startupEditor": "newUntitledFile"
}
{
"folders": [
{
"path": "C:\\Users\\Cees\\PycharmProjects\\aproject"
},
{
"path": "C:\\Users\\Cees\\PycharmProjects\\libthatsnotinasubmodule"
}
],
"settings": {},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${fileDirname}"
},
{
"name": "Export stuff",
"type": "python",
"request": "launch",
"program": "${workspaceFolder:aproject}\\src\\scripts\\export.py",
"args": ["stuff"],
"console": "integratedTerminal",
"env": {
"CONFIG_INI": "${workspaceFolder:aproject}\\deployment\\dev.ini",
"PYTHONPATH": "${workspaceFolder:libthatsnotinasubmodule}/src",
"PYTHONUNBUFFERED": "1",
},
}
]
}
}
@CTimmerman
Copy link
Author

CTimmerman commented Nov 17, 2020

PyCharm needs the Quick File Preview plugin to compete with Visual Studio Code, and a better Git interface to see unstaged changes. GitKraken works but lacks the overview of SourceTree or GitLens/Source Control in Visual Studio Code. View, Tool Windows, Commit (Alt+0) and dragging the Commit tab to the left side menu works.

See also other tech prefs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment