Draft: [IMP] t2d: Add support for vscode with devcontainer.json - #169
Closed
antonag32 wants to merge 1 commit into
Closed
Draft: [IMP] t2d: Add support for vscode with devcontainer.json#169antonag32 wants to merge 1 commit into
antonag32 wants to merge 1 commit into
Conversation
antonag32
force-pushed
the
devcontainer-anton
branch
from
October 6, 2022 01:06
67af4cf to
47d822c
Compare
antonag32
force-pushed
the
devcontainer-anton
branch
from
October 6, 2022 01:07
47d822c to
8203f99
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #169 +/- ##
==========================================
+ Coverage 83.33% 83.47% +0.14%
==========================================
Files 7 7
Lines 588 593 +5
Branches 101 102 +1
==========================================
+ Hits 490 495 +5
Misses 69 69
Partials 29 29 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
1 task
Collaborator
|
Superseded by https://github.com/Vauxoo/travis2docker/pull/240/changes |
moylop260
added a commit
that referenced
this pull request
Aug 19, 2026
…son (#240) Opt-in with the DEPLOYV_VSCODE=1 environment variable so vim/terminal users do not pay the extra build time downloading VS Code artifacts: - The Dockerfile pre-installs the VS Code server pinned to the commit of the local 'code' binary (falling back to the latest stable) and the extensions of templates/.vscode/extensions.json at build time, so attaching VS Code to the container does not install anything live - Generate a .devcontainer.json next to the Dockerfile pointing to the image built by 10-build.sh so VS Code offers 'Reopen in Container' Based on the idea of #169 by @antonag32 Related to #158
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.jsonfile vscode automatically gives you the option to reopen in a remote container. With the proposeddevcontaner.jsonthis will open a vscode instance with:pdb.set_trace()🤩 )ir.access.model.csvrecords.More extensions can easily be added, I only use/know of those three for Odoo development.
Odoo source code is also added to
extraPathswhich basically means you canCtrl + Clickon something likefrom odoo import modelsand have a new tab with the source code on it. This also means that function arguments to stuff likesearchare 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.