IntelliJ IDEA(英語版)2021.1

Space との連携機能、Java 16とWSL 2のサポートが追加されます。
4月 9, 2021
新バージョン

機能

  • Space integration - Integration with Space is now available out of the box. Once you log in, you can view and clone project repositories, review your teammates’ code and write Space Automation scripts.
  • WSL 2 support
    • WSL 2 support for Java projects - You can now work with Java projects located in WSL 2 in IntelliJ IDEA. The IDE can detect JDK installations, install JDKs and compile and run Maven and Gradle projects as well as projects that use the IntelliJ IDEA build system.
  • Collaborative development - Code With Me is now included out of the box, it adds support for video and voice calls.
  • Run Targets - You can now run, test, profile and debug your application in Docker containers or on remote machines.
  • User experience
    • Built-in HTML preview - The new built-in browser preview allows you to preview HTML files quickly. If you make any changes in HTML or if you change the linked CSS and JavaScript files, the preview will update on the fly.
    • Customize external dependencies in the search scope - You can now set External Dependencies to be either included in the scope or excluded from it.
    • Quick access to recent projects on Microsoft Windows - Updated the support for Windows jump lists and made it possible to open your recent projects by right-clicking on the IntelliJ IDEA icon on the taskbar or the Start menu.
    • Improved accessibility - Added more labels to UI elements on the Welcome screen, in the Project Structure view and in the VCS log. These elements, as well as gutter icons, are now read out correctly when a screen reader is enabled.
    • Syncing high-contrast mode in Windows with the IDE theme - Your IDE will now automatically apply the high-contrast theme when you launch the IDE for the first time if you use the high-contrast mode on Windows.
  • Version control
    • Better Pull Requests support - Pull request creation now takes less time: just click the + icon in the Pull Requests view and fill in all the details. If you double-click on any file in the Files tab, the IDE will open the in-editor diff. You will also find support for pull request templates, which contain the description text for your pull requests.
    • Support for Git commit templates - Added support for Git commit templates. If you want to create a custom commit message, you can use a template and fill it in with the information you feel is important. The IDE will then display this text as an initial commit message.
    • Configure a profile for pre-commit inspections - Improved the ability to choose a code inspection profile before committing changes to VCS.
    • Get files from another branch - You can now get a file from another branch in the Compare with branch dialog.
    • Save to Shelf - The new Save to Shelf action allows you to copy your changes to the Shelf while keeping them in the local changes.
  • Editor
    • Font weight options - You can now fine-tune the weight of your main and bold font styles.
    • Maximize tabs in the split view - Whenever several tabs that split the editor vertically are open, you can double-click either of them to maximize the editor window for that specific tab. To bring the window back to its original size, simply double-click it again.
    • JSONPath support - Added support for JSONPath expressions with the Goessner or Jayway syntaxes.
    • JSON Lines support - Added support for the newline-delimited JSON Lines format, which is used for working with structured data and logs. The IDE will recognize .jsonl, .jslines, .ldjson, and .ndjson file types.
    • Profiler - Reworked the profiler UI. The Home window has become more informative and attaching a profiler to the process is now faster. Added two new actions that can be accessed by right-clicking on a running application:
      • Capture Memory Snapshot - For taking *.hprof snapshots of your applications
      • CPU and Memory Live Charts - Which opens a tab with visualization tools for tracking resource consumption.
  • Java
    • Added support for Java 16.
    • New inspections for data flow analysis - IntelliJ IDEA can now warn you when arrays are initialized with a negative size. It can also recognize the Arrays.copyOf() and Collection.toArray() methods. The IDE also supports methods for unboxing or converting integers, such as Integer.longValue and Byte.intValue.
    • Other new and improved inspections:
      • You can now avoid unnecessary casts by narrowing the for-each loop parameter type.
      • You can now simplify code syntax by swapping .filter() and .map() calls if the filter uses the same value as produced by the mapper. Updated the inspection that replaces StringBuffer with StringBuilder to cover more cases.
    • Formatting for chained builder methods - Added new formatting options for chained builder methods help improve their readability.
  • Kotlin
    • Faster highlighting of code problems - IntelliJ IDEA now highlights code problems almost instantly, the code completion mechanism now works quicker and the IDE’s responsiveness to freezes has been improved.
    • Improved code completion - The code completion mechanism in Kotlin now offers functions that require type parameters.
    • Better code coverage - The code coverage runner now fully supports Kotlin in inline functions and coroutines.
    • Refactoring improvements - Reworked the UI for the Change Signature refactoring and added a new checkbox that lets you set the added parameter as the default one.
    • Debugger updates for Kotlin - The IntelliJ IDEA debugger can now evaluate get expressions in Kotlin and display them in the Variables view. Your IDE now also allows you to jump to the source from there.
    • UML class diagrams for Kotlin - UML class diagrams now work for Kotlin code compiled to the JVM and can display both Java and Kotlin classes.
  • Scala
    • Kinds in type diffs - The type diff tooltip now supports kinds.
    • Machine learning completion - Added support for Scala code completion based on machine learning.
    • Phases and units in compilation charts - Compilation charts can now show phases and units, so you can gain even deeper insight into your compilation.
    • IntelliJ Platform plugin template - The sbt-idea plugin now makes it possible to develop IntelliJ Platform plugins using Scala and sbt. Added a built-in Project Wizard template to make the process even easier.
  • Build tools - Added the ability to customize settings when importing Maven projects.
  • Frameworks & Technologies
    • New inspection to replace http:// - Your IDE can now highlight http:// protocol usages and offer to change them to https://. You can add URLs to the list of ignored URLs or disable the inspection for the whole project or parts of it the Preferences/Settings.
    • Improved HTTP Client - The HTTP client has had UI and UX updates in this release. You can collapse the returned HTML, JSON, or XML, as well as copy its body, hide line numbers, choose the display format and quickly scroll to the top and the bottom of the response.
    • SSL support in the HTTP client - It is now possible to configure SSL settings in the HTTP client if you use SSL client authentication for https:// protocols.
    • New project wizards for JVM frameworks - Reworked the wizards for creating Spring, Micronaut, Quarkus and MicroProfile projects. The new UI is neater and the project creation process is more straightforward.
    • Improved JPA support - Added redesigned icons to the gutter for projects that include JPA entities. These icons are clickable and contain a list of the most useful actions for entities and their attributes. This release also improves JPA support for Kotlin and multi-module projects.
    • JPA Console for Jakarta EE 9 - It is now possible to use the JPA console for writing and running JPQL queries in Jakarta EE 9 projects.
    • New color scheme for UML Diagrams - UML Diagrams now come with a new color scheme that makes them look neater and more readable.
    • Swagger Improvements - Swagger now supports specifications with external file references ($ref). The Structure view for specification files now features more nodes, including Security, Callbacks and Examples.
    • Selenium page object generator - Added support for an experimental tool for detecting DOM elements of a web application. Before using it you need to install the Selenium UI Testing plugin. The page object generator supports Java, Kotlin and Groovy and frameworks such as Selenium, FluentLenium, Selenide, Geb, Atlas, and JDI Light. You can also customize the code templates of each framework.
  • Kubernetes
    • Quickly delete resources - It is now possible to delete all the cluster resources in the current context from the editor.
    • Support for Kustomize 3.7.0 components - You can now choose the new Kustomize 3.7.0 components in the Kustomize version drop-down list in the Settings/Preference.
    • Support for kind: List - The IDE now supports kind: List. In each resource from the list, you can rename labels and use code assistance and navigation via the gutter icons. You can also convert a List to a multi-document YAML file and vice-versa.
    • Non-default values for Helm projects - It is now possible to create custom values.yaml files.
  • Docker
    • Improved Run/Debug Configurations - The Run/Debug Configuration dialog is now more concise and adjustable. Added support for all the existing options for Docker Compose. Code completion now works for Dockerfiles Run Options and Image ID or name.
    • BuildKit support - Added experimental support for BuildKit, which speeds up project builds. Improved building named stages separately from the whole multi-stage Dockerfile.
    • UI enhancements in multi-stage Dockerfiles - If you use multi-stage Dockerfiles, you can now fold stages and see a distinct separator line between them.
    • Cancel Docker run - It is now possible to stop your running Dockerfile quickly.
    • Environment variables and macros for Docker mounts - When using bind mounts, you can now enter a path to a directory on the host machine faster. The completion mechanism now allows you to select macros and environmental variables in the Bind mount option in Run/Debug Configurations.
    • Images completion in Dockerfiles - Code completion now works for image names.
  • JavaScript
    • Improved support for Stylelint - Inspecting your CSS code with Stylelint is now easier. Hover over a problem in your file or place the caret on it and press Alt+Enter, then select Stylelint: Fix current file. You can also now specify a path to the configuration file under the corresponding field in Preferences/Settings.
    • Bundled MDN documentation - MDN documentation is now bundled with IntelliJ IDEA which will help prevent connectivity issues with the MDN website and make in-editor documentation in your HTML, CSS, and JavaScript files display more quickly.
    • Selector specificity for style sheets - When working with style sheets, you can now check the specificity of your selectors.
  • Database tools
    • UI for grants - Added a UI for editing grants when modifying objects. The Modify user window now has a UI for adding grants to objects. These updates are available for PostgreSQL, Amazon Redshift, Greenplum, MySQL, MariaDB, DB2, Microsoft SQL Server, and Sybase.
    • Context live templates - Added a solution for generating simple statements straight from the database explorer – live templates. You can add your own templates or edit the existing ones in the SQL node.
    • Straightforward actions - Simplified navigation: Go to declaration (Ctrl/Cmd+B) invoked on an object in SQL now takes you to the DDL, not to the database tree. Also added a shortcut for the Select in database tree action: Alt+Shift+B for Windows/Linux and Opt+Shift+B for Apple macOS.
    • Better sorting - Improved data sorting:
      • A new ORDER BY field works similar to the WHERE field (which was called Filter before): enter a working clause to have it applied to the query of the grid.
      • If you want to use sorting on the client side (which means IntelliJ IDEA will not rerun the query, but will sort the data within the current page instead), uncheck Sort via ORDER BY.
      • The sorting is not ‘stacked’ by default. If you click on the name of a column you want to use to sort data, the sorting based on other columns will be cleared.
    • Easy copy-paste of data sources - You can copy, cut, and paste data sources using the shortcuts: Ctrl/Cmd + C/V/X.
      • When you copy a data source, the XML is copied to the clipboard, which you can then share via a messenger. You can also use the Paste action to paste a piece of XML from somewhere else.
      • If you cut and paste a data source inside one project, it will just be moved, no password required. But the password is required in all other cases.
    • Edit data in MongoDB - Added a crucial feature for working with MongoDB: starting with this version, you can edit data in MongoDB collections. A statement preview is now also available.
      • Added the ability to change the type of a field from the UI. This can be done either from the context menu of the field or in the value editor.
  • Other
    • Android - IntelliJ IDEA now supports all Android Studio 4.1.1 updates.
    • Support for bnd-maven-plugin - You can now import OSGI facet settings from the bnd-maven-plugin.
Space integration

IntelliJ IDEA

Javaのソフトウェア統合開発環境

IntelliJ IDEAは、次の製品にも含まれています。

ご質問がありますか?

今すぐ JetBrains ライセンススペシャリストとライブ チャット