The default light theme is now unified across all the different operating systems and is called “IntelliJ Light”. Learn all the details about this new beautiful typeface from the dedicated resource on our website. IntelliJ IDEA and other IntelliJ-based IDEs are now using the brand new JetBrains Mono font ( Preferences / Settings | Editor | Font) as their default. UI improvements JetBrains Mono font by default You can disable this option in Preferences / Settings | Editor | General. The Navigation Bar ( View | Appearance | Navigation Bar) now displays methods in Java classes and interfaces, making it much easier to navigate between them:Īnd as a minor improvement, Quick Documentation now appears on mouseover by default. The IDE doesn’t have a default keyboard shortcut for this action yet, but you can manually set one up in the Preferences / Settings | Keymap. To do so, put the caret on the desired symbol, then go to View | Quick Type Definition: With v2020.1, not only can you quickly view the definition of a variable, field, method, or any other symbol ( View | Quick Definition), but you can also quickly view its type definition. There’s also a new inspection and a quick-fix that enables you to quickly simplify the verbose instanceof-and-cast idioms with the new and concise pattern variables: In this first EAP build, the IDE already provides full code insight support including inline renaming ( Refactor | Rename or Shift+F6) of pattern variables. IntelliJ IDEA now also supports pattern matching of `instanceof` that will be included in Java 14. Note that support for Records is still a work in progress, and some of the features, such as the code formatter, refactorings, and quick documentation will be added later in future EAP builds. In addition to the code insight features, such as code autocompletion and navigation, the IDE allows you to quickly generate a canonical or custom constructor and it will notify you about any existing errors: With this first EAP, you can create Java Records right from the New Java Class popup ( Cmd+N/Ctrl+N from the Project tool window) just like you would for usual classes and interfaces: This first EAP build allows you to play around with some of the new Java features, such as Records and Pattern Matching. The IntelliJ IDEA 2020.1 EAP adds support for Java 14, which is also still in its Early Access stages and is planned for public release in March 2020. Note that you can now also download and configure Java when you’re setting up a Project Structure ( File | Project Structure) in an existing project, and you can configure the Gradle JDK ( Preferences / Settings | Build, Execution, Deployment | Build Tools | Gradle). If not, the IDE will suggest downloading one: Similarly, when you open an existing project, IntelliJ IDEA automatically checks whether there is already a suitable JDK available on your machine. Once you have configured and created an application, the IDE will automatically download and set up the chosen Java version, allowing you to jump straight into coding without having to switch contexts. With IntelliJ IDEA 2020.1 this will no longer be such a chore, as you can now download, extract, and set up a JDK right from the New Project wizard: Imagine you are starting a new preconfigured project (Spring/Maven/Gradle, etc.) or a plain, simple Java project and you need to add a new JDK.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |