VS Code

Behavior is easy, state is hard: Tame inconsistent state in your Java code

Behavior is easy, state is hard: Tame inconsistent state in your Java code

DevNation Tech Talks are hosted by the Red Hat technologists who create our products. These sessions include real solutions plus code and sample projects to help you get started. In this talk, you’ll learn the root cause of common inconsistent state-related bugs in your production Java code—and how to solve them—from Edson Yanaga and Burr Sutter.

Continue reading Behavior is easy, state is hard: Tame inconsistent state in your Java code

Share
Improved XML grammar binding and more in Red Hat VS Code XML extension 0.13.0

Improved XML grammar binding and more in Red Hat VS Code XML extension 0.13.0

Following closely on the huge 0.12.0 update, the new Red Hat XML extension for Visual Studio Code (VS Code) 0.13.0 release makes XML editing in VS Code even better. For this release, we focused on making it easier to bind and generate a new XML Schema Definition (XSD) or Document Type Definition (DTD) grammar file from an existing XML file. Other highlights include document link support for xsi:schemaLocation, XML catalog snippets, support for XML catalog path validation, and support for DTD SystemId file path completion.

Continue reading Improved XML grammar binding and more in Red Hat VS Code XML extension 0.13.0

Share
Improved schema binding and more in Red Hat XML extension for VS Code 0.12.0 and LemMinX

Improved schema binding and more in Red Hat XML extension for VS Code 0.12.0 and LemMinX

The latest update of the Red Hat XML extension for Visual Studio Code (VS Code), version 0.12.0, is packed with bug fixes and new features. It includes the new version of the underlying Eclipse LemMinX XML language server. In this update, we streamlined the process of writing XML Schema Definitions (XSD) and Document Type Definitions (DTD). We also added shortcuts to bind XML documents to either of these types of XML grammar.

Continue reading Improved schema binding and more in Red Hat XML extension for VS Code 0.12.0 and LemMinX

Share
Red Hat CodeReady Workspaces 2.1: Improved cloud tools bring more languages, better flow

Red Hat CodeReady Workspaces 2.1: Improved cloud tools bring more languages, better flow

We are pleased to announce the release of Red Hat CodeReady Workspaces 2.1. Based on Eclipse Che, its upstream project, CodeReady Workspaces is a Red Hat OpenShift-native developer environment enabling developer teams for cloud-native development.

CodeReady Workspaces 2.1 is available now on OpenShift 3.11 and OpenShift 4.3+.

This new version introduces:

  • Dashboard: A new onboarding flow.
  • Quarkus: A new workspace gets you started with Quarkus.
  • Languages: The addition of .NET Core 3.1, Java 11, and Camel DSL (Apache Camel K).
  • Other: Editor and AirGap improvements.

Continue reading “Red Hat CodeReady Workspaces 2.1: Improved cloud tools bring more languages, better flow”

Share
Deploying projects to Apache Felix, Tomcat, and Karaf in VS Code

Deploying projects to Apache Felix, Tomcat, and Karaf in VS Code

We’re expanding tooling support for containers and servers in different development environments. Our existing VS Code extension, Red Hat Server Connector, only provides functionality for Red Hat servers and runtimes like WildFly, Minishift, Red Hat JBoss Enterprise Application Platform (JBoss EAP), and Red Hat Container Development Kit. In this article, we introduce Red Hat Community Server Connector, the newest addition to our Visual Studio Code (VS Code) extensions.

Community Server Connector makes it easier than ever to deploy, run, debug, and test Open Service Gateway initiative (OSGi), Java EE and Jakarta EE, and other projects targeting diverse servers and runtimes. This new VS Code extension allows you to control Apache Felix, Apache Karaf, and Apache Tomcat with the same user interface (UI) and flexibility that you have in Server Connector. And don’t worry, we’ll continue to enhance Red Hat Server Connector as well.

This article offers a general introduction to Red Hat Server Connector. For a more detailed introduction, see my video demonstration, which includes use cases for Apache Felix, Apache Karaf, and Apache Tomcat.

Continue reading “Deploying projects to Apache Felix, Tomcat, and Karaf in VS Code”

Share
Red Hat XML language server becomes LemMinX, bringing new release and updated VS Code XML extension

Red Hat XML language server becomes LemMinX, bringing new release and updated VS Code XML extension

A new era has begun for Red Hat’s XML language server, which was migrated to the Eclipse Foundation under a new project name: Eclipse LemMinX (a reference to the Lemmings video game). The Eclipse LemMinX project is arguably the most feature-rich XML language server available. Its migration opens more doors for future development and utilization. In addition, shortly after its migration, the Eclipse LemMinX project and Red Hat also released updates: Eclipse LemMinX version 0.11.1 and the Red Hat VS Code XML extension.

Continue reading Red Hat XML language server becomes LemMinX, bringing new release and updated VS Code XML extension

Share
Kogito 0.8.0 features online editors and cloud-native business automation

Kogito 0.8.0 features online editors and cloud-native business automation

Kogito is a cloud-native business automation solution that offers a powerful, developer-friendly experience. Based on production-tested open source projects Drools and jBPM, Kogito has business rules and processes down to a science. Kogito also aligns with popular lightweight runtimes such as Quarkus and Spring Boot to support developers building business-driven applications.

This article is an overview of the new enhancements for Kogito 0.8.0, which was released on March 10, 2020.

Continue reading “Kogito 0.8.0 features online editors and cloud-native business automation”

Share
Introducing 10 new features in Quarkus Tools for Visual Studio Code

Introducing 10 new features in Quarkus Tools for Visual Studio Code

Quarkus Tools for Visual Studio Code version 1.3.0 has been released on the VS Code Marketplace to start off the new year. As Quarkus continues to introduce improvements and new features like application.yaml and server-side templating support, Quarkus Tools for Visual Studio Code continues to evolve to accompany these new features and improvements.

Continue reading Introducing 10 new features in Quarkus Tools for Visual Studio Code

Share
Click-through learning with VS Code and Didact

Click-through learning with VS Code and Didact

The Didact project is designed to fill a void in Visual Studio Code, but what exactly is it? And more importantly, why should you care?

Didact started as a “What if?” VS Code doesn’t provide a great way to walk users through a step-wise tutorial. “What if” we could meet that need by combining the following:

  • A simple markup language (such as Markdown or AsciiDoc).
  • The ability to render the markup as HTML using the VS Code webview.
  • A way to invoke the commands we create for each VS Code extension.

And over the course of a day or so of coding, I had a working prototype.

Continue reading “Click-through learning with VS Code and Didact”

Share