IntelliJ IDEA 2020.1 Beta 2: Code Vision and Run Configurations as Files
IntelliJ IDEA 2020.1 Beta has just been updated. While this build mostly polishes the new features for the upcoming v2020.1, there are a couple of improvements that we haven’t already announced.
We have taken our first steps toward implementing the Code Vision functionality, similar to the one implemented in JetBrains Rider. As of IntelliJ IDEA 2020.1, Code Vision can show you the usages and implementations of Java symbols. To enable the feature, go to Preferences / Settings | Editor | Inlay Hints | Java, choose Code Vision, and check the related Show hints… checkboxes:
You will notice that the IDE now shows you the number of times a symbol is used right above its declaration. For instance, here’s an example of implementations and usages of a Java interface:
As you see in the gif, this usages info is interactive, so you can navigate to the usages by simply choosing and clicking the desired one.
We will be adding more useful context info, such as version control info, and improving discoverability in the next major releases.
Store Run Configurations as files
Previously, IntelliJ IDEA stored your shared run configurations in the `.idea/runConfigurations` folder of your project. This made it harder to share run configurations with your team members through version control if the `.idea` folder was added to `.gitignore`, and hence, it was ignored by Git.
Starting with v2020.1, you can choose any location within your project folder for your run configurations. To do so, open the Run/Debug Configurations dialog, check Store as project file in the upper right part of the dialog, and click on the gear icon. This will open a popup which allows you to choose where to store your run configurations:
Once you do this, the IDE will save your run configuration as a `*.run.xml` file in the specified folder so you can add it to Git and later share it with your colleagues.
Note that if you’ve added the `.idea` folder to `.gitignore`, the IDE will suggest you store your run configurations in the `…/project_folder/.run/` directory by default.
To learn more about all of the latest features announced during our weekly EAPs, check out the posts tagged as IntelliJ IDEA 2020.1 on this blog.
The release notes list all of the closed tickets in this Beta build.
Subscribe to Blog updates
Thanks, we've got you!
IntelliJ IDEA 2023.3 Release Candidate Is Out
IntelliJ IDEA 2023.3 Release Candidate is now available! You can get the latest build from our website, through the free Toolbox App, or via snaps for Ubuntu. To use this build, you need to have an active subscription to IntelliJ IDEA Ultimate. Download IntelliJ IDEA 2023.3 RC As we …
IntelliJ IDEA 2023.3 Beta 3 Is Out!
IntelliJ IDEA 2023.3 Beta 3 is now available for download! You can get the latest build through our website, the free Toolbox App, from inside the IDE, or by using snaps for Ubuntu. Download IntelliJ IDEA Beta 3 This marks the last week before the release candidate is scheduled for delivery…
IntelliJ IDEA 2023.3 Beta 2 Is Out!
IntelliJ IDEA 2023.3 Beta 2 is out and ready for you to download! You can get the latest build from our website or via the free Toolbox App. You can also upgrade to 2023.3 Beta 2 from inside the IDE, or by using snaps for Ubuntu. Download IntelliJ IDEA Beta 2 While the team puts the finishi…