Draft: [IMP] t2d: Add support for vscode with devcontainer.json #169
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #158
This PR adds supports for devcontainers, a really cool option that integrates with vscode and automatically creates development containers.
If everything goes well, when you open a folder with a
.devcontainer.json
file vscode automatically gives you the option to reopen in a remote container. With the proposeddevcontaner.json
this will open a vscode instance with:pdb.set_trace()
🤩 )ir.access.model.csv
records.More extensions can easily be added, I only use/know of those three for Odoo development.
Odoo source code is also added to
extraPaths
which basically means you canCtrl + Click
on something likefrom odoo import models
and have a new tab with the source code on it. This also means that function arguments to stuff likesearch
are suggested now based on Odoo's source code.I am not very familiar with t2d source code so reviews are welcome since I am not sure I am placing the new feature in the correct place.