NetBeans 12.1, a version that brings few improvements for C / C ++, Java and PHP

apache-netbeans

La Apache Software Foundation Organization unveiled recently the new version of the integrated development environment, «Apache NetBeans 12.1«, This is a version in which some support improvements are added for C / C ++, Java, PHP and HTML.

For those who do not know about this IDE, they should know that provides support for the Java SE, Java EE, PHP, JavaScript, and Groovy programming languages. In addition to its features, there is a project system based on Ant, version control and refactoring.

Main new features of NetBeans 12.1

This new version of the IDE does not come with great changes, but it does improve some aspects for the programming languages ​​it supports.

And it is that in this new version released, limited support for C / C ++ languages ​​added, which is still behind the previously released C / C ++ development plugins for NetBeans IDE 8.2.

For development in C / C ++, support is provided for the simplest projects, allowing you to run compile and run commands, syntax highlighting using TextMate grammars, and debugging using gdb.

As well as the code completion and other editing capabilities they are implemented by accessing the server's CCLS (Language Server Protocol) LSP, which the user must run independently.

Another change that was added was the support for Jakarta EE 8 platform, which replaced Java EE (Java Platform, Enterprise Edition). You can create Jakarta EE 8 projects and modify existing Maven applications to use Jakarta EE 8.

The NetBeans built-in Java compiler nb-javac (modified by javac) It has been translated to use Java 14.

For Java, support for the keyword "Record" has been redesigned to provide a compact way to define classes, avoiding the need to explicitly define various low-level methods like equals (), hashCode (), and toString () in cases where data is stored in fields only.

The behavior of the work with which does not change. A new template has been added to create Java constructs with the keyword "record". Improved "record" code completion support.

For Java SE, Gradle build system support is enabled. Support for generated directories was added and correct work with annotation processors was ensured.

For PHP, new actions have been added to the Composer menu to update the autoloader and run scripts. In the debugger, instead of 0 and 1 in the Boolean values ​​of the variables, false and true are displayed. Improved tools for code analysis.

For HTML, the markup validator component has been updated (validator.jar). Includes support for completing patterns. Added support for code completion and syntax highlighting for constructs such as « ».

For CSS, "Tabs and Indents" formatting options have been proposed to control indentation and the use of tabs or spaces.

At startup, it detects the JDK installed on Linux and macOS using the SDKMAN toolkit.

How to install NetBeans 12.1 on Linux?

For those who want to obtain this new version, they must download the source code of the application which they can obtain from the link below.

Once you have everything installed then, unzip the newly downloaded file into a directory of your liking.

And from the terminal we are going to enter this directory and then execute:

ant

To build the Apache NetBeans IDE. Once built you can run the IDE by typing

./nbbuild/netbeans/bin/netbeans

As well there are other installation methods with which they can be supported, one of them is with the help of Snap packages.

They only need to have the support to be able to install these types of packages on their system. To install by this method, you must type the following command:

sudo snap install netbeans --classic

Another method is with the help of Flatpak packages, so they must have the support to install these packages on their system.

The command to perform the installation is as follows:

flatpak install flathub org.apache.netbeans

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.