modulegen: generate code-workspace with json marshal#1551
modulegen: generate code-workspace with json marshal#1551mdelapenya merged 1 commit intotestcontainers:mainfrom mmorel-35:fix-code-workspace
Conversation
✅ Deploy Preview for testcontainers-go ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
mdelapenya
left a comment
There was a problem hiding this comment.
Hi @mmorel-35 I went ahead and pushed a commit simply adding the new file to the module docs: 6e4d7f7
I think this PR LGTM! Thanks again!
|
I still need to get used to seeing the core module at the bottom, but I like the improvement. I guess you forced the commit of the workspace file, right? Oh wait, it could be my own setup, which ignores the |
|
Probably something like that as the .gitignore doesn’t say anything about .vscode. |
mdelapenya
left a comment
There was a problem hiding this comment.
Super tiny change in a name and we are done
Signed-off-by: Matthieu MOREL <[email protected]> Co-Authored-By: Manuel de la Peña <[email protected]>
|
SonarCloud Quality Gate failed.
|
* main: (32 commits) fix: remove wrong example from workspace (testcontainers#1556) chore(deps): bump the all group in /modules/localstack with 1 update (testcontainers#1552) modulegen: generate code-workspace with json marshal (testcontainers#1551) chore(deps): bump the all group in /modules/compose with 2 updates (testcontainers#1553) feat: add mariadb module (testcontainers#1548) feat(modulegen): print out VSCode workspace file if needed (testcontainers#1549) modulegen: generate md file inside internal/mkdocs (testcontainers#1543) modulegen: create internal/module and internal/modfile (testcontainers#1539) [Enhancement]: add ability to set repo:tag for ContainerRequest FromDockerfile (testcontainers#1508) Fix module generator for examples (testcontainers#1545) Update pulsar.md (testcontainers#1542) modulegen: create internal/make (testcontainers#1537) chore: fix workflow (testcontainers#1538) chore(deps): bump the all group in /examples/cockroachdb with 1 update (testcontainers#1522) chore(deps): bump the all group in /examples/bigtable with 1 update (testcontainers#1534) chore(deps): bump the all group in /modules/localstack with 4 updates (testcontainers#1535) chore(deps): bump the all group in /modules/k3s with 2 updates (testcontainers#1526) chore(deps): bump the all group in /examples/spanner with 2 updates (testcontainers#1532) chore(deps): bump the all group in /examples/firestore with 1 update (testcontainers#1523) chore(deps): bump the all group in /modules/redis with 1 update (testcontainers#1524) ...










What does this PR do?
Replaces the template with the marshalling of a Config Object.
The path can be relative so it is relative to the .vs-code folder. As it is platform independant, it can be shared in the project.
Why is it important?
This allows to define multi-root-workspaces in VSCode.
Related issues
I tried it on windows plateform. @mdelapenya if you do have another platform, can you confirm, this works ?