Skip to content
Snippets Groups Projects
settings.json 1.26 KiB
Newer Older
Xuefeng Ding's avatar
Xuefeng Ding committed
{
Xuefeng Ding's avatar
Xuefeng Ding committed
  "editor.rulers": [88],
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.formatOnSave": true,
Xuefeng Ding's avatar
Xuefeng Ding committed
  "[python]": {
    "editor.codeActionsOnSave": {
Xuefeng Ding's avatar
Xuefeng Ding committed
      "source.fixAll": "explicit"
Xuefeng Ding's avatar
Xuefeng Ding committed
    },
Xuefeng Ding's avatar
Xuefeng Ding committed
    "editor.defaultFormatter": "charliermarsh.ruff"
Xuefeng Ding's avatar
Xuefeng Ding committed
  },
Xuefeng Ding's avatar
Xuefeng Ding committed
  // "notebook.codeActionsOnSave": {
  //   "source.fixAll": "explicit"
  // },
  "notebook.defaultFormatter": "charliermarsh.ruff",
  // "ruff.lint.args": ["--config=pyproject.toml"],
  "ruff.fixAll": true,
Xuefeng Ding's avatar
Xuefeng Ding committed
  "[cpp]": {
    "editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
  },
Xuefeng Ding's avatar
Xuefeng Ding committed
  "notebook.lineNumbers": "on",
  "clangd.arguments": [
    "--log=info",
    "--pretty",
    "--all-scopes-completion",
    "--completion-style=bundled",
    "--header-insertion=iwyu",
    "--header-insertion-decorators",
    "--background-index",
    "--clang-tidy",
    "-j=20",
    "--pch-storage=disk",
    "--function-arg-placeholders=false",
    "--compile-commands-dir=build"
  ],
Xuefeng Ding's avatar
Xuefeng Ding committed
  "clangd.path": "clangd-17",
  "jupyter.debugJustMyCode": false,
Xuefeng Ding's avatar
Xuefeng Ding committed
  "debugpy.debugJustMyCode": false,
  "pylint.args": ["--prefer-stubs=true"],
Xuefeng Ding's avatar
Xuefeng Ding committed
  // "pylint.args": [
  //   "--extension-pkg-allow-list=simulation._csrc._hello",
  //   "--prefer-stubs=true"
  // ],
Xuefeng Ding's avatar
Xuefeng Ding committed
  "python.testing.pytestEnabled": true,
  "python.testing.unittestEnabled": false
Xuefeng Ding's avatar
Xuefeng Ding committed
}