Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/odoo-ide/vscode-odoo
Visual Studio Code extension for Odoo
https://github.com/odoo-ide/vscode-odoo
odoo vscode vscode-extension
Last synced: 29 days ago
JSON representation
Visual Studio Code extension for Odoo
- Host: GitHub
- URL: https://github.com/odoo-ide/vscode-odoo
- Owner: odoo-ide
- Created: 2023-01-04T04:09:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T08:13:30.000Z (5 months ago)
- Last Synced: 2024-12-10T11:11:34.045Z (about 1 month ago)
- Topics: odoo, vscode, vscode-extension
- Homepage: https://marketplace.visualstudio.com/items?itemName=trinhanhngoc.vscode-odoo
- Size: 12.6 MB
- Stars: 48
- Watchers: 6
- Forks: 3
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Odoo Framework Integration for Visual Studio Code
Boost your productivity and make your life easier as an Odoo developer
[Homepage](https://odoo-ide.com) | [Issue Tracker](https://github.com/odoo-ide/vscode-odoo/issues)
This extension is in the early stages of development. A lot of features are missing compared to the [PyCharm plugin for Odoo](https://plugins.jetbrains.com/plugin/13499-odoo).
## Features
- Resolve `odoo.addons.*` imports for built-in addons and custom addons.
- Fully understand model inheritance mechanisms.
- Code completion and navigation for module names, model names, field names, XML IDs,...## Installation
1. Install the Odoo IDE extension from [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=trinhanhngoc.vscode-odoo).
2. Install [PyDev.Debugger plugin for Odoo](https://github.com/odoo-ide/pydevd-odoo) to improve Odoo debugging.## Notes
- The Odoo IDE extension will automatically set `Python Language Server` to `None` in settings for Odoo workspaces because this extension uses a custom language server for the Odoo framework. If you have the [Pyright extension](https://marketplace.visualstudio.com/items?itemName=ms-pyright.pyright) installed, you should also disable it. Otherwise, you will have multiple language servers running with the same features that waste your system resources.
- The Odoo IDE extension is built on top of [Pyright](https://github.com/microsoft/pyright) so it inherits all features of Pyright.
- Depending on how you structure your projects, the Odoo IDE extension may not be able to resolve odoo imports. You can manually add the Odoo source code and your custom addons paths to the `python.analysis.extraPaths` setting.
- Both the Odoo source code and your custom addons must be added to your VSCode workspace for the Odoo IDE extension to work as expected.
- For a better code completion experience, turn on quick suggestion for `strings` in the `editor.quickSuggestions` setting.## Screenshots
![Model name completion](images/model-name-completion.png)
![Model name navigation](images/model-name-navigation.png)
![Model member completion](images/model-member-completion.png)
![Field name completion](images/field-name-completion.png)
![View field name completion](images/view-field-name-completion.png)
![View groups completion](images/view-groups-completion.png)