Skip to content

Commit

Permalink
DX: activate VSCode multi-file diff editor (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Dec 9, 2023
1 parent bfec11e commit f89021e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"git.rebaseWhenSync": true,
"github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"],
"livePreview.defaultPreviewPath": "docs/_build/html",
"multiDiffEditor.experimental.enabled": true,
"mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"],
"mypy-type-checker.importStrategy": "fromEnvironment",
"python.analysis.autoImportCompletions": false,
Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def _update_settings(has_notebooks: bool) -> None:
{
"diffEditor.experimental.showMoves": True,
"editor.formatOnSave": True,
"multiDiffEditor.experimental.enabled": True,
"rewrap.wrappingColumn": 88, # black
},
)
Expand Down

0 comments on commit f89021e

Please sign in to comment.