IntelliJ IDEA 2021.3 EAP 3: Proxy Support for SSH Connections, Split Run Tool Window, and More
IntelliJ IDEA 2021.3 EAP 3 is now available! In it we introduce proxy support for your SSH configurations and data flow analysis for Kotlin. In addition to this, you can try out the updated Show Usages dialog, test the ability to split tabs in the Run tool window, and more.
Read on to learn more about the new features and notable improvements.
Proxy support for SSH connections
Under the new HTTP/SOCKS section, you can select the proxy type, enter a hostname and a port, and, if necessary, apply authentication with a username and password.
It is also possible to sync your SSH proxy settings with the global IDE ones. To do so, select the Use global IDE proxy settings checkbox. If you haven’t previously configured the global settings, you can easily do so by clicking the corresponding link under the checkbox.
Ability to split the Run tool window
We introduced the ability to split the editor horizontally or vertically in v2020.3, and since then we have received a lot of requests to add a similar feature inside the tool windows. IntelliJ IDEA 2021.3 takes a step toward implementing this by allowing you to split the Run tool window. This can be useful when you have several configurations running simultaneously and need to see the results of all these runs. You can split the window by dragging and dropping the tabs to the highlighted area inside the Run tool window. To unsplit the window again, right-click the top pane and select Unsplit from the context menu.
Improved Find Usages
When you search for usages of a method implementation via⌥ F7 on macOS or Alt+F7 on Windows or Linux, the IDE no longer asks whether you want to find usages of the base method in a pop-up. Instead, IntelliJ IDEA will use top-level hierarchy methods as targets for your search by default. If you want to change this behavior, deselect the Search for base method usages checkbox in the settings of the Find Usages tool window.
Reworked Show Usages
We’ve added three useful new features to the top toolbar pane of the Show Usages dialog, which you can invoke by pressing ⌘+left click on macOS or Ctrl+left click on Windows and Linux.
You can enable the source code preview per found usage by clicking the square icon.
It is also possible to change the scope of your search with the new drop-down list located next to the Preview icon. What’s more, the top pane displays all the search options applied in the Find Usage settings.
The window’s title bar now shows the type of code element you are searching for and the number of usages found.
Another minor, yet very useful, update allows you to set the dialog width, which the IDE will retain for the next time you invoke it.
Constant conditions inspection
In response to feedback shared in several issues (KTIJ-17791, KTIJ-15285, KTIJ-8313), we’ve introduced data flow analysis for Kotlin by adding the Constant conditions inspection in Preferences/ Settings | Editor | Inspections | Kotlin | Probable bugs.
With the help of this inspection, IntelliJ IDEA can report non-trivial conditions and values that are statically known to be always true, false, null, or zero. This inspection tracks and warns you about:
- Bugs that should be fixed
- Redundant code
Here is an example of how it works:
Improved intention preview
In v2020.1 it became possible to preview the results of intention actions and quick-fixes before applying them to your code. To invoke this preview, open a list of available intention actions by pressing Alt+Enter, navigate to the necessary action, and press⌥ Space on macOS or Ctrl+Shift+I on Windows or Linux.
Since its introduction, this feature has seen some improvements in this EAP. Here is what we’ve done:
- The preview now works for more intention actions and quick-fixes in Kotlin.
- Previously, when it was impossible to show a preview for an intention action, the IDE displayed a “Preview isn’t available” message. From now on, more informative HTML descriptions of such intention actions will be displayed instead.
- For an action that modifies several files, the preview partially shows a possible outcome. However, this partial outcome is enough to give you a general idea of what the action will change. For example, see how it works for the Convert to varargs method action.
IntelliJ IDEA now also supports version 2020.3.1 of the Android Plugin.
That’s all for today. We hope you’ll like our new features and enhancements and get a lot out of them. If you want to see the complete list of changes, refer to the release notes. And if you encounter any problems when testing out the features, please let us know in our issue tracker. Stay tuned for more updates in our future blog posts!
Subscribe to Blog updates
Thanks, we've got you!
IntelliJ IDEA 2023.3 EAP 2: All-in-One Diff Viewer, Run to Cursor Inlay Option, And MoreEarly Access Program
The second EAP build for IntelliJ IDEA 2023.3 is now available. It introduces enhancements designed to streamline code reviews, simplify the debugging workflow, and accelerate the startup process for both Maven and Gradle projects.
IntelliJ IDEA 2023.3 EAP Is Open!
The IntelliJ IDEA 2023.3 Early Access Program kicks off today! Read this blog post to explore the new features you can test in the first EAP build.
Import Postman Collections to the HTTP Client
We know that many of you use Postman collections and want to stay in the flow while working with them. This means staying inside IntelliJ IDEA and not switching to a different app. Great news! You can now effortlessly transform Postman collections into .http and use them in the HTTP Client …
Java Annotated Monthly – September 2023
The September edition of Java Annotated Monthly is here! With this month’s release of Java 21 approaching, we're excited to bring you a final sneak peek into its crucial features. But that's not all! This edition is packed with helpful articles about cutting-edge AI technologies, including update…