Skip to content

[IMP] editor_vscode: config from jinja templates#6

Open
Armin-FalDiS wants to merge 4 commits into
odoo-odev:betafrom
Armin-FalDiS:beta
Open

[IMP] editor_vscode: config from jinja templates#6
Armin-FalDiS wants to merge 4 commits into
odoo-odev:betafrom
Armin-FalDiS:beta

Conversation

@Armin-FalDiS

Copy link
Copy Markdown
Contributor

Description

  • Rework the VSCode configuration generation to render the workspace, launch, tasks and jsconfig files from jinja templates instead of building the dictionaries inline
  • Add jsconfig.json for JS/Owl intellisense

Linked Issues

Link the issues that this PR solves, if any:

  • #[issue number or URL]
  • ...

Compliance

  • I have read the contribution guide
  • I made sure the documentation is up-to-date both in doctrings and the docs directory
  • I have added or modified unit tests where necessary
  • I have added new libraries to the requirements.txt file, if any
  • I have incremented the version number according the versioning guide
  • The PR contains my changes only and no other external commit

sea-odoo and others added 4 commits December 22, 2025 11:23
…ev#2)

* [REF] Switch folder to python package (move out plugins of odev path)

* [REF] Remove useless ignore
…doo-odev#3)

Add support for opening a workspace containing only standard modules for a specific Odoo version.

Also add support for other editors sharing the same base as VSCode (i.e.: VSCodium, Antigravity).
)

This commit fixes several issues in the VSCode configuration generation:
- Corrected the template directory lookup path.
- Updated the Python interpreter path to use the actual virtualenv of the Odoo database instead of a generic fallback.
- Switched to Path.write_text for writing JSON configuration files to avoid formatting issues.
- Enabled overwriting of existing .vscode configurations to ensure they stay in sync with database settings.
- Rework the VSCode configuration generation to render the workspace,
launch, tasks and jsconfig files from jinja templates instead of
building the dictionaries inline
- Add jsconfig.json for
JS/Owl intellisense
@Armin-FalDiS

Copy link
Copy Markdown
Contributor Author

main has diverged. We should reset it on beta after merging this.

@brinkflew brinkflew force-pushed the beta branch 2 times, most recently from c394663 to 063ca37 Compare June 12, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants