Skip to content

Instantly share code, notes, and snippets.

@phptek
Last active March 29, 2021 03:05
Show Gist options
  • Save phptek/f4d6f3d268f618dfb385e0029b036887 to your computer and use it in GitHub Desktop.
Save phptek/f4d6f3d268f618dfb385e0029b036887 to your computer and use it in GitHub Desktop.
VSCode settings
- Open recent file (Not workspace)
* https://github.com/Microsoft/vscode/issues/49629
- DISABLE: Opening a file in a different location to my current location, the file hierarchy navigation will automatically drop to there
- CHECK: How to debug Python in VSCode
* See: https://github.com/microsoft/ptvsd/blob/master/TROUBLESHOOTING.md
Extensions:
DotEnv
PHP Intellisense
Docker
GitLense
Django
Microsoft Python
Markdown All in One
// Place your settings in this file to overwrite the default settings.
//
// Catalyst Base Config:
//
// - Enable the "Intelliphense" PHP extension
// - Install the "php-docblocker" PHP extension
// - Install the "SilverStripe" PHP extension
// - Block-selection comments shortcut can only be achieved in: File --> Preferences --> Keyboard Shortcuts
// - Docs: Keyboard Bindings: https://code.visualstudio.com/docs/getstarted/keybindings
// - Docs: inotify warning: https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
// - Docs: Complete settings index: https://vscode.readthedocs.io/en/latest/getstarted/settings/ and https://code.visualstudio.com/docs/getstarted/settings
// - Outline > ... > "Follow Cursor"
{
"workbench.colorTheme": "Monokai Dimmed",
"window.menuBarVisibility": "default",
"editor.detectIndentation": false,
"workbench.statusBar.visible": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"explorer.confirmDelete": false,
"php.suggest.basic": false,
"editor.renderWhitespace": "all",
"files.autoGuessEncoding": true,
"editor.gotoLocation.multipleDeclarations": "goto",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
"files.eol": "\n",
"files.encoding": "utf8",
"workbench.editor.enablePreview": false,
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"editor.hover.enabled": false,
"editor.minimap.enabled": false,
"editor.renderControlCharacters": true,
"editor.smoothScrolling": true,
"workbench.startupEditor": "none",
"files.autoSave": "afterDelay",
"editor.parameterHints": false,
"editor.rulers": [80,120],
"editor.parameterHints.enabled": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.snippetSuggestions": "none",
"search.quickOpen.includeHistory": true,
"git.ignoreLegacyWarning": true,
"python.autoComplete.addBrackets": true,
"python.jediEnabled": false,
"python.defaultInterpreterPath": "/home/dave/.venvs/pact/bin/python",
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--max-line-length=120",
"--ignore=E501,W503,E402",
],
"python.linting.enabled": true,
"python.testing.cwd": "",
"python.autoComplete.extraPaths": [
"/home/dave/htdocs/ttm-app/ttm-venv/lib/python3.6/site-packages"
],
"python.languageServer": "Microsoft",
"python.autoComplete. ": true,
"workbench.editorAssociations": [
{
"viewType": "jupyter.notebook.ipynb",
"filenamePattern": "*.ipynb"
}
],
"todo-tree.tree.showScanModeButton": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment