odoo-ide / vscode-odoo

Visual Studio Code extension for Odoo
https://marketplace.visualstudio.com/items?itemName=trinhanhngoc.vscode-odoo
39 stars 2 forks source link

JS support? #68

Closed Isaachintosh closed 3 months ago

Isaachintosh commented 5 months ago

Is there any way to get the same inheritance visualization for debug or write javascript code using this IDE, with code suggestions, as the same way that occurs today with the python part?

trinhanhngoc commented 5 months ago

Hello @Isaachintosh ,

You can generate jsconfig.json (or tsconfig.json) to activate the built-in JS support. However, many things in the Odoo JS framework do not follow standard JS and are thus not supported. In the future, I will add JS support to the Odoo IDE extension to make VSCode better understand the Odoo JS framework.

Refs: