Carefully razor blade the heavy stuff off first then use the above suggested method. The concern with razor baldes (assuming glass tank) is to make sure your do not cut the silicone in the corners. If you don't use the blade first, the vinegar will still get it done, but it becomes pretty tedious with heavy deposits.
Dave