Broad range of supported development languages and tools allows to transform software delivery practices.
by Katherine Soohoo, Kendrick Ren
The Db2 Developer Extension is available on Visual Studio Code MarketPlace for VS Code users, but we've also built the extension to run on Eclipse Theia.
The following instructions describe how to download and run Db2 Developer Extension on Theia.
Download the latest Db2 Developer Extension from our release page.
You can run Db2 Developer Extension on Theia by using either of the following methods:
You can build Theia on your development machine and run it on a web server.
package.json
dependencies
"@theia/plugin-ext": "next", "keytar": "^6.0.1",
vscode-builtin-sql
plugins
VSIX
yarn theia start --plugins=local-dir:./plugins
You can build Theia from one of their Docker images and run it in a Docker container. Because Db2 Developer Extension requires additional prerequisites, we recommend creating a Dockerfile to build and run the container.
Dockerfile
mkdir db2devext-docker cd db2devext-docker
FROM theiaide/theia-full:next # Install packages for storing secrets. RUN sudo apt-get update && \ sudo apt-get upgrade -y && \ sudo apt-get install -y gnome-keyring libsecret-1-0 dbus-x11 # Add keytar to Theia installation. RUN sudo yarn add keytar@6.0.1 # Remove built-in SQL extension. RUN rm -rf plugins/vscode-builtin-sql # Copy the Db2 for z/OS Developer Extension to the plugins folder. COPY db2forzosdeveloperextension*.vsix plugins/
docker build -t theia/db2devext .
docker run -it --init -p 3000:3000 theia/db2devext
Copy