odoo / odoo-ls

Odoo Language Server
Other
54 stars 11 forks source link

Directory structure not compatible #116

Open jwaes opened 8 months ago

jwaes commented 8 months ago

https://github.com/odoo/odoo-ls/blob/96e288d055ecccbe9d08ceb698648c217c50f8c9/server/core/odoo.py#L244

This is only compatible with the 'git' directory structure of odoo ... it is incompatible with for example the nightly source builds where there is only one addons directory (where also 'base' existst among the others) and not an 'addons' and an 'odoo/addons' directory.

At least should be compatible with Odoo own directory structures ...

fda-odoo commented 8 months ago

Hello @jwaes ,

Thank you for your feedback. We are aware than the tool actually works only on git file structure of Odoo. We definitively want to change that of course, and will adress this when our two refactoring are done. The client extension of vscode has been rewritten to be considered as an extension of the Python extension of Microsoft (but sill usable as standalone), and the whole language server is being rewritten in Rust for performance reasons. As soon as these 2 projects are done we will come back to new features and better support of the tool !