I installed Xcode 7.2.1 and it crashes every time I try to type some code, then a box titled "Xcode quite unexpectedly" containing details appears. I uploaded the whole details here:
I also installed and older version of Xcode (7.1.1) to see if the problem is due to the version or not, and found that the older version also keeps crashing every time I write some code.
This is not the case for a specific project, it crashes on both current and new projects.