GitHub Codespaces Extensions

lynnlangit

Lynn Langit

Posted on September 3, 2020

GitHub Codespaces Extensions

Tried out setting up a custom GitHub Codespace to launch using two VSCode extensions. The scenario is for learning the bioinformatics WDL language. In my 'learn-wdl' Repo, I have a set of customization files so that my Codespace will include required dependencies (JDK and other files). I customized a MSFT-built Java Codespace for this.

I wanted to add the two available WDL extensions. First I located them, by searching (shown below). I took note of the name of each extension as well.

Alt Text

Then I updated my devcontainer.json file to include those two extension names (shown below) and saved/pushed my updates to this file.

Alt Text

Next I closed the existing Codespace and deleted it. Finally I launched a fresh Codespace for this Repo and voila! My WDL syntax highlighting was installed and working (shown below).

Alt Text

💖 💪 🙅 🚩
lynnlangit
Lynn Langit

Posted on September 3, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related