Skip to content

Instantly share code, notes, and snippets.

@rcook
Created April 16, 2020 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rcook/10c2f49a239777e7f699e7df43790b77 to your computer and use it in GitHub Desktop.
Save rcook/10c2f49a239777e7f699e7df43790b77 to your computer and use it in GitHub Desktop.
Prevent auto-formatting on save in VSCode from moving "import" statements in Python scripts
{
"editor.formatOnSave": true,
"editor.renderControlCharacters": true,
"editor.renderWhitespace": "all",
"editor.rulers": [
72
],
"editor.tabSize": 4,
"editor.wordWrap": "off",
"editor.wordWrapColumn": 72,
"editor.wrappingIndent": "same",
"rust-client.enableMultiProjectSetup": true,
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"terminal.integrated.fontSize": 9,
"terminal.integrated.rendererType": "dom",
"window.zoomLevel": 1,
"[css]": {
"editor.tabSize": 2
},
"[html]": {
"editor.tabSize": 2
},
"[javascript]": {
"editor.tabSize": 2
},
"[json]": {
"editor.tabSize": 2
},
"[markdown]": {
"editor.wordWrap": "off"
},
"[shellscript]": {
"editor.tabSize": 2
},
"[xml]": {
"editor.tabSize": 2
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"java.configuration.checkProjectSettingsExclusions": false,
"python.jediEnabled": false,
"python.formatting.autopep8Args": [
"--ignore=E402"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment