Intellij idea update

Intellij idea update DEFAULT

What’s New in IntelliJ IDEA 2021.2

IntelliJ IDEA 2021.2 introduces project-wide analysis for Java, new actions that can be triggered when you save changes, a new UI for managing Maven and Gradle dependencies, and other useful updates. For more details on the new feature highlights, you can watch our video overview below or read on!

Key updates

Project-wide analysis for Java projects
Project-wide analysis for Java projects

Project-wide analysis for Java projects

In this release, we’re introducing a new feature for tracking errors throughout the whole project before compilation – project-wide analysis. When you click the dedicated icon in the Problems tool window, you enable a check that is performed on every code change. When the process is over, the IDE displays all the found errors, including those that are detected only by scanning the whole project.

The feature works with small and medium-size projects.

Actions on save
Actions on save

Actions on save

We’ve added a number of actions that will be initiated by saving the project, including reformatting code and optimizing imports. All of them are conveniently gathered together in Preferences / Settings | Tools | Actions on Save. It is easy to configure them from there by ticking the necessary checkboxes. If you’d like to adjust the settings for any action more precisely, simply hover over an action and click the configuration link.

New UI for managing Maven and Gradle dependencies
New UI for managing Maven and Gradle dependencies

New UI for managing Maven and Gradle dependencies

Both IntelliJ IDEA Community Edition and IntelliJ IDEA Ultimate now include Package Search, a powerful new interface to manage your project dependencies. With Package Search, you can find new dependencies, easily add them, and manage existing ones. The new plugin will show you information about each dependency, including whether any updates are available.

We have also added an inspection that lets you apply available updates directly in the editor.

Currently, Package Search works with Maven and Gradle projects. Experimental support for sbt projects is also available with Scala plugin EAP versions. You can read more about it here.

Editor

Updated inspections and quick-fix descriptions

Updated inspections and quick-fix descriptions

Our inspections and quick fixes are not just helpful for coding but also described in detail. The updated descriptions explain what changes the inspections suggest and the reasoning behind them. Some inspections come with usage examples. Check them out in Preferences/Settings | Editor | Inspections.

Diagrams structure view

Diagrams structure view

We’ve made diagrams more informative – they now come with the Structure view containing a map of your diagram with a small preview of the selected block and its neighbors. The new Structure view supports scaling, canvas moving, magnifier mode, layout change, and exporting to an image.

Multiple copyright years
Multiple copyright years

Multiple copyright years

Your project’s copyright notice can now include both the project creation year and the current version year. The updated template that contains both dates is available in Preferences/Settings | Editor | Copyright | Copyright profile.

Improved Markdown support

IntelliJ IDEA 2021.2 brings some helpful updates to its Markdown support. It is possible to convert files from/to different formats (, , ). We’ve also addressed the issues we had with formatting lists, and now Enter, (Shift) Tab, and the Reformat action all work properly. You can change the size of an image, add a description, and drag-and-drop images instead of writing an HTML tag with a file path. And what’s more, the new lightweight toolbar, which has all the most popular actions, will only appear on selection so as not to distract you from important tasks.

User Experience

Quick access to Eclipse projects

Quick access to Eclipse projects

IntelliJ IDEA can detect Eclipse projects stored locally on your machine, and it allows you to open them from the Welcome screen. If it is your first IDE launch, select the Open existing Eclipse projects option. If not, automatically detected Eclipse projects will appear in the dedicated node among the recent projects.

Advanced Settings

Advanced Settings

If you need to configure some use-case-specific options in IntelliJ IDEA, you can do it in the new Advanced Settings node in Preferences/Settings. For example, you can add a left margin in Distraction-free mode or set the caret to move down after you use the Comment with Line Comment action.

Organize tool windows by drag and drop

Organize tool windows by drag and drop

It is now easier to drag and drop a tool window to the desired place within the main IDE window or in a separate window. You can drag it by clicking and holding the tool window name bar and drop it in any highlighted place.

Automatic cache and logs cleanup

Automatic cache and logs cleanup

IntelliJ IDEA automatically cleans up any cache and log directories that were last updated more than 180 days ago. This process doesn’t affect system settings and plugin directories. You can initiate the process manually via Help | Delete Leftover IDE Directories.

Missing plugin notifications

Missing plugin notifications

If your project uses a framework that works in IntelliJ IDEA via a plugin, the IDE will notify you and offer to enable it directly from this notification.

New navigation option in Preferences/Settings

New navigation option in Preferences/Settings

We’ve simplified navigation in Preferences/Settings by adding arrows to the top right-hand corner of the window. They allow you to quickly jump back and forth between the sections you’ve opened.

Update notifications from the Toolbox App

Update notifications from the Toolbox App

When any product updates appear in the Toolbox App, your IDE will inform you. If there is a new version available for download, you’ll be able to upgrade to it right from IntelliJ IDEA. Toolbox App 1.20.8804 or later is required to use this feature.

Quick access to Power Save mode

Quick access to Power Save mode

IntelliJ IDEA has a Power Save mode to help you extend the battery life on your laptop. To make this mode easier to access, we’ve made it possible to manage it from the status bar. Right-click on the status bar and select Power Save Mode – you’ll see a new icon appear in the bottom right corner of the IDE. Click on this icon whenever you want to turn the mode on or off.

Accessibility updates

IntelliJ IDEA 2021.2 includes a number of helpful updates for coding with the enabled screen reader mode on macOS. We’ve voiced available suggestions for code completion, the content of the selected combo box and combo box lists, and the results of your queries in Search Everywhere.

Improved UI responsiveness

We continue to look into better UI responsiveness and reducing unexpected freezes. In this release, we’ve managed to avoid UI blocks when using context menus, popups, and toolbars. We’ve also moved certain operations that require indices off the UI thread, which should help prevent freezes in other situations.

Java

Visibility-based color settings

Visibility-based color settings

It is now easier to distinguish between public, protected, and private Java members (methods, fields, and classes) as you can configure the color settings for them in Preferences/Settings | Editor | Color Scheme by unfolding the Visibility node.

New JavaFX project wizard

New JavaFX project wizard

Configuring a new JavaFX project just got easier. In just two steps, you can add a project SDK, language, desired build system, test framework, and one or several frequently used libraries, which come with short descriptions.

New Inspections

We’ve added a range of new inspections to address particular use cases in Data Flow Analysis. For example, there are inspections to track a floating-point range or a collection size on update methods. The new Write-only object inspection warns you when you modify an object but never query it for some custom classes defined in your project and the standard library.

To learn more about other new and improved inspections, read our blog post.

Kotlin

Automatic ML-completion

Automatic ML-completion

Starting from v2021.2, Kotlin code completion works based on the machine learning mechanism by default. Code suggestions are prioritized more carefully as the IDE relies on the choices of thousands of real users in similar situations. You can configure ML-assisted completion in Preferences/Settings | Editor | Code Completion.

Run tests before code analysis finishes

Run tests before code analysis finishes

Previously you had to wait for code analysis to finish before you could start running your tests. In the current version, you can launch tests immediately after opening the file by clicking the Run test icon in the gutter.

Debugger updates

Debugger updates

We’ve introduced some useful improvements and updates to our coroutine agent in the debugger. The coroutines agent is now available via the Coroutines tab in the Debug tool window. It works for Java run configurations with a dependency on kotlinx.coroutines, and Spring and Maven run configurations.

We’ve also fixed an issue when local variables were not used after passing a suspension point and disappeared in the Variables view of the Debugger tool window.

More room for action during indexing

More room for action during indexing

Don’t waste another minute! While the IDE is indexing a project you can run and debug your application. The buttons associated with Run/Debug Configuration are active during indexing.

Kotlin support for WSL 2 and Run Targets

Kotlin support for WSL 2 and Run Targets

In IntelliJ IDEA 2021.1, we’ve introduced WSL 2 support and the Run Targets feature. In v.2021.2, you can use these features for Kotlin.

Inspection to simplify call chain on collection type

Inspection to simplify call chain on collection type

In this release, we’ve added a useful inspection that helps you simplify the syntax and combine several calls into one when calling methods in a chain inside a collection.

Intention action for buildString conversion

Intention action for buildString conversion

In previous versions, you manually typed buildString to customize your code. Our new intention action allows you to apply it automatically in just two clicks.

Scala

Better Scala 3 support

Better Scala 3 support

The main focus of this release has been Scala 3 support, which has been significantly improved. Indexing is now fast, precise, and version-agnostic. You can now create both sbt and .idea-based Scala 3 projects, as well as Scala 3 SDKs, normally. The editor can handle significant indentation better. We've supported Scala 3 constructs in Scala 2 projects (). There are improvements in the debugger, formatter, REPL, auto-import, enums, extension methods, and many others! (That said, please keep in mind Scala 3 support is still a work in progress and not yet perfect.)

Compiler-based highlighting

Compiler-based highlighting

As is customary in the IntelliJ Platform, the Scala plugin has built-in error highlighting. It's fast, lightweight, and supports all the standard IntelliJ IDEA features. However, because the Scala type system is so complex, the algorithm can sometimes report false errors. Although we're constantly working on improving the implementation, the ability to use the Scala compiler for error highlighting may come in useful in some code bases. Please note that, even though the compiler-based approach is more precise, it is slower, requires more resources, and doesn't support features such as type diffs, quick-fixes, and inspections. So unless there are lots of false errors in the code, the built-in error highlighting is recommended.

JavaScript

Reload pages in browser on save

Reload pages in browser on save

IntelliJ IDEA lets you preview HTML files in a browser using the built-in web server. Now, it will automatically update the pages in a browser as you edit and save your HTML, CSS, and JavaScript files. To get started, open an HTML file in the editor, hover over it, and click on the icon for the browser you want to use – all browsers are supported.

Rename refactoring for React useState hooks

Rename refactoring for React useState hooks

You will no longer need to waste time on refactoring useState values and functions one by one – IntelliJ IDEA can now rename both for you! Place the caret on a state value and press or go to Refactor | Rename from the right-click context menu.

Auto-import for require()

Auto-import for

Did you know that your IDE can add missing import statements as you complete ES6 symbols? Now it can do the same for CommonJS modules – require imports will be inserted on code completion.

Profiler

Support for Async profiler on Windows and Apple M1

Support for Async profiler on Windows and Apple M1

Async Profiler is the profiling tool of choice for many developers because of its accuracy and reliability. IntelliJ IDEA now fully supports the profiler on Windows and Apple M1, in addition to Linux and non-M1 macOS, which means you can now use it in most environments.

Support for Async profiler 2.0
Support for Async profiler 2.0

Support for Async profiler 2.0

IntelliJ IDEA has support for Async Profiler 2.0. It works via the new Async Profiler configuration, combining the power of the CPU and Allocation profilers. In the Flame Graph, Call Tree, and Method List tabs, the new Show dropdown list lets you choose whether you want to be shown CPU samples or memory allocations. The Timeline displays both of them. You can filter what to show by using the controller in the top right-hand corner.

Support for a sunburst diagram

Support for a sunburst diagram

In IntelliJ IDEA 2021.2, when you double-click an item on the Classes tab, the Retained Objects tab shows data for the selected item in the form of a sunburst diagram. If you are more used to analyzing data displayed in a tree, you can now find it in the Dominator Tree tab.

Build tools

JLink artifacts

JLink artifacts

If you want to create a custom JDK that contains only the modules and dependencies you need when working on a Jigsaw project, you can add new JLink artifacts to your project in the Project structure window.

Redesigned Gradle configurations

Redesigned Gradle configurations

We’ve reworked the UI of the Gradle Run/Debug Configurations. The basic parameters are now conveniently grouped in one screen. You can add more options based on your needs.

Faster indexing for projects in WSL 2

For project files stored in WSL 2, we use a daemon that transfers the content of the files between Linux and Windows via a socket. This allows us to increase the indexing speed, as it depends on how fast the IDE reads the file content.

Depending on the language you use, the speed increase may vary. For example, for JS-like languages, indexing now takes a third of the time.

Ant support in WSL 2

It is possible to execute Ant tasks in WSL 2.

Version control

Changes to pre-commit checks
Changes to pre-commit checks

Changes to pre-commit checks

In v2021.2, we’ve expanded the list of possible pre-commit actions with the ability to execute tests. When you tick the Run Tests checkbox in the Before Commit section, your IDE will test the applied changes and notify you if anything goes wrong.

We’ve also added the ability to customize the Analyze code and Cleanup options by clicking Choose profile next to them.

The progress and results of all the pre-commit checks appear in the Commit area, without disturbing you with additional modal windows.

GPG signature

GPG signature

IntelliJ IDEA 2021.2 offers a way to secure your commits by enabling Git commit signing with GPG. To do this, go to Preferences/Settings | Version Control | Git, click Configure GPG Key, and then select it from the drop-down list. If you’re using a GPG key for the first time, you’ll need to configure it.

Changes instead of Default Changelists in new projects

Changes instead of Default Changelists in new projects

We will no longer use Default changelists as the name for the node that stores uncommitted changes in new projects. Starting from version 2021.2, it is called Changes. Additionally, Git operations will no longer trigger automatic creation of changelists.

Unified Show Diff

Unified Show Diff

IntelliJ IDEA displays the difference between the initial and changed files in the editor by default, no matter where you’ve invoked the Show Diff action. If tracking changes in a separate window is more convenient to you, just drag the desired file from the editor.

Support for a sunburst diagram

Text search in Local History revisions

You can quickly find the necessary text in the Local History revisions by typing the query in the search field in the Local History dialog.

Terminal

New Terminal options

New Terminal options

The in-built terminal now allows you to select the cursor shape. It also offers support for Use Option as Meta key, which lets the () key on the keyboard act as a meta modifier that can be used in combination with other keys. For example, you can use the following shortcuts:

  • – go to the next word
  • – go back a word
  • – delete the next word

Debugger

Preview Tab now works in Debugger

Preview Tab now works in Debugger

Previously when you stopped at a breakpoint, stepped through the code, navigated between frames, or used the "prev/next frame" actions, the IDE opened the files in multiple tabs. In v2021.2, you can enable the preview tab feature for Debugger in Settings/Preferences | General | Editor Tabs. If it is on, these files will open successively in one tab.

Frameworks & Technologies

Microservices diagram

IntelliJ IDEA lets you display microservice interactions in a diagram, which you can build by clicking the respective icon in the Endpoints tools window. This new diagram offers the option to track which client calls a particular service and navigate to this call in your code. To do so, just click on an arrow that connects the blocks in the diagram.

The diagram is available in Java and Kotlin projects if you use Spring, Micronaut, Quarkus, or Helidon.

Automatic migration from Java EE to Jakarta EE

Automatic migration from Java EE to Jakarta EE

The new Migrate... refactoring helps quickly and painlessly migrate a project or module from Java EE to Jakarta EE. After you initiate it, the Refactoring Preview shows all the found usages of Java EE imports. You can then check through and finalize the process.

Automatic download of shared indexes for new Spring Boot projects

Automatic download of shared indexes for new Spring Boot projects

When you create a new Spring Initializer project, the IDE will download shared indexes automatically, reducing indexing time and speeding up IDE startup. The checkbox that turns this feature on is located on the second screen of the New Project wizard. Please note it won’t work if you have disabled Shared Indexes in Settings/Preferences | Shared Indexes.

Support for JPA Entity Graph

Support for JPA Entity Graph

In this version, we’ve introduced support for an Entity Graph which you can define with the annotation. Your IDE allows you to specify a unique name and the attributes () for this annotation using code completion, error detection, and navigation to the related entity by clicking on an attribute.

Support for cache annotations in Micronaut and Quarkus

Support for cache annotations in Micronaut and Quarkus

Cache annotations for Micronaut and Quarkus are now supported in the IDE. We’ve added gutter navigation between cache name usages, as well as the ability to use Find usages and the Rename refactoring for cache identifiers.

Better microservice navigation support in JavaScript and TypeScript
Better microservice navigation support in JavaScript and TypeScript
Better microservice navigation support in JavaScript and TypeScript

Better microservice navigation support in JavaScript and TypeScript

URL navigation in JavaScript and TypeScript has been significantly improved. For client-side code (for Angular or Axios), URL references have been added for the $http service and HttpClient request method calls, and URL completion works based on available server-side frameworks and OpenAPI specifications. For server-side, Express users can see Route handlers in the Endpoints tool window and search for Express route declarations via Navigate | URL Mapping.

gRPC endpoints displayed in the Endpoints tool window

gRPC endpoints displayed in the Endpoints tool window

In this version, we’ve added support for yet another framework – gRPC. We are planning to introduce more features for working with it. For now, it is possible to see the gRPC endpoints in the Endpoints tool window. Stay tuned for more updates!

Ktor integration

Ktor, a web application framework for creating connected systems, is bundled with IntelliJ IDEA Ultimate. Right from the welcome screen, you can create a new Ktor project for developing server-side or client-side applications and configure the basic project settings and various features supported by Ktor.

Protocol Buffers plugin maintained by JetBrains

The Protocol Buffers plugin is bundled with IntelliJ IDEA Ultimate, and the JetBrains team fully maintains it. If you are using IntelliJ IDEA Community Edition, you can still download and install Protocol Buffers via Preferences/Settings | Plugins | Marketplace.

Docker

Work with Docker via SSH

Work with Docker via SSH

It is possible to connect to Docker via SSH. To configure an SSH connection, go to Preferences / Settings | Build, Execution, Deployment | Docker, click the On SSH machine radio button, click , and then enter the SSH connection parameters in the window that appears.

Services synchronization

Services synchronization

It is possible to display Docker Compose applications in the Services tool window even if they are not running. To do this, just click the cycle arrows icon in the editor window.

New icons for service states

New icons for service states

We’ve implemented new icons for the different states of your Docker Compose services. To get accustomed to them, you can read the tooltips that appear when you hover over each icon.

Improved logs
Improved logs

Improved logs

We’ve implemented some changes to the Docker Compose logs. Every service node features a log, and the container logs include the option to show timestamps and previous sessions. You can disable these options in Preferences/Settings | Build, Execution, Deployment | Docker | Console by unticking the Fold previous sessions in the Log console checkbox.

More options in Run/Debug Configurations

More options in Run/Debug Configurations

Additional options for Docker Compose are now available in Run/Debug Configurations. You can Enable BuildKit, Enable compatibility mode, and Specify project name when you click Modify options. When you name your project, you can call it whatever you want, and it won’t inherit its name from the folder that the Docker Compose application is located in by default.

New actions for containers
New actions for containers

New actions for containers

Managing your Docker containers is now even easier thanks to the new buttons that allow you to start, pause, unpause, and restart your containers. In addition to this, you can apply the actions to several containers at once!

Smart way to delete images

Smart way to delete images

When you delete Docker images with dependencies, you can specify which dependencies you want to get rid of and which should stay.

New Networks and Volumes nodes

New Networks and Volumes nodes

We’ve added two new nodes to the Services tool window: Networks and Volumes. The first node contains all the networks that are not related to the Docker Compose application. The second includes all the Docker Volumes. It is easy to delete volumes in the same way as you would images, as described in the section above.

Support for version 3 of Docker Compose

Support for version 3 of Docker Compose

We’ve added support for version 3 of the Docker Compose file format. As a result, IntelliJ IDEA now correctly validates the options available in v3, and code completion works for them.

Kubernetes

Support for alias in Helm chart dependencies

Support for alias in Helm chart dependencies

In IntelliJ IDEA 2021.2, you can use the alias field that belongs to the dependencies section in Chart.yaml (api v2) or in requirements.yaml (api v1). This field states an alternative name of the current dependency. You may need to use alias if an existing dependency is used several times and you want to distinguish between these usages. In addition, if the chart name uses symbols not applicable in GoTemplate identifiers, alias can also help you fix it.

Custom namespaces

Sometimes when you work with a Kubernetes cluster, you will be granted access to particular namespaces, but you won’t receive the list of all of the cluster namespaces. In this case, you can now specify the list of available namespaces in Preferences / Settings | Tools | Kubernetes.

Favorite namespaces

We have made it easier to manage multiple namespaces and quickly find the ones you need the most. It is now possible to mark your favorite namespaces with a star. They will then appear at the top of the list, while the remaining namespaces will be sorted alphabetically.

Database tools

DDL data source

It is now possible to generate a DDL data source based on a real one. The DDL files will be created on the disk and the new data source will be based on them. That way you’ll always be able to regenerate these files and refresh the DDL data source. Step-by-step instructions on how to apply this feature are available in our blog post.

Managing the popping up of Services tool window

Managing the popping up of Services tool window

When a query returns no data, there’s no need for the Services tool window to appear if it was hidden already. Now you can define which operations make the Services tool window appear on your own in Preferences / Settings | Tools | Database | General.

Completion of fields and operators

Completion of fields and operators

Code completion now works for various types of fields and operators in the MongoDB console. For more detailed information, read the blog post.

QA tools

Custom namespaces

Generate Test Data

Being able to insert a random email, name, or phone number is important when developing unit tests. As a part of our Test Automation Kit, the new Test Data plugin brings a lot of useful actions that can help you generate random data. Use the Generate menu () to see all available options. If you need a specific format, you can always create your own custom data format based on regular expression or Velocity templates. All custom data types are available in bulk mode and can be shared within your team.

Space integration

Space job statuses in the Git log

Space job statuses in the Git log

It is easy to track a job’s progress by just looking at the commits list, as we’ve introduced icons for Space job statuses in the Log tab of the Git tool window. If you click on an icon, the IDE will open a popup with the automation info for that job.

If you don’t need the status information, click the eye icon above the log and select Show Columns | Space Automation.

Mention teammates

Mention teammates

It is now more convenient to communicate with teammates in Space code reviews, as you can mention them with @ followed by the colleague’s name. This minor but helpful feature works in the timeline and in code comments.

Branch display in code reviews

Branch display in code reviews

Your IDE can now show related branches in the selected code review. You can see the list of branches that contain the commits made while working on the current issue in the Details tab.

Collaborative development

Synchronized code completion

Synchronized code completion

You can now understand the logic behind your teammate’s actions even more precisely, as you’ll see what code completion suggestions the person you are following uses. This feature works when you are in Following mode during your Code With Me session.

Undo your actions

Undo your actions

IntelliJ IDEA 2021.2 features a re-worked undo functionality that significantly improves the collaborative programming experience. The revamped undo logic enables both guests and the host to reverse their individual changes in the code. This means that upgrading to the 2021.2 version will allow you to avoid unpleasant situations where one developer accidentally deletes changes made by their peers. This improvement is particularly useful in pair and mob programming scenarios.

Share any screen during a collaborative session

Share any screen during a collaborative session

One of the most eagerly-awaited features, screen sharing, is finally here. In v2021.2, participants can share an application window from their computer screen, not just your JetBrains IDE, to help participants collaborate better.

Forward ports to your pair programming peers

Forward ports to your pair programming peers

The ability to share specific open ports with participants via an integrated proxy, is now available in IntelliJ IDEA 2021.2! So, if a host runs applications on a specific port, the guests can access it via a local host on their machine.

Other

Localized UI in Chinese, Japanese, and Korean

Starting with this version, you can enjoy the fully localized IntelliJ IDEA UI in Chinese, Korean, and Japanese. Localization is available as a non-bundled language pack plugin, which can be easily installed in your IDE. More than 1.5 million users have started using the partially localized EAP version of our language packs. Now you can enjoy the full localization experience!

Android plugin update

The Android plugin was upgraded to v4.2.0.

Unbundled plugins

After analyzing how often you use several plugins, we decided to unbundle some of them, including Resource Bundle Editor, Drools, JSP Debugger Support, CoffeeScript, Spring Web Flow, Spring OSGI, Arquillian, AspectJ, Guice, Helidon, Emma, and EJB. If you still need any of these plugins, please install them manually from JetBrains Marketplace.

Sours: https://www.jetbrains.com/idea/whatsnew/

IntelliJ IDEA 2021.1.3 Is Available

BugfixIntelliJ IDEAReleases

Our third bug-fix update – IntelliJ IDEA 2021.1.3 – is here! You can get the latest build from inside the IDE, with the Toolbox App, or using snaps for Ubuntu. It is also available for download from our website.

Here are the most notable fixes available in v2021.1.3:

  • JBR 11 was updated to 11.0.11-b1341.60.
  • Fixed the error that appears when you click Download sources for Maven projects. [IDEA-247792]
  • Fixed the problems behind several UI freezes. [JBR-2755]
  • Ctrl+Shift+Arrow keys works for text selection as it should. [IDEA-267294]
  • The IDE loads resource files in a Gradle project with module-info.java. [IDEA-197469]
  • It is now possible to work with KWallet without errors. [IDEA-261634]
  • Fixed the infinite indexing issue. [IDEA-266989]
  • Fixed an error that occurred when trying to display jpg, png, and svg images in a quick doc. [IDEA-256001]
  • The IDE no longer shows update notifications from disabled plugins. [IDEA-267878]
  • Fixed an unexpected closure of the Compare with branch dialog. [IDEA-251381]
  • Fixed the system error that occurred when trying to run GoLand on Windows. [IDEA-270705]

For the complete list of addressed issues, see the release notes. If you have encountered any problems that this release doesn’t solve, please report them to our issue tracker.

Happy developing!

IntelliJ IDEA Quantified 628% ROI Read the Study!
Sours: https://blog.jetbrains.com/idea/2021/06/intellij-idea-2021-1-3/
  1. Resin japanese figurines
  2. Unreal gold mod
  3. Gold n64
  4. Sweco electric

Update IntelliJ IDEA

By default, IntelliJ IDEA is configured to check for updates automatically and notify you when a new version is available. Updates are usually patch-based: they are applied to the existing installation and only require you to restart the IDE. However, sometimes patch updates are not available, and a new version of IntelliJ IDEA must be installed.

When IntelliJ IDEA updates to a new major release, it opens the What's New in IntelliJ IDEA tab in the editor with information about the changes, improvements, and fixes. To open this tab manually, select .

If IntelliJ IDEA does not have HTTP access outside your local network, it will not be able to check for updates and apply patches. In this case, you have to download new versions of the IDE and install them manually as described in Standalone installation.

Toolbox App

If you installed IntelliJ IDEA using the Toolbox App, it will suggest you to update the IDE when a new version is available.

Automatically update all managed tools

  1. Open the Toolbox App and click The screw nut icon in the top right corner.

  2. In the Toolbox App Settings dialog, expand Tools and select Update all tools automatically.

If you disable this option, you will need to click Update next to any instance when a newer version comes out.

You can also configure the update policy for every managed IDE instance separately.

Configure the update policy for a specific instance

  1. Open the Toolbox App, click The three dots icon next to the relevant IDE instance, and select Settings.

  2. In the instance settings dialog, select the update channel to use for this IDE instance:

    • Update to Release: Update only to stable releases that are recommended for production.

    • To Release and Early Access Program: Includes updates to release candidates, beta releases, and EAP builds, which are not recommended for production and include feature previews.

Standalone instance

If you installed IntelliJ IDEA manually, the standalone IDE instance will manage its own updates. It will notify you when a new version is available. You can choose to update the current instance, download and install the new version as a separate instance, postpone the notification, or ignore the update entirely.

Platform and Plugin Updates

Configure the update policy

To manage the IntelliJ IDEA update policy, open Settings/Preferences and select .

If the IDE instance is managed by the Toolbox App, these settings will affect only plugin updates.

The Updates page contains the following settings:

ItemDescription
Check IDE updates for

Select whether you want IntelliJ IDEA to check for updates automatically and choose an update channel.

  • Early Access Program: Provides all updates, including major version EAP builds and minor version Preview builds. This channel is not recommended for production development.

    IntelliJ IDEA can be updated only to a minor Preview version, but not to a major EAP build. For example, you can update IntelliJ IDEA to , but not to . The version in this case will be installed as an additional instance.

    EAP versions can be updated to both newer EAP and stable IntelliJ IDEA versions. If an EAP version is updated to a stable version at some point, the name of the original installation directory does not change.

  • Beta Releases or Public Previews: Includes stable releases, release candidates, and beta releases. Some updates in this channel may contain minor bugs and feature previews.

  • Stable Releases: Includes only stable releases that are recommended for production.

You can choose the update channel only if you are using a stable version. For EAP builds, the channel is always set to Early Access Program.

Check for plugin updates

Select whether you want IntelliJ IDEA to check for new versions of plugins automatically.

Check for Updates

Check for updates immediately.

Alternatively, from the main menu, select on Windows or Linux, or on macOS.

Manage ignored updates

Show the list of updates that were ignored. These updates will not be suggested until you remove them from the list of ignored updates.

If you remove several updates from the ignored list, only the most recent will be offered for download when you check for updates.

Show What's New in the editor after an IDE updateOpen a tab with information about new features and improvements after a major IDE update.

Snap package

If you installed IntelliJ IDEA as a snap package, it will manage updates automatically. All snaps are updated automatically in the background every day. You can also get the latest version of all snaps manually at any time by running the following command:

sudo snap refresh

Or if you want to update only the IntelliJ IDEA snap:

sudo snap refresh intellij-idea-ultimate

sudo snap refresh intellij-idea-educational

sudo snap refresh intellij-idea-community

Last modified: 14 October 2021

Register IntelliJ IDEAUninstall IntelliJ IDEA

Sours: https://www.jetbrains.com/help/idea/update.html
IntelliJ IDEA Tips and Tricks 2021. By Hadi Hariri (2021)

Update applications on application servers

When running or debugging an application, you can modify the source code and see the result of your changes without restarting the server. Depending on the type of artifacts and run configuration, this can either involve simple updates of resources and classes or rebuilding and redeploying the artifacts.

Configure the application update options

If you have an application server run configuration, you can specify what it should do when you initiate an update.

  1. From the main menu, select .

  2. Open the application server run configuration.

  3. Configure the following options:

    • On 'Update' action: Select what to do when you initiate an update.

    • Show dialog: Show a dialog with available options when you initiate an update. If this is disabled, IntelliJ IDEA will use the selected option without a dialog.

    • On frame deactivation: Select what to do when you switch from IntelliJ IDEA to a different application (for example, to a web browser).

The available update options depend on the type of artifacts (exploded or archived) and on the type of the run configuration (local or remote).

OptionDescriptionAvailable for
Update resourcesUpdate all changed resources, such as HTML, JSP, JavaScript, CSS and images.Exploded artifacts in local application server run configurations
Update classes and resources

Update all changed resources and recompile all changed Java classes (EJBs, servlets, and so on).

When debugging, IntelliJ IDEA will deploy and reload updated classes. For more information, see Reload modified classes. Otherwise, when running the application regularly, IntelliJ IDEA will only update the changed classes in the output folder. Whether it will deploy and reload such classes in the running application, depends on the capabilities of the Java runtime that you are using.

Exploded artifacts in local application server run configurations
Hot swap classesWhen debugging, IntelliJ IDEA will deploy and reload updated classes. For more information, see Reload modified classes. This option is not available for regularly running applications.Archived artifacts in local application server run configurations and both exploded and archived artifacts in remote configurations.
RedeployRebuild and redeploy the application artifacts without restarting the server. The operation may be time-consuming.Exploded and archived artifacts in local and remote application server run configurations
Restart serverRestart the application server, rebuild and redeploy the artifacts. The operation may be very time-consuming.Exploded and archived artifacts in local application server run configurations

Update a running application

When you launch the application server run configuration and it successfully deploys and runs the application, you can modify the code and update your application in one of the following ways:

  • Press .

  • From the main menu, select .

  • Click the Update Application button in the Run or Debug tool window.

If the necessary update option is associated with frame deactivation, the application will update automatically when you switch from IntelliJ IDEA to a different application (for example, a web browser).

Last modified: 27 August 2021

Application server run configurationsCloud platforms

Sours: https://www.jetbrains.com/help/idea/updating-applications-on-application-servers.html

Idea update intellij

Update info tab

This tab is available when local information is synchronized with the server (VCS | Update Project). The Commits area shows a list of all commits performed since you last synced with the remote.

If you want to see a full list of all files modified since the last update, position the caret anywhere in the list of commits and press . You can disable grouping to see a flat list: click Group By on the toolbar in the Changed Files pane.

Toolbar

ItemTooltip and ShortcutDescription
FilterN/AUse this field to search through the list of commits. You can enter full commit names or messages or their fragments, revision numbers, or regular expressions. To finalize the search, press or move the focus away from the search field.

You can quickly switch the focus to the search field by pressing .

FindN/AClick to display previous search patterns.
the Clear iconN/AClick to clear the search and return to the full list of commits.
the Gear iconText Filter SettingsClick to select from the following options:
  • Regex: anything you type in the search field is treated as a regular expression, for example, .

  • Match Case: only entries with the matching case count.

BranchN/AUse this drop-down to filter commits by branch or favorite branches. If you want to see commits from all local and remote branches, select All.
UserN/AUse this list to filter commits by author. To view all commits by a specific author, click Select and start typing the author's name. To view commits by all users, select All.
DateN/AUse this list commits by a time-frame or a specific date. To view commits made on a specific date, click Select and specify the date. To view commits made on all dates, select All.
PathsN/AUse this list commits by the folder (for projects that have one root), or by the root and folder (for multi-rooted projects). To view commits to a specific folder, click Select Folders and specify the folder name. For multi-repository projects, you can also select the checkbox next to one or several roots in the Roots section.
the Refresh icon

Refresh

Click this button to refresh the list of commits.
the Cherry-Pick buttonCherry-pickClick to apply changes from the selected commit to the current branch.

This button is disabled if the selected commit is already contained in the current branch.

the IntelliSort buttonIntelliSortIf this option is enabled, you get a more convenient way to view merges by displaying incoming commits first, directly below the merge commit.
the Eye iconPresentation SettingsClick to invoke the list of options that let you configure how data is presented in the Log tab of the Version Control tool window
  • Compact References View: if this option is enabled, branch references for a single commit are displayed in a collapsed view: Compact references view

    If you want to expand each branch reference on a line, deselect this option: Expanded references view

  • Show Tag Names: enable this option if you want tag names to be displayed in addition to the tag icon:
    the tag name

    If this option is disabled, you can still view a tag name by hovering the mouse over the tag icon.

  • Show Long Edges: if this option is enabled, long branches are displayed in full, even if there are no commits in them. If this option is disabled (by default), long branches are replaced with a down arrow.

  • Collapse Linear Branches: enable this option to collapse all branches on the graph so that a dotted line is shown instead of successive commits.

    It is also possible to collapse an individual expanded branch by clicking it.

  • Expand Linear Branches: enable this option to expand all collapsed branches to show successive commits on the graph.

    It is also possible to expand an individual collapsed branch by clicking it.

  • Highlight: select if you want to highlight the following:
    • My Commits: bold font

    • Merge Commits: greyed out

    • Current Branch: blue background

    • Non-Picked Commits: greyed out (only available for Git). Non-picked commits are commits from the selected branch that have not yet been applied to the current branch.

Show columnsSelect which columns you want to see: author, date, and hash.
the Open Another Log Tab iconOpen Another Log TabClick to open a new log tab matching your filters, so that you don't have to set filters back and forth.
the Search icon

Go to Hash/Branch/Tag

Click this button and specify a hash, tag or branch you want to jump to.
Search by hash or branch/tag name
You can select a reference with the same name from different repositories. The name of each repository is displayed on the right along with its color indicator.

Select Favorites to view commits in all branches marked as favorites.

Changed files pane

This pane shows a list of files that were modified within the currently selected commit.

If you want to see a full list of all files modified since the last update, position the caret anywhere in the list of commits and press . You can disable grouping to see a flat list: click Group By on the toolbar in the Changed Files pane.

Changed files pane toolbar

ItemTooltip and ShortcutDescription
the Show Diff icon

Show Diff

Open the Differences viewer for files where you can compare the local version of the selected file with its repository version.
the Revert buttonRevert Selected Changesroll back the changes in the selected file.
the History Up to Here buttonHistory Up to HereOpen the History tab for the selected file that lets you explore the history of all file revisions.
the Group by buttonGroup ByChoose how you want to group modified files: by directory and/or module.
Icons general filterFilter ByChoose if you want to hide the following from the log:
  • Hide files moved without changes: these are files that were moved from another location, but their content remained intact.

  • Hide files with non-important changes: these are files where changes were made only within import statements, or only affected formatting.

Configure layoutConfigure LayoutChoose the following options:
  • Show Details: show the Commit details pane.

  • Show Diff Preview: open the Preview Diff pane where you can explore the differences between the selected modified file and its repository version.

the Expand All buttonthe Collapse All button

Expand All/Collapse All

Click this button to expand/collapse all nodes.

Note that these buttons are only available only when tree-view is enabled.

ItemDescription
Show Diff Click to open the Differences viewer for files where you can compare the current and the previous revision of the selected file.
Compare with LocalCompare the revision of the file in the selected commit with its current local version.
Compare Before with LocalCompare the reversion of the file before the selected commit with its current local revision.
Edit Source Open the local copy of the selected file for editing.
Open Repository VersionClick to open the repository version of the selected file for editing.
Revert Selected ChangesClick to roll back the changes in the selected file. This option is useful, when you only need to revert specific files instead of discarding an entire commit. Changes that revert the selected file will be placed in the active changelist.
Cherry-Pick Selected ChangesClick to apply the selected changes to the current branch.
History Up to HereOpen the History tab for the selected file that lets you explore the history of all file revisions.
Show Changes to ParentsDisplay changes to both parents for a merge commit to review merge results, and see how exactly conflicts were resolved during a merge.

Commit Details

This area is displayed when the Show Detailsthe Show Details button option is enabled.

This area shows the details on the commit selected in the commits list, such as the commit message, hash, author, the link to the author's email, date, time, root and branches.

If the selected commit is contained in more than six branches, only the first six are displayed and the Show All link appears that you can click to expand a complete list of branches.

If a commit message references another commit, you can click this commit's hash to jump to it in the log.

Last modified: 14 September 2021

Shelf tabMQ: 'project_name' Tab

Sours: https://www.jetbrains.com/help/idea/version-control-tool-window-update-info-tab.html
IntelliJ IDEA Tips and Tricks 2021. By Hadi Hariri (2021)

IntelliJ IDEA 2021.2.1 Is Available

IntelliJ IDEAReleases

Our first bug-fix release for IntelliJ IDEA 2021.2 is here! It both addresses a variety of issues and adds basic support for Java 17.

Don’t hesitate to get the new version, either from inside the IDE, with the Toolbox App, or by using snaps for Ubuntu. It is also available for download from our website.

Here is a list of the most significant fixes included in IntelliJ IDEA 2021.2.1:

  • Fixed the behavior of the Ctrl+Shift+←/→ shortcuts: they now correctly extend the text selection before or after the caret. [IDEA-267294]
  • Fixed the issues causing the file type setting to be reset when the IDE restarted. [IDEA-274889]
  • Fixed Maven multi-module recognition in WSL 2. [IDEA-265900]
  • Fixed the Run/Debug Configuration issue: when you click the Run button, the IDE runs the configuration selected in the combo box. [IDEA-244454]
  • Fixed several shortcut issues in the IntelliJ IDEA terminal. [IDEA-271542], [IDEA-271777], [IDEA-274574]
  • Fixed the problem causing the IDE to freeze when opening a project from WSL 2. [IDEA-273398]
  • Fixed the problem causing the JPA Buddy plugin to be deleted upon upgrading to the latest version. [IDEA-270342]
  • Fixed Find Action to correctly search for queries typed in English even if you are using a localized version. [IDEA-250323]
  • Fixed the issue causing the title not to change in the Diff window when moving between files. [IDEA-272366]
  • Fixed the layout of the Migrating plugins dialog. [IDEA-241905]
  • Returned the Update Running Application button to the Debug window. [IDEA-274540]
  • Fixed a collection of code analysis issues. [IDEA-273752]
  • Fixed the problem causing the IDE to hang when importing Gradle projects. [IDEA-274022]

For the full list of issues we’ve addressed, take a look at the release notes. If there are any issues that this release doesn’t resolve, please report them to our issue tracker.

Happy developing!

IntelliJ IDEA Quantified 628% ROI Read the Study!
Sours: https://blog.jetbrains.com/idea/2021/08/intellij-idea-2021-2-1/

Similar news:

Angry with his sister, Ruslan decided not to say anything to her, leisurely going to the shaman's house. There was already food and a soft bed waiting for him. Before going to sleep, the shaman's servants brought mugs made of coconut shells, in which there was a foaming liquid. Suspecting something was wrong, Ruslan, just in case, did not drink the potion, but Karina tried it.



10279 10280 10281 10282 10283