VS Code

New tools for automating end-to-end tests for VS Code extensions

New tools for automating end-to-end tests for VS Code extensions

It is a common practice to test software from the user’s perspective before releasing it. With this assumption, I have set out on a quest to find a VS Code extension with automated end-to-end tests. My quest ended in failure. Naturally, a lazy person like me then asked: “Why would nobody try to automate this?” It turns out that automating this was, in fact, quite difficult.

My quest then became finding a solution that would enable developers to do just the thing. It is my pleasure to announce that no more hours need be wasted on this menial, manual activity. Enter the aptly named vscode-extension-tester: A framework that lets you create automated tests for your VS Code extensions and launch them with ease. All you need is an npm package.

Continue reading “New tools for automating end-to-end tests for VS Code extensions”

Share
OpenShift Connector: Visual Studio Code extension for Red Hat OpenShift

OpenShift Connector: Visual Studio Code extension for Red Hat OpenShift

The new release of Red Hat OpenShift 4.2 has many developer-focused improvements. In that context, we have released a new version of OpenShift Connector 0.1.1, a Visual Studio (VS) Code extension with more improved features for a seamless developer experience. Developers can now focus on higher-level abstractions like their application and components and can drill down deeper to get to the OpenShift and Kubernetes resources that make up their application directly from VS Code.

Let’s take a deep tour of the new features with respect to OpenShift Connector.

Continue reading “OpenShift Connector: Visual Studio Code extension for Red Hat OpenShift”

Share
What’s new in Red Hat Dependency Analytics

What’s new in Red Hat Dependency Analytics

We are excited to announce a new release of Red Hat Dependency Analytics, a solution that enables developers to create better applications by evaluating and adding high-quality open source components, directly from their IDE.

Red Hat Dependency Analytics helps your development team avoid security and licensing issues when building your applications. It plugs into the developer’s IDE, automatically analyzes your software composition, and provides recommendations to address security holes and licensing problems that your team may be missing.

Without further ado, let’s jump into the new capabilities offered in this release. This release includes a new version of the IDE plugin and the server-side analysis service hosted by Red Hat.

Continue reading “What’s new in Red Hat Dependency Analytics”

Share
Sending a telegram with Apache Camel K and Visual Studio Code

Sending a telegram with Apache Camel K and Visual Studio Code

When I was introduced to Apache Camel K a few months ago, I was amazed at how quickly developers could write and deploy an Apache Camel-based integration on Kubernetes. We immediately started work on creating Microsoft Visual Studio (VS) Code-based tools to make things even easier.

What is Camel K? It’s a lightweight integration framework built from Apache Camel and designed for a serverless/microsystem world that runs natively on Kubernetes. It lets developers write integrations in their favorite Camel DSL and quickly deploy them on Kubernetes or Red Hat OpenShift. You can even write your integrations in lightweight languages like Groovy or JavaScript.

We already built language support in VS Code for Apache Camel using the Language Server Protocol (LSP), offering auto-completion for Camel component URIs in both XML and Java. More recently, we began adding the same support for Groovy, JavaScript, YAML, and Kotlin. (See the Apache Camel LSP client project for details.)

Now, with our new Tooling for Apache Camel K by Red Hat extension, we add support for Camel K in your IDE. To illustrate the tools in action, let’s start with a simple user story inspired by an article that Nicola Ferraro wrote a few years ago (Creating a Telegram Bot in 5 minutes with Apache Camel).

Continue reading “Sending a telegram with Apache Camel K and Visual Studio Code”

Share
DevNation Live: 17-million downloads of Visual Studio Code Java extension

DevNation Live: 17-million downloads of Visual Studio Code Java extension

DevNation Live tech talks are hosted by the Red Hat technologists who create our products. These sessions include real solutions and code and sample projects to help you get started. In this talk, you’ll learn about Visual Studio Code from Bob Davis, Principal Product Manager in Red Hat’s Developer Tools Group.

Continue reading “DevNation Live: 17-million downloads of Visual Studio Code Java extension”

Share
At 3.8-million installations, Red Hat extensions help developers with VS Code, Language Servers, and microservices

At 3.8-million installations, Red Hat extensions help developers with VS Code, Language Servers, and microservices

After three years of working on VS Code extensions, my team celebrates 3.8-million installations and more than 20-million downloads—two indicators that we are providing valuable VS Code extensions accepted by fellow developers. We also celebrate that our involvement with Language Server Protocols (LSPs) has helped open source communities of varying sizes to enable a wide selection of IDEs (Integrated Development Environments) and editors that in turn have made these communities stronger. So, how did we get here?

Continue reading “At 3.8-million installations, Red Hat extensions help developers with VS Code, Language Servers, and microservices”

Share
Getting started with the updated VS Code Yeoman extension for Camel projects

Getting started with the updated VS Code Yeoman extension for Camel projects

The Visual Studio (VS) Code IDE is one of the most-used platforms for JavaScript, C#, and Python developers and is quickly becoming one of the top three tooling environments at Red Hat. VS Code is highly customizable and offers a healthy and growing marketplace for extensions of all types and technologies, including an extension for Yeoman. In this article, I’ll explain how to get started using the updated extension that works with latest versions of VS Code.

Continue reading “Getting started with the updated VS Code Yeoman extension for Camel projects”

Share
Using VS Code to develop Spring Boot-based Camel and Red Hat Fuse projects

Using VS Code to develop Spring Boot-based Camel and Red Hat Fuse projects

Developing Apache Camel and Red Hat Fuse applications inside VS Code is improving! In my previous articles, I’ve mentioned that Camel URI completion is available in VS Code for XML and Java DSL. By leveraging several VS Code extensions, it is now possible to have an end-to-end development experience. The Camel tooling currently available in VS Code is primarily targeting Spring Boot– based Camel applications. The tooling covers the development process from creating a Camel project, testing, and debugging it locally, to automatically-rebuilding and redeploying it on your local OpenShift/Kubernetes instance when you make changes.

There are several ways to leverage the VS Code tooling. I will show the process which I believe is the easiest one to get started with.

Continue reading “Using VS Code to develop Spring Boot-based Camel and Red Hat Fuse projects”

Share