GitHub offers powerful tools for developers. One of them is Codepaces, which lets you develop code stored in a GitHub repo online from anywhere using an integrated instance of Visual Studio Code.
This is also the case with 4D projects!
Let’s discover this powerful tool and see a new way of coding!
What are codespaces?
GitHub’s Codespaces allow developers to edit a repository from anywhere.
A Codespace is a container accessible directly from the GitHub repository page or remotely via Visual Studio Code or the Codespaces application.
When you create a Codespace on a GitHub repository, you only have to define which branch of your project you want the Codespace to be connected to. You can then work on the repository in the container. Changes are stored directly in the defined branch.
As a Codespace is an instance of Visual Studio Code running in a container, it’s straightforward to install the 4D-Analyzer extension to benefit from all the coding aids such as code highlighting, suggestions, auto-completion, signature help, and direct access to documentation.
tool4d for GitHub
As we saw in this blog post, 4D-Analyzer automatically downloads and updates the version of the tool4d application you have defined. 4D has released a dedicated version, tool4d, for GitHub to enable this in a Codespace environment.
Note that several Developers can use a codespace simultaneously. This way, everyone can directly update the code!
Let’s see in this video how a GitHub Codespace can be used with a 4D project:
Conclusion
In summary, GitHub’s Codespaces offer seamless development environments, now extended to 4D projects with tool4d for GitHub. Fostering collaborative coding and ensuring efficient project management.