Giter VIP home page Giter VIP logo

vscode-odoo's Introduction

Odoo Framework Integration for Visual Studio Code

Boost your productivity and make your life easier as an Odoo developer

Homepage | Issue Tracker

This extension is in the early stages of development. A lot of features are missing compared to the PyCharm plugin for 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.
  2. Install PyDev.Debugger plugin for 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 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 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 settings as described in the import resolution documentation.
  • 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.

Screenshots

Model name completion Model name navigation Model member completion Field name completion View field name completion View groups completion

vscode-odoo's People

Contributors

trinhanhngoc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.