IntelliJ IDEA 2018.1 EAP: Partial Git commits and more
First of all, the upcoming IntelliJ IDEA 2018.1 supports partial Git commits (git add -p). Starting with this latest EAP, the IDE commits only selected changes from the file and skips all other changes.
You can include code chunks into a commit using the checkboxes in the Diff pane of the Commit Changes dialog.
Additionally, the IDE now provides the ability to associate the code chunks, not the whole file, with a changelist, and track them separately. Code chunks can be quickly moved between changelists using the Move to another changelist action which is available from the context menu of the Diff pane in the Commit Changes dialog.
Alternatively, you can add code chunks to a changelist right from the editor – click on a change marker in the gutter. In the pop-up which appears you can choose from the available changelists or create a new one.
We plan to publish a dedicated blog post about the support for the Git partial commit feature as soon as possible. Stay tuned!
With the upcoming IntelliJ IDEA 2018.1 you can choose how to display your local changes by grouping them according to their: directory, module or repository with the new Group by icon, available in the Local Changes tab in the Version Control Tool Window. Previously the IDE only allowed you to group or ungroup your local changes simultaneously by directory and module. Now you can select one of the grouping options or all three at once if needed. Please note that grouping by the repository will only be available when you have 2 or more roots configured in your project.
Postfix code completion enhancements
The upcoming IntelliJ IDEA 2018.1 has had improvements made to the postfix code completion. The IDE now provides the ability to define the custom postfix Java templates at Preferences | Editor | General | Postfix Completion.
You can now create your own Java templates or edit and rename some of the predefined Java templates.
The IDE now also provides the .arg postfix completion that wraps an object with a method call.
In other news, the Kotlin plugin bundled with the IDE has been updated to v1.2.30-eap-60.
For the complete list of changes, please refer to the Release Notes.
We’re very excited about these new features, and we hope that you’ll find these improvements useful. Give this new build a try and share your feedback with us in our discussion forum, issue tracker or twitter.
Subscribe to Blog updates
IntelliJ IDEA 2024.1 EAP 5: Enhanced Support for GitHub Actions, Updates for the HTTP Client, and MoreEarly Access Program
Packed with numerous new features and enhancements, IntelliJ IDEA 2024.1 EAP 5 brings extended support for GitHub Actions, improved integration with popular frameworks such as Spring and Quarkus, updates to the HTTP Client, and much more.
IntelliJ IDEA 2024.1 EAP 4: Sticky Lines, Improved Startup Experience, and MoreEarly Access Program
The Early Access Program for IntelliJ IDEA 2024.1 continues with our latest build where you can preview new features, including convenient sticky lines in the editor, faster access to IDE functionality while indexing, and more. You can download the new version from our website, update directly fr…
IntelliJ IDEA 2024.1 EAP 3: Tool Window Names in the New UI, Language Injections in String Templates, And MoreEarly Access Program
IntelliJ IDEA 2024.1 EAP 3 is now available. This latest update focuses on enhancing your interactions with the IDE’s interface, introduces language injections for Java string templates, and significantly accelerates the startup process for Maven projects. You can download the new version from ou…
Top 10 UI Updates in IntelliJ IDEA for 2023
Hey there, fellow developers! Today, we want to share the most significant UI updates from 2023 that have transformed how IntelliJ IDEA looks and functions. New UI Of course, the highlight of our recent updates was the launch of our new, clean, and modern UI. This was first announced at the en…