[Development] Request: devcontainer feature for vscodeext
Alex Shaw
alex.shaw.as at gmail.com
Mon Jan 27 18:07:49 CET 2025
Hello. I recently discovered that Qt has an official plugin (or plugins)
for Visual Studio Code. Is there any interest in adding a Devcontainer
Feature to go with it?
For those who don't know, devcontainers are an open specification for
configuring virtual containers to use as development hosts. GitHub uses
them for their online IDE, Codespaces. Visual Studio Code has an extension
for using them to run a project inside Docker.
To make things reusable, devcontainers have Features, which is a
combination of a shell script run when the container is created and a JSON
file containing the configuration. It even allows specifying recommended
extensions and their settings.
I made a proof of concept here: https://github.com/Symbitic/qt6-devcontainer
You should be able to create a codespace under "Code" and test it. The
feature is under "./.devcontainer/qt6"
There are still some areas it could be improved (takes a long time to
install, no Android/WASM, uses clangd, etc), but it works.
Is anyone interested in seeing this officially added to Qt?
Some additional links:
https://containers.dev/implementors/features-distribution/
https://github.com/devcontainers/feature-starter
https://github.com/devcontainers/features/tree/main/src
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250127/faabfe2b/attachment.htm>
More information about the Development
mailing list