Sharing Your Project on GitHub
In this blog, we're going to look at how to share code that we've written on our local machine to a repository on GitHub. https://youtu.be/4ukhZvOmAtk This blog post covers the same material as the video with some additional tips and tricks. This provides an easy way for people to skim the content quickly if they prefer reading to watching, and to give the reader/watcher code samples and links to
Clone a Project from GitHub
In this blog, we're going to look at how to create an IntelliJ IDEA project from existing code in a GitHub repository. https://www.youtube.com/watch?v=aBVOAnygcZw This blog post covers the same material as the video with some additional tips and tricks. This provides an easy way for people to skim the content quickly if they prefer reading to watching, and to give the reader/watcher code samples a
Git Questions – How and When do I Merge or Rebase?
Ever since Gary and I started the Git Questions video series, we've been asked to talk about merging. We're also frequently asked about rebasing - what is it, and when should I do it? In this week's video, we take a look at how to use IntelliJ IDEA to merge a branch back into the "main" development branch. We also talk about rebasing - not only showing how to do it in the IDE, but what it mea
Git Questions: How do I see who made certain changes?
In this week's Git video, Gary and I look at how you can Annotate your code to see who made which changes. We also show how you can use this information to understand a bit more about the context of a particular change.
Git Questions – How to get started with a GitHub project
Git Questions – How to Keep a Git Fork up to Date
Carrying on our series of Git Questions, this week Gary Hockin (PhpStorm Advocate) and I look at the question: how do I make sure my GitHub fork is up to date when the open source project it forked has moved on? GitHub's help does, of course, cover this question. But not everyone is comfortable working from the command line, and even those who are, sometimes prefer to use the IDE if they're alr
Git Questions – How do I switch branches without losing my work?
We regularly get questions about how to achieve a particular thing - as developers there are parts of our workflow which trip us up, that our tools can help us with if we understand how. So we've decided to start answering these real world questions with videos showing what to do. The first video features me, Trisha Gee (Developer Advocate for IntelliJ IDEA) and Gary Hockin (Developer Advocate
Fresh EAP with Refactorings to Java 8, Better VCS and Gradle Integrations
A new IntellIJ IDEA 2016.3 EAP build is out and ready to try. Other than the usual amount of bugfixes, it brings a couple of noticeable improvements. More Refactorings to Java 8 First of all, we continue with tuning the inspections that help refactor regular code into idiomatic Java 8. (more…)
IntelliJ IDEA 2016.3 EAP: Faster Git Log, Parameter Hints and More
Hooray! Fresh IntelliJ IDEA 2016.3 EAP build is out! Among the numerous bugfixes, this build addresses one of the issues that prevented it from being used on macOS Sierra. Users of macOS Sierra, we're kindly asking you to thoroughly test this build and let us know if the problem is gone. Faster Search in Git Log The new build brings a dramatic speed improvement to searching thru Git Logs, pa
How to Support Case-only Rename in Git
As you may know in IntelliJ IDEA 2016.2 EAP we've finally fixed a very annoying issue that didn't allow to commit case-only renames in IntelliJ IDEA. For a number of reasons, the solution was not so trivial, we decided to share some of its implementation details with you. When you are on a case-sensitive file system (Linux), case-only renames are just like any other renames, so you're all good.
IntelliJ IDEA 2016.2 EAP Improves Log for Git and Mercurial
A fresh IntelliJ IDEA 2016.2 EAP build is out and ready to test. Besides usual bugfixes it brings improvements to the Git/Mercurial Log viewer. The Log viewer now loads in the background on every change (a commit, fetch, rebase, etc). As a result, it's always ready when you open it. Also, we've reworked the way we show the loading progress. Now, when refreshing, there's a thin stripe shown u
IntelliJ IDEA 2016.2 EAP: Case-Only Renames in Git, Ligatures, Background Images, and More
Today we've released a fresh IntelliJ IDEA 2016.2 EAP build which, among other improvements, finally fixes a very annoying (and highly voted) issue with case-only renames in Git for Windows and OS X. We hope this will make your work simpler when it comes to committing case-only renames from IntelliJ IDEA. Later this week we'll also share the story behind this issue and how it was fixed, so if you'
IntelliJ IDEA 2016.2 EAP 162.426.1 is Out
A fresh EAP build for IntelliJ IDEA 2016.2 is out and, being a good EAP build that it is, has something new for you to try: General A new inspection that warns you when you instantiate new objects inside equals, hashCode, compareTo or Comparator.compare methods. This helps to avoid significant performance problems when, for example, objects of classes with such constructs are added to Set o
IntelliJ IDEA 16 EAP Improves Debugger and Adds Git Worktree Support
Great news, everyone! A fresh weekly IntelliJ IDEA 16 EAP is out and ready, packed with bugfixes and new features as usual. The noticeable changes affect the debugger, VCS integrations, and user interface. Debugger Now when debugging a Java application, you can use Groovy expressions with Evaluate Expression and Watches. Previously you could do that only when debugging Groovy code. This is g
IntelliJ IDEA 16 EAP Improves Editor and VCS Integration
Every week we publish a fresh IntelliJ IDEA 16 EAP. Today's build, among bugfixes that address issues you reported, brings a few improvements to Git integration and IntelliJ IDEA heart, the code editor. Move elements right and left We already have a way to move code statements up and down: Ctrl + Shift + Up/Down (Cmd + Shift + Up/Down for OS X.) They come in handy when you're rearranging cod
IntelliJ IDEA 15 EAP Improves Debugger and Git Support
To make the upcoming major release feature-rich, we keep adding new features almost every week. Force Early Return in Java Debugger The Java debugger in the new EAP build got a new action called Force Early Return. Now you can force the return from the current method without executing any more instructions from it: If the method returns a value, you'll have to specify it (smart code c
IntelliJ IDEA 14 EAP 138.1503.3 is Out
Today we have just released a fresh IntelliJ IDEA 14 EAP build, as always packed with new features and enhancements. Everything what's new is listed on the download page, but we'd like to highlight several improvements and explain them with a little bit more detail here. First of all, the Reset Current Branch to Here action now available from the Git Log: Then, the Find in Path is imp
Better Line Endings Managing in IntelliJ IDEA 12
It happens quite often, that version control is used by people working on different platforms. This is why problems with line endings may appear. If you ever read the article from GitHub, you might already know, that Git can automatically address these problems. You just need to set git config --global core.autocrlf true on Windows or git config --global core.autocrlf input on Linux and OS X. Ho
Git Branches for Multi-root Projects
Sometimes there is a need to have multiple Git repositories within a single project. Since long ago IntelliJ IDEA is able to execute many Git operations on all roots at once: Commit, Update Project, Push. Now multi-repository support has come to branches. In IntelliJ IDEA 11.1 we have implemented two different approaches for multi-root branches. (more…)
Simpler and more powerful UI for Git branches
Lightweight and fast branches are one of the major features and advantages of Git. We in Jetbrains want to make workflow with branches even more convenient and simple than it is in command line. You might have noticed that in IntelliJ IDEA 11.0 we've added new interface to checkout branches from Git. In IntelliJ IDEA 11.1 we have polished the look and feel, and made it more functional. The main g