Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Odoo DoctorNew to Visual Studio Code? Get it now.
Odoo Doctor

Odoo Doctor

Preview

Minh Hong

|
2 installs
| (0) | Free
Health findings for Odoo custom addons in your editor, with quick fixes (experimental).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Odoo Doctor for VS Code (experimental)

Health findings for Odoo custom addons, in your editor. This extension starts the odoo-doctor lsp language server and shows what odoo-doctor scan would report:

  • findings as diagnostics (squiggles and the Problems panel), each with a link to the rule's documentation;
  • quick fixes (Ctrl+. / Cmd+.): apply the deterministic auto-fix when the rule has one, or disable the rule on this line, in this file, or in odoo-doctor.toml.

Requirements

Install Odoo Doctor with the language server extra, in the Python environment VS Code should use:

pip install 'odoo-doctor[lsp]'

The extension runs odoo-doctor lsp. If the executable is not on PATH, set odooDoctor.path to its full path.

Settings and commands

Setting Default Meaning
odooDoctor.enable true Run the language server for this workspace
odooDoctor.path odoo-doctor Path to the odoo-doctor executable

Commands: Odoo Doctor: Rescan workspace, Odoo Doctor: Restart language server.

Project settings (addons paths, ignores, severity, plugins) come from odoo-doctor.toml, exactly as for the command line.

Good to know

  • Analysis reads files from disk, so findings refresh when the workspace opens and when you save a file, not while typing.
  • Each refresh scans the whole workspace folder (cross-module rules need every addon).
  • This is the first, experimental release of the language server. See docs/lsp.md.

Build from source

cd editors/vscode
npm ci
npm run package        # writes odoo-doctor-<version>.vsix
code --install-extension odoo-doctor-*.vsix
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft